POST api/MedicineRx/AddRxInfo

接收处方信息

请求的信息

URI参数

None.

Body参数

AddRxInfoCondition
名称描述类型其它信息
AppKey

合作方接入认证标识(海王提供对应商户编码)

string

None.

TimeStamp

10位时间戳 格式为long,时区为GMT+8。开放平台允许合作方请求最大时间误差为10分钟

integer

None.

Version

API协议版本,可选值:1.0

string

None.

Sign

签名值

string

None.

OrderNo

Y 海王订单号

string

None.

PdfUrl

Y PDF文件下载地址

string

None.

RxSource

Y 处方来源如:医院处方、社康中心等

string

None.

Name

Y 姓名

string

None.

Sex

Y 性别 0:男 1:女

integer

None.

Age

Y 年龄

integer

None.

IDCard

Y 身份证号码

string

None.

ProductList

Y 商品信息

Collection of ProductList

None.

PatientDisease

N 患者病症

string

None.

Protocol

N 诊断记录

string

None.

AllergicHistory

N 过敏史

string

None.

Hspital

N 医院

string

None.

Departments

N 科室

string

None.

DoctorName

N 医生

string

None.

ExamineStatus

Y 审核状态 1:通过 2:不通过

integer

None.

Reason

N 审核状态不通过原因(不通过必填)

string

None.

请求格式

application/json, text/json

Sample:
{
  "appKey": "sample string 1",
  "timeStamp": 2,
  "version": "sample string 3",
  "sign": "sample string 4",
  "orderNo": "sample string 5",
  "pdfUrl": "sample string 6",
  "rxSource": "sample string 7",
  "name": "sample string 8",
  "sex": 9,
  "age": 10,
  "idCard": "sample string 11",
  "productList": [
    {
      "$id": "2",
      "barCode": "sample string 1",
      "useMethod": "sample string 2",
      "useAmount": "sample string 3"
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ],
  "patientDisease": "sample string 12",
  "protocol": "sample string 13",
  "allergicHistory": "sample string 14",
  "hspital": "sample string 15",
  "departments": "sample string 16",
  "doctorName": "sample string 17",
  "examineStatus": 18,
  "reason": "sample string 19"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

响应信息

资源描述

WebApiJsonResult
名称描述类型其它信息
Code

返回代码 0 标识成功,非 0 失败

string

None.

Msg

返回信息

string

None.

Data

返回数据,json 格式

string

None.

响应格式

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "msg": "sample string 2",
  "data": "sample string 3"
}