接口文档 / 挂号接口

查询患者预约列表

GET/api/v2/open-agency/registration/patient/{patientId}在线调试

响应参数

名称说明类型
Body 参数
data可选

数据

object
total可选

总条数

示例:100

integer
offset可选

查询偏移量

示例:0

integer
limit可选

查询条数

示例:10

integer

响应示例

json
{
  "data": {
    "rows": [
      {
        "id": "string",
        "patientOrderId": "string",
        "departmentId": "string",
        "departmentName": "string",
        "doctorId": "string",
        "doctorName": "张三",
        "reserveDate": "2019-04-04",
        "reserveStart": "10:10",
        "reserveEnd": "10:30",
        "type": 0,
        "status": 10,
        "payStatus": 0,
        "consultingRoomId": "string",
        "consultingRoomName": "string",
        "registrationProducts": [
          {
            "id": "ffffffff000000000000000000000001",
            "name": "针灸"
          }
        ],
        "created": "2022-06-23 18:45:00"
      }
    ],
    "total": 100,
    "offset": 0,
    "limit": 10
  },
  "error": null
}

业务失败包装示意

json
{
  "data": null,
  "error": {
    "code": 11003,
    "message": "不支持的授权类型{grantType}"
  }
}

查看 HTTP 状态与业务码排查

ABC 开放平台 · 诊所管家

如有疑问,请扫码加入企业微信群咨询。

企业微信群二维码
没有匹配结果

诊所管家