POST api/UserImportOrder/CheckParcelReturnPrice
查询包裹退运运费
Request Information
URI Parameters
None.
Body Parameters
ImpOrderCargoReturnModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id_User |
用户ID号 |
integer |
None. |
| id_Branch |
分公司ID |
integer |
None. |
| Branch |
分公司 |
string |
None. |
| CargoSNList |
待退货包裹序列号 |
Collection of integer |
None. |
| CargoNoList |
待退货包裹编号 |
Collection of string |
None. |
| Method |
退运方式,缺省 0: STS联系快递公司退运,客户支付快递成本。1: 客户上门自取, |
integer |
None. |
| ReceiverName |
收件人/上门取货人 |
string |
None. |
| ReceiverPhone |
收件人电话/取件人联系电话 |
string |
None. |
| id_ReceiverProvince |
收件省份ID |
integer |
None. |
| ReceiverProvince |
省 |
string |
None. |
| ReceiverCity |
市 |
string |
None. |
| ReceiverAddress |
地址 |
string |
None. |
| ReceiverPostCode |
邮编 |
string |
None. |
| ReturnReason |
退货原因 |
string |
None. |
| lang |
语言 |
string |
None. |
Request Formats
application/json, text/json
{
"id_User": 1,
"id_Branch": 2,
"Branch": "sample string 3",
"CargoSNList": [],
"CargoNoList": [
"sample string 1",
"sample string 2"
],
"Method": 5,
"ReceiverName": "sample string 6",
"ReceiverPhone": "sample string 7",
"id_ReceiverProvince": 8,
"ReceiverProvince": "sample string 9",
"ReceiverCity": "sample string 10",
"ReceiverAddress": "sample string 11",
"ReceiverPostCode": "sample string 12",
"ReturnReason": "sample string 13",
"lang": "sample string 14"
}
Response Information
Resource Description
ShipmentOrderPricePreviewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalVolume |
Total Volume |
decimal number |
None. |
| TotalWeight |
Total Weight |
decimal number |
None. |
| CargoCnt |
Total Cargo count |
integer |
None. |
| ChargeUnit |
Charge Unit |
string |
None. |
| Currency |
Currency |
string |
None. |
| GST |
GST |
decimal number |
None. |
| SubTotal |
Sub-Total |
decimal number |
None. |
| TotalAmt |
Total Amount |
decimal number |
None. |
| MustFumigation |
Must Fumigation |
boolean |
None. |
| SuggestConsolidation |
Suggest Customer to do parcel consolidation to reduce cost |
boolean |
None. |
| SuggestDeliveryToDoor |
Suggest Customer to choose delivery to door |
boolean |
None. |
| FeeList | Collection of InvoiceDetailModel |
None. |
|
| ErrorCode |
Detailed Error code (Variable definition by specific API) |
integer |
None. |
| ErrDetail |
错误原因 |
ErrorCodeModel |
None. |
| Code |
Return code |
APIReturnResult |
None. |
| Reference |
Optional, typically used for refering Unique ID in batch operation result; |
string |
None. |
| Message |
Returned message. |
string |
None. |
| ReturnResult |
Return result |
Object |
None. |
Response Formats
application/json, text/json
{
"TotalVolume": 1.0,
"TotalWeight": 2.0,
"CargoCnt": 3,
"ChargeUnit": "sample string 4",
"Currency": "sample string 5",
"GST": 6.0,
"SubTotal": 7.0,
"TotalAmt": 13.0,
"MustFumigation": true,
"SuggestConsolidation": true,
"SuggestDeliveryToDoor": true,
"FeeList": [
{
"id": 1,
"id_Invoice": 2,
"OrderRef": "sample string 3",
"id_Cost": 4,
"id_FeeItemDef": 5,
"FeeCode": "COO",
"FeeDesc": "原产地证",
"FeeDescEn": "Certificate of Origin",
"UnitPrice": 9.0,
"Qty": 10.0,
"GST": 11.0,
"SubTotal": 12.0,
"CostAmt": 13.0,
"Currency": "sample string 14",
"Notes": "sample string 15"
},
{
"id": 1,
"id_Invoice": 2,
"OrderRef": "sample string 3",
"id_Cost": 4,
"id_FeeItemDef": 5,
"FeeCode": "COO",
"FeeDesc": "原产地证",
"FeeDescEn": "Certificate of Origin",
"UnitPrice": 9.0,
"Qty": 10.0,
"GST": 11.0,
"SubTotal": 12.0,
"CostAmt": 13.0,
"Currency": "sample string 14",
"Notes": "sample string 15"
}
],
"ErrorCode": 12,
"ErrDetail": {
"Code": 1,
"ErrMsg": "sample string 2",
"ErrMsgEn": "sample string 3"
},
"Code": 0,
"Reference": "sample string 13",
"Message": "sample string 14",
"ReturnResult": {}
}