qweb-client
Version:
qweb client.
146 lines • 3.93 kB
JSON
{
"info": {
"title": "内勤人员(获取/筛选)列表",
"author": "Sophia",
"description": "列出当前机构及以下机构的内勤人员",
"auth": true
},
"constant": {
"PAGE_SIZE": 20
},
"request": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"description": "分页参数:第几页"
},
"account": {
"type": "string",
"pattern": "^(13[0-9]|14[57]|15[012356789]|17[678]|18[0-9])[0-9]{8}$",
"description": "北极星账号(可空)"
},
"name": {
"type": "string",
"pattern": "^.{2,10}$",
"description": "用户名称(可空)"
},
"jobNumber": {
"type": "string",
"pattern": "^.+$",
"description": "用户工号(可空)"
},
"registerTimeFrom": {
"type": "integer",
"description": "注册时间区间左边界时间戳(可空)"
},
"registerTimeTo": {
"type": "integer",
"description": "注册时间区间右边界时间戳(可空)"
}
},
"additionalProperties": false,
"required": [
"pageIndex"
]
},
"response": {
"type": "object",
"properties": {
"resultAmount": {
"type": "integer",
"description": "分页:总记录条数"
},
"pageAmount": {
"type": "integer",
"description": "分页:总页数"
},
"currentPageIndex": {
"type": "integer",
"$description": "分页:当前页数"
},
"list": {
"type": "array",
"description": "数据结果",
"items": {
"type": "object",
"properties": {
"account": {
"type": "string",
"pattern": "^(13[0-9]|14[57]|15[012356789]|17[678]|18[0-9])[0-9]{8}$",
"description": "北极星账号"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9]{32}$",
"description": "内勤人员id"
},
"name": {
"type": "string",
"pattern": "^.{2,10}$",
"description": "人员姓名"
},
"jobNumber": {
"type": "string",
"pattern": "^.+$",
"description": "工号"
},
"registerTime": {
"type": "integer",
"description": "注册时间"
},
"accountStatus": {
"enum": [
1,
2
],
"description": "账号状态"
},
"visibleOrganizationId": {
"type": "string",
"pattern": "^[A-Za-z0-9]{32}$",
"description": "可视网点"
},
"belongingOrganization": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9]{32}$",
"description": "归属机构id"
},
"name": {
"type": "string",
"pattern": "^.{1,20}$",
"description": "归属机构名称"
}
},
"additionProperties": false,
"required": [
"id",
"name"
]
}
},
"additionalProperties": false,
"required": [
"account",
"id",
"name",
"registerTime",
"accountStatus",
"visibleOrganizationId",
"belongingOrganization"
]
}
}
},
"additionalProperties": false,
"required": [
"resultAmount",
"pageAmount",
"currentPageIndex",
"list"
]
}
}