接口文档 / 基础信息接口
获取门店人员科室列表
POST/api/v2/open-agency/clinics/department-employees在线调试 请求参数
| 名称 | 说明 | 类型 |
|---|
| Body 参数 |
|---|
showInWeClinic可选
| | integer |
businessScope可选
| | integer |
▸departmentIds可选 | | array<string> |
▸employeeIds可选 | | array<string> |
▸moduleIds可选 | | array<integer> |
▸roleIds可选 | | array<integer> |
请求示例
json
{
"showInWeClinic": 0,
"businessScope": 0,
"departmentIds": [
"string"
],
"employeeIds": [
"string"
],
"moduleIds": [
0
],
"roleIds": [
0
]
}
响应参数
| 名称 | 说明 | 类型 |
|---|
| Body 参数 |
|---|
▾data可选 | | object |
▸employeeList可选 | | array<object> |
▸error可选可为空 | | object |
响应示例
json
{
"data": {
"employeeList": [
{
"departmentList": [
{
"id": "ffffffff0000000006dddfe002e22000",
"name": "儿保科室",
"type": 1,
"isClinical": 1,
"mainMedicalName": "儿科",
"mainMedicalCode": 50,
"secondMedicalName": "小儿呼吸",
"secondMedicalCode": 5001,
"customId": 5001
}
],
"id": "ffffffff0000000017ea20500df64000",
"position": "string",
"headImgUrl": "string",
"name": "张三",
"mobile": 13888888888,
"sex": "男",
"birthday": "1987-04-12",
"role": "医生",
"certNo": "string",
"nationalDoctorCode": "string",
"practiceCertCode": "string",
"introduction": "毕业于陆军军医大学临床医学七年制",
"practiceInfos": [
{
"type": "04|护理人员",
"title": "13|主管护师"
}
],
"practiceImgUrl": "https://cd-cis-static-assets-dev.oss-cn-chengdu.aliyuncs.com/clinic-usage/fff730ccc5ee45d783d82a85b8a0e52d/license/dog_v2vHea4SK8gb.jpeg",
"goodAt": "擅长中医内科",
"roles": [
1,
2,
3
],
"doctorTags": "省级名中医、市级名中医"
}
]
},
"error": null
}
业务失败包装示意
json
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}
查看 HTTP 状态与业务码排查