药材同步查询

请求

地址

由对接方提供

方法

POST

请求体参数

参数 描述 必填 备注
data AES加密的机构编码参数 -

AES加密前原始JSON:

参数 类型 描述 必填 备注
hosCode string 机构编码 -
mediType string 药材类型编码 -
timestamp number 时间戳 -

响应

请先使用AES加密后返回;原文格式如下:

参数 类型 描述
success boolean 是否成功
msg string 返回消息
data Array 数据
data.hosCode string 机构编码
data.deptCode string 科室编码
data.mediName string 药材名称
data.mediCode string 药材编码
data.pinyin string 汉语拼音
data.specification string 规格
data.unit string 单位
data.origin string 产地
data.typeName string 类型名称
data.price number 单价
data.store number 库存量
data.state number 状态。0:停用;1:启用

示例

{
  "success": true,
  "msg": "成功",
  "data": [
    {
      hosCode: "hc001",
      deptCode: "dc001",
      mediName: "黄柏",
      mediCode: "10073",
      pinyin: "HB",
      specification: "6g/包",
      unit: "g",
      origin: "亳州",
      typeName: "中草药",
      price: 100,
      store: 500,
      state: 1
    },
    {
      hosCode: "hc001",
      deptCode: "dc001",
      mediName: "茅根",
      mediCode: "10072",
      pinyin: "MG",
      specification: "10g/袋",
      unit: "g",
      origin: "亳州",
      typeName: "中草药",
      price: 52,
      store: 300,
      state: 0
    }
  ]
}
©2024 合肥云诊信息科技有限公司 all right reserved,powered by Gitbook修订时间: 2024-11

results matching ""

    No results matching ""