跳到主要内容

获取帐户信息

服务地址

http://api-az-cn.danghongyun.com/rest

请求方法

GET

请求参数

参数说明类型是否必须
accessKey访问API用的accessKeyString必选
actionAPI名称,此接口为 "getUser"String必选
versionAPI版本,目前必须为2.0String必选
timestampAPI调用时间戳,1970年1月1日以来的毫秒数,如1466488681033String必选
signature签名,请参考签名规则String必选

响应示例

{
"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
}

响应字段说明

字段说明
abbreviation用户简称
account账号
activateStatus激活状态,0: 未激活,1: 已激活
cellphone手机号码
company公司
contact联系人名称
domainPrefix用户域名前缀
generateTime注册时间
id用户ID
lastLoginIp上一次登录的IP
lastLoginTime上一次登录的时间戳

响应错误码

错误码说明
0success
10000exception
10201api_not_exists