POST api/SuzYjO2O/PutOrder
苏州药监O2O推送订单
请求的信息
URI参数
None.
Body参数
SuzYjO2OPutOrderInfo| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| params |
JSON格式字符串 |
SuzYjO2OPutOrderDetails |
None. |
| clientId |
分配给连锁药店的唯一标识 |
string |
None. |
| orderType |
消息类型 10:处方发送 20:订单完成 30:订单状态 40:异常信息 |
string |
None. |
| nonce |
唯一的标识 |
string |
None. |
| sign |
签名 |
string |
None. |
| createTimestamp |
发送请求的时间 时间戳毫秒级 |
string |
None. |
| pharmacyCode |
连锁药房门店编码 |
string |
None. |
| versionFlag |
调用的接口版本,固定为:1.0 |
string |
None. |
请求格式
application/json, text/json
Sample:
{
"params": {
"$id": "2",
"onlineOrderId": "sample string 1",
"createTime": "sample string 2",
"orderSource": "sample string 3",
"pickMethod": "sample string 4",
"pharmacyCode": "sample string 5",
"status": "sample string 6",
"customerName": "sample string 7",
"phoneNumber": "sample string 8",
"address": "sample string 9",
"memberPhone": "sample string 10",
"drugDetailsList": [
{
"$id": "3",
"amount": 1.0,
"drugCode": "sample string 2",
"priceToPay": 3.0,
"unitPrice": 4.0
},
{
"$ref": "3"
},
{
"$ref": "3"
}
],
"prescriptions": {
"$id": "4",
"prescrNo": "sample string 1",
"prescrStatus": "sample string 2",
"id": "sample string 3",
"name": "sample string 4",
"gender": "0"
},
"payInfo": [
{
"$id": "5",
"payCode": "sample string 1",
"payments": 2.0,
"status": "sample string 3",
"medicalInsuranceTradeNo": "sample string 4"
},
{
"$ref": "5"
},
{
"$ref": "5"
}
]
},
"clientId": "sample string 1",
"orderType": "sample string 2",
"nonce": "sample string 3",
"sign": "sample string 4",
"createTimestamp": "sample string 5",
"pharmacyCode": "sample string 6",
"versionFlag": "sample string 7"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
CustomJsonResultOfSuzYiO2OBaseModel| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| Content | SuzYiO2OBaseModel |
None. |
响应格式
application/json, text/json
Sample:
{
"content": {
"$id": "2",
"message": "sample string 1",
"code": "sample string 2",
"customStatus": 10,
"customMessage": "sample string 3"
}
}