POST api/SuzYjO2O/PutStatus
苏州药监O2O推送状态
请求的信息
URI参数
None.
Body参数
SuzYjO2OPutStatusInfo| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| params |
JSON格式字符串 |
SuzYjO2OPutStatusDetail |
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",
"orderId": "sample string 2",
"pharmacyCode": "sample string 3",
"orderStatus": "sample string 4",
"payInfo": [
{
"$id": "3",
"payCode": "sample string 1",
"payments": 2.0,
"status": "sample string 3",
"medicalInsuranceTradeNo": "sample string 4"
},
{
"$ref": "3"
},
{
"$ref": "3"
}
]
},
"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"
}
}