for example: http://api.shinemonitor.com/public/?sign=45a0317337cad1b975b7cc8e6ae35401daa5c356&salt=6799118618252297881&token=5b13e18eaa179d4bdce4cf2cc0e66eaa506c7f27ccac6b9e7beaa190ec0e386f&action=queryAccountInfo&uid=1&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1
| Parameter |
Description |
Required |
| action |
queryAccountInfo |
True |
| uid |
User ID refers to the ID of a sub account under the current account. If this parameter is not passed, it means querying the information of the current login account |
False |
响应:
| Paramter |
Description |
Required |
| uid |
User id |
True |
| usr |
User name |
True |
| role |
User type |
True |
| mobile |
Phone number |
False |
| email |
Email |
False |
| qname |
Nickname |
False |
| photo |
Avatar |
False |
| cname |
Company name |
False |
| caddr |
Company address |
False |
| ctel |
Company phone |
False |
| qq |
QQ |
False |
| wx |
WeChat |
False |
| bomb |
Is the WeChat binding account pop-up o, false? Pop up: No pop up |
True |
| enable |
Account status, true? Normal: Frozen |
True |
| gts |
Account registration time, format: yyyy mm dd hh: mi: ss, zero zone |
True |
| desc |
Describe |
False |
| vendor |
Only valid when account type is device manufacturer |
False |
| dist |
Only valid if account type is dealer |
False |
| lastAtuhTs |
Last login time, format: yyyy-mm-dd hh:mi:ss, zero zone |
False |
| lastAtuhAddr |
Last logged in IP address, such as "192.168.1.8" |
False |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"uid":1,
"usr":"张三",
"role":0,
"mobile":"15889000000",
"email":"a@a.com",
"qname":"zhangshan",
"enable":true,
"gts":"2017-06-26 00:00:00"
}
Possible errors:
| Response error code |
Description |
Details |
| 0x0006 |
ERR_FORMAT_ERROR |
Parameter error |
| 0x000B |
ERR_NO_PERMISSION |
No permission (perhaps the current account does not have permission to view the account) |
| 0x0105 |
ERR_NOT_FOUND_USR |
Unable to find user |