跳到主要内容

ot.orgs.users.{username}

获取单个用户包含组织的信息

  • 请求路由: ot.orgs.users.{username}
  • 交互模型: Request Response

获取单个用户包含组织的信息

请求​

RSocket.rr({
route: 'ot.orgs.users.liugenghong@mzd',
})

请求参数​

属性类型默认值必须说明
usernamestring是用户唯一标识

返回​

{
"crDate": "2022-04-25T01:42:09.469Z",
"tenantId": "mzd",
"username": "liugenghong@mzd",
"accountId": "liugenghong",
"domain": "mzd",
"fullname": "刘畊宏",
"mobile": "13333333333",
"email": "liugenghong@mail.com",
"status": 1,
"userTypes": [
100
],
"extra": {},
"associatedAccounts": [],
"orgs": [
{
"crBy": "admin@mzd",
"upBy": "admin@mzd",
"crDate": "2022-04-25T01:31:17.691Z",
"upDate": "2022-04-25T01:31:17.691Z",
"tenantId": "mzd",
"id": "6265f9e5b297ed05f6b3d5e0",
"orgName": "大连公司",
"parentId": "0",
"delete": false,
"fullId": "6265f9e5b297ed05f6b3d5e0"
},
{
"crBy": "admin@mzd",
"upBy": "admin@mzd",
"crDate": "2022-04-25T01:32:03.317Z",
"upDate": "2022-04-25T01:32:03.317Z",
"tenantId": "mzd",
"id": "6265fa13b297ed05f6b3d5e2",
"orgName": "南京公司",
"parentId": "0",
"delete": false,
"fullId": "6265fa13b297ed05f6b3d5e2"
}
]
}

返回属性​

属性类型说明
UserObject用户模型
属性类型说明
idstring唯一id
orgNamestring组织名
parentIdstring父id
deleteboolean逻辑删除
fullIdstring层级关系
crByString创建人
upByString修改人
crDatedatetime创建时间
upDatedatetime更新时间
tenantIdString租户id