POST api/TencentChufang/pushOrder
推送订单
请求的信息
URI参数
None.
Body参数
pushOrderCondition| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| orderId |
订单号 |
string |
None. |
| buyDrugCode |
购药码 |
string |
None. |
| outTradeNo |
支付流水号 |
string |
None. |
| totalFee |
支付总金额(含运费) |
string |
None. |
| insuranceFee |
医保费用 |
string |
None. |
| cashFee |
自费支付金额 |
string |
None. |
| deliverFee |
支付运费 |
string |
None. |
| payType |
支付类型 1微信支付 2微信医保支付 |
string |
None. |
| drugStoreId |
药店id |
string |
None. |
| drugStoreName |
药店名称 Y |
string |
None. |
| orderType |
订单类型 1 到店自取 2极速配送 3普通配送 |
string |
None. |
| provinceName |
收货人省份 |
string |
None. |
| cityName |
收货人市区 |
string |
None. |
| countryName |
收货人区县 |
string |
None. |
| detailAddress |
收货人详细地址 |
string |
None. |
| receiverName |
收货人姓名 |
string |
None. |
| receiverPhone |
收货人电话 |
string |
None. |
| expectReceiverDay |
期望到货日期 Y |
string |
None. |
| expectReceiverHours |
期望收货时段 Y |
string |
None. |
| receiverDesc |
收货备注 Y |
string |
None. |
| drugInfo |
商品列表 |
Collection of drugInfo |
None. |
| receiverLat |
收货地址纬度 |
string |
None. |
| receiverLon |
收货地址经度 |
string |
None. |
| receiverTel |
取货人手机号 |
string |
None. |
请求格式
application/json, text/json
Sample:
{
"orderId": "sample string 1",
"buyDrugCode": "sample string 2",
"outTradeNo": "sample string 3",
"totalFee": "sample string 4",
"insuranceFee": "sample string 5",
"cashFee": "sample string 6",
"deliverFee": "sample string 7",
"payType": "sample string 8",
"drugStoreId": "sample string 9",
"drugStoreName": "sample string 10",
"orderType": "sample string 11",
"provinceName": "sample string 12",
"cityName": "sample string 13",
"countryName": "sample string 14",
"detailAddress": "sample string 15",
"receiverName": "sample string 16",
"receiverPhone": "sample string 17",
"expectReceiverDay": "sample string 18",
"expectReceiverHours": "sample string 19",
"receiverDesc": "sample string 20",
"drugInfo": [
{
"$id": "2",
"drugCommonName": "sample string 1",
"drugInnerCode": "sample string 2",
"drugName": "sample string 3",
"manufacturer": "sample string 4",
"drugPrice": "sample string 5",
"drugType": "sample string 6",
"drugCnt": "sample string 7",
"drugUnit": "sample string 8"
},
{
"$ref": "2"
},
{
"$ref": "2"
}
],
"receiverLat": "sample string 21",
"receiverLon": "sample string 22",
"receiverTel": "sample string 23"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
CustomJsonResultOfpushOrderResult| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| Content | pushOrderResult |
None. |
响应格式
application/json, text/json
Sample:
{
"content": {
"$id": "2",
"code": 1,
"message": "sample string 2"
}
}