JSON格式(客户角色调用)
Name | Type | Comment |
---|
id | integer | 用户id,由系统自动分配 |
url | string | 资源url |
email | string | 用户邮箱 |
name | string | 用户昵称 |
role | string | 用户角色,可选值:end_user,agent,admin |
phone | string | 用户手机 |
phone_bind | boolean | 手机是否绑定 |
organization_id | integer | 用户所属组织id |
language | string | 用户的偏好语言 |
created_at | date | 创建时间 |
updated_at | date | 最后更新时间 |
last_login_at | date | 最近登录时间 |
status | string | 用户状态,可选值:suspended暂停,active正常,unverified未审核 |
JSON 示例(客户调用)
{
"id": 168,
"url": "https://support.kf5.com/apiv2/users/168.json",
"email": "myemail@kf5.com",
"name": "myname",
"role": "end_user",
"phone": "",
"phone_bind": false,
"organization_id": 186,
"language": "zh_cn",
"created_at": "2012-05-08 11:26:29",
"updated_at": "2015-01-04 16:15:42",
"last_login_at": "2015-01-09 16:20:29",
"status": "active"
"photo": "https://support.kf5.com/upload/4/201306/1371800160_490.gif",}