接口文档 / 统计接口

收费明细-分类

GET/api/v2/open-agency/stat/revenue/detail/classify在线调试

响应参数

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

数据

object
total可选

总条数

示例:100

integer
offset可选

查询偏移量

示例:0

integer
limit可选

查询条数

示例:10

integer

响应示例

json
{
  "data": {
    "rows": [
      {
        "clinicName": "大源店",
        "feeType": "string",
        "clinicId": "ffffffff00000000264a75300d752999",
        "departmentName": "内科",
        "departmentId": "ffffffff00000000264a75300d752999",
        "employeeName": "张三",
        "employeeId": "ffffffff00000000264a75300d752999",
        "chargeName": "李四",
        "chargeId": "ffffffff00000000264a75300d752999",
        "totalPrice": 20,
        "adjustmentPrice": 0,
        "discountPrice": -9,
        "deductPrice": 0,
        "memberPrincipal": 0,
        "memberPresent": 0,
        "amount": 11,
        "created": "2022-04-28 15:41:27",
        "sourceType": "门诊",
        "action": "收费",
        "patientId": "ffffffff0000000034d22e0ce272c000",
        "patientName": "张三",
        "no": 100,
        "payMode": "支付宝",
        "payModeId": 1,
        "paySubModeId": 0,
        "comment": "-",
        "memberPatientId": "fffffffff00000000349018418ff74000",
        "memberPatientName": "张三",
        "memberPatientMobile": 18012312312
      }
    ],
    "total": 100,
    "offset": 0,
    "limit": 10
  },
  "error": null
}

业务失败包装示意

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

查看 HTTP 状态与业务码排查

ABC 开放平台 · 诊所管家

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

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

诊所管家