GetUserDetail【获取用户信息】¶
获取用户信息
Request Parameters
Parameter name | Type | Description | Required |
---|---|---|---|
action | String | API 标识符 | Yes |
Response Elements
Name | Type | Description |
---|---|---|
message | String | 执行结果信息 |
code | Integer | HTTP Resonpe响应状态码 |
data | Dict | 租户账号信息,每项参数可见下面 Data Item |
Data Item
Name | Type | Description |
---|---|---|
name | String | 用户真实姓名 |
company | String | 用户公司名称 |
phone | String | 用户电话号码 |
job | String | 用户工作职位名称 |
phone_verified | String | 用户电话号码验证是否通过,有效值true,false true:验证成功
false:验证失败
|
company_addr | String | 用户公司地址 |
Example
Example Request:
Request Headers:
POST /api/ HTTP/1.1
Origin: https://console.plcloud.com
X-CSRFToken: 6An6xEuOJqW6dVDtlgzZr6FqgkSbJmqp
Content-Type: application/x-www-form-urlencoded
Form Data:
action: GetUserDetail
Example Response:
{
"message": "获取用户详细信息。",
"code": 200,
"data": {
"name": null,
"company": null,
"phone": "18126227565",
"job": null,
"phone_verified": true,
"company_addr": null
}
}