JSON格式(客户角色调用)

NameTypeComment
idinteger用户id,由系统自动分配
urlstring资源url
emailstring用户邮箱
namestring用户昵称
rolestring用户角色,可选值:end_user,agent,admin
phonestring用户手机
phone_bindboolean手机是否绑定
organization_idinteger用户所属组织id
languagestring用户的偏好语言
created_atdate创建时间
updated_atdate最后更新时间
last_login_atdate最近登录时间
statusstring用户状态,可选值: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",}