Get Account Info
Service Address
http://api-az-cn.danghongyun.com/rest
Request Method
GET
Request Parameters
| Parameter | Description | Type | Required |
|---|---|---|---|
| accessKey | The user access key | String | Required |
| action | API name, this api is "getUser" | String | Required |
| version | API version, currently must be 2.0 | String | Required |
| timestamp | Invoke time in milliseconds since january 1 1970, eg: 1466488681033 | String | Required |
| signature | Signature generated by signature rule. | String | Required |
Response Example
{
"code":0,
"message":"success",
"result":
{
"generateTime":1437642721763,
"lastLoginIp":"xxx.xxx.xxx.xxx",
"contact":"someone",
"cellphone":"xxxxxxxxxxx",
"company":"arcvideo",
"id":191,
"activateStatus":1,
"abbreviation":"pw",
"lastLoginTime":1511748008624,
"domainPrefix":"p2191m9e",
"account":"someone@example.com"
},
"success":true
}
Response Fields
| Field | Description |
|---|---|
| account | Account |
| abbreviation | User abbreviation |
| activateStatus | Activation status, 0 not activated, 1 activated |
| cellphone | Cellphone |
| company | Company name |
| contact | Contact name |
| domainPrefix | User domain prefix |
| generateTime | Time of registration |
| id | User id |
| lastLoginIp | Ip address of the last login |
| lastLoginTime | The timestamp of the last login |
Error Codes
| Code | Message |
|---|---|
| 0 | success |
| 10000 | Exception |
| 10201 | api_not_exists |