Appearance
部门
搜索部门
GET /org/search权限
- 需要认证
请求参数
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| name | query | string | false | 部门名称 |
响应
json
{
"data": [
{
"id": "3",
"name": "1234",
"parentId": "1",
"childrenNum": "1",
"depth": "2",
"seq": "0",
"description": null,
"code": "JXEQ",
"orgCode": "1.3.",
"createdUserId": "2",
"createdTime": "1644914071",
"updateTime": "1644914144",
"syncId": "0",
"fullName": "1234"
},
{
"id": "2",
"name": "123",
"parentId": "1",
"childrenNum": "0",
"depth": "2",
"seq": "1",
"description": null,
"code": "YJY",
"orgCode": "1.2.",
"createdUserId": "2",
"createdTime": "1644914071",
"updateTime": "1644914144",
"syncId": "0",
"fullName": "123"
},
{
"id": "4",
"name": "1234",
"parentId": "3",
"childrenNum": "0",
"depth": "3",
"seq": "0",
"description": null,
"code": "PMHL",
"orgCode": "1.3.4.",
"createdUserId": "2",
"createdTime": "1644919061",
"updateTime": "1644919061",
"syncId": "0",
"fullName": "1234-1234"
},
{
"id": "6",
"name": "111111",
"parentId": "5",
"childrenNum": "0",
"depth": "3",
"seq": "0",
"description": null,
"code": "BTSMKB",
"orgCode": "1.5.6.",
"createdUserId": "2",
"createdTime": "1645003086",
"updateTime": "1645003086",
"syncId": "0",
"fullName": "55555-111111"
}
],
"paging": {
"total": 4,
"offset": 0,
"limit": 10
}
}字段说明
| 名称 | 类型 | 必选 | 约束 | 说明 |
|---|---|---|---|---|
| » id | integer(int64) | false | none | none |
| » name | string | false | none | 名称 |
| » fullName | string | false | none | 包含上级部门名称(除顶级) |