such as, request: http://api.dessmonitor.com/public/?sign=45a0317337cad1b975b7cc8e6ae35401daa5c356&salt=6799118618252297881&token=5b13e18eaa179d4bdce4cf2cc0e66eaa506c7f27ccac6b9e7beaa190ec0e386f&action=queryAccountInfo&uid=1&source=1&_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 you do not pass this parameter, indicates that the information of the currently logged in account is queried |
false |
response:
| parameter |
description |
required |
| uid |
User id |
true |
| usr |
User name |
true |
| role |
User type |
true |
| mobile |
Mobile phone |
false |
| email |
Email |
false |
| qname |
Nickname |
false |
| photo |
Headshot |
false |
| cname |
Company name |
false |
| caddr |
Company address |
false |
| ctel |
Company phone |
false |
| qq |
QQ |
false |
| wx |
Wechat |
false |
| bomb |
Whether the WeChat bound account pops up frame,false ? Pop-up frame : No pop-ups |
true |
| enable |
Account status, true ? normal : freeze |
true |
| gts |
Account registration time, format: yyyy-mm-dd hh:mi:ss, Zero time zone |
true |
| desc |
description |
false |
| vendor |
Valid only if the account type is Device Manufacturer |
false |
| dist |
Valid only if the account type is Reseller |
false |
| lastAtuhTs |
The last logon time, format: yyyy-mm-dd hh:mi:ss, Zero time zone |
false |
| lastAtuhAddr |
The IP address of the most recent login, such as: "192.168.1.8" |
false |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"uid":1,
"usr":"ZhangSan",
"role":0,
"mobile":"15889000000",
"email":"a@a.com",
"qname":"zhangshan",
"enable":true,
"gts":"2017-06-26 00:00:00"
}
Possible errors:
| Returns an error code |
description |
detailed description |
| 0x0006 |
ERR_FORMAT_ERROR |
parameter error |
| 0x000B |
ERR_NO_PERMISSION |
No permission (the current account may not have permission to view the account) |
| 0x0105 |
ERR_NOT_FOUND_USR |
User not found |