GET api/devicereg/user/info/{id}
Lifetrons user basic info by device id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Lifetrons user device |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, returns Lifetrons user basic info. On failure, return empty Lifetrons user basic info.
DeviceUserRespName | Description | Type | Additional information |
---|---|---|---|
info |
user info |
ShortUserInfo |
None. |
resp_code |
Lifetrons response code |
string |
None. |
resp_msg |
Lifetrons response message |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "info": { "user_name": "sample string 1", "email": "sample string 2", "country_code": "sample string 3", "mobile_number": "sample string 4", "external_service_provider": "sample string 5", "external_provider_id": "sample string 6" }, "resp_code": "sample string 1", "resp_msg": "sample string 2" }
application/xml, text/xml
Sample:
<DeviceUserResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Domain.ResponseAgg.v5"> <resp_code xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models">sample string 1</resp_code> <resp_msg xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models">sample string 2</resp_msg> <info xmlns:d2p1="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Domain.UserAgg"> <d2p1:country_code>sample string 3</d2p1:country_code> <d2p1:email>sample string 2</d2p1:email> <d2p1:external_provider_id>sample string 6</d2p1:external_provider_id> <d2p1:external_service_provider>sample string 5</d2p1:external_service_provider> <d2p1:mobile_number>sample string 4</d2p1:mobile_number> <d2p1:user_name>sample string 1</d2p1:user_name> </info> </DeviceUserResp>