接口文档 / 基础信息接口
获取科室详情
响应参数
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
data可选 | object | |
employees可选 | array<object> | |
id可选 | string | |
principal可选 | string | |
name可选 | string | |
phone可选 | string | |
created可选 | string | |
type可选 | integer | |
isClinical可选 | integer | |
mainMedicalName可选 | string | |
mainMedicalCode可选 | string | |
secondMedicalName可选 | string | |
secondMedicalCode可选 | string | |
customId可选 | string | |
error可选可为空 | object | |
响应示例
{
"data": {
"employees": [
{
"employeeId": "10a861eb5b4d43b59721301073112029",
"name": "张三",
"mobile": 18088888888
}
],
"id": "ffffffff0000000006dddfe002e22000",
"principal": "张三",
"name": "儿保科室",
"phone": 18088888888,
"created": "2019-04-11 10:48:07",
"type": 1,
"isClinical": 1,
"mainMedicalName": "儿科",
"mainMedicalCode": 50,
"secondMedicalName": "小儿呼吸",
"secondMedicalCode": 5001,
"customId": 5001
},
"error": null
}业务失败包装示意
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}