接口文档 / 基础信息接口
获取人员详情
GET/api/v2/open-agency/clinics/employees/{employeeId}在线调试 请求参数
| 名称 | 说明 | 类型 |
|---|
| Path 参数 |
|---|
employeeId必填
| | string |
请求示例
http
GET /api/v2/open-agency/clinics/employees/07b47b860f9649febc9d907e2ec6f23f
响应参数
| 名称 | 说明 | 类型 |
|---|
| Body 参数 |
|---|
▾data可选 | | object |
id可选
| | string |
position可选
| | string |
headImgUrl可选
| | string |
name可选
| | string |
mobile可选
| | string |
sex可选
| | string |
birthday可选
| | string |
role可选
| | string |
certNo可选
| | string |
nationalDoctorCode可选
| | string |
practiceCertCode可选
| | string |
introduction可选
| | string |
▸practiceInfos可选 | | array<object> |
practiceImgUrl可选
| | string |
goodAt可选
| | string |
▸roles可选 | | array<integer> |
▸doctorTags可选 | | array<string> |
▸error可选可为空 | | object |
响应示例
json
{
"data": {
"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://example.com/license/practice-demo.jpg",
"goodAt": "擅长中医内科",
"roles": [
1,
2,
3
],
"doctorTags": "省级名中医、市级名中医"
},
"error": null
}
业务失败包装示意
json
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}
查看 HTTP 状态与业务码排查