POST api/UserImportOrder/CheckFreightPrice
查询运费
Request Information
URI Parameters
None.
Body Parameters
ImpShipmentOrderQuoteReqModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id_User |
用户号 |
integer |
None. |
| OrderId |
运单号 |
string |
None. |
| OriginPort |
出发港 Port (必填 通过 api/ImportShipment/GetShipmentPorts?PType={PType} 获取) |
string |
None. |
| DestPort |
目的港 Port (必填 通过 api/ImportShipment/GetShipmentPorts?PType={PType} 获取) |
string |
None. |
| ReceiverCountry |
Receiver country |
string |
None. |
| ReceiverProvince |
Receiver province |
string |
None. |
| ReceiverCity |
Receiver city |
string |
None. |
| ReceiverAddress |
Receiver address |
string |
None. |
| ReceiverPostCode |
Receiver Post code |
string |
None. |
| id_ShipmentType |
运输类别ID (必填 通过 api/ImportShipment/GetShipmentTypes 获取清单) |
integer |
None. |
| Hazardous |
true: 含有电池/油漆/液体 等危险品; false: 不含危险品 (必填) |
boolean |
None. |
| Personal |
true: 个人ID报关; false: 公司ASIC证件报关 (必填) |
boolean |
None. |
| Fumigation |
true: 含实木材质,需要熏蒸; false: 不含实木,不需要熏蒸 (必填) |
boolean |
None. |
| Bamboo |
true: 含竹制品,需要熏蒸; false: 不含实木,不需要熏蒸 (必填) |
boolean |
None. |
| ExpTaxReturn |
true: 需要向中国海关申报出口退税; false: 不需要退税 |
integer |
None. |
| GoodsValueOver1000 |
货值是否超过1000 AUD |
boolean |
None. |
| COO |
原产地证明(COO), 0:不提供COO; 1:用户提供COO; 2:STS提供COO(收费) |
integer |
None. |
| TotalCnt |
总包裹件数 |
integer |
None. |
| TotalVolume |
总体积 M³ |
decimal number |
None. |
| TotalWeight |
总重量 KG |
decimal number |
None. |
| CargoSNs |
包裹SN 清单 |
string |
None. |
| ParcelList |
无实际包裹,仅做询价时包裹列表信息 |
Collection of ShipmentCargoItemModelBase |
None. |
| PackingList |
装箱清单 |
OrderPackingListModel |
None. |
| id_DeliveryOption |
配送方式: 1.仓库自提, 2.送货上门 |
integer |
None. |
| id_PickupLocation |
自提点 |
integer |
None. |
| lang |
语言 |
string |
None. |
Request Formats
application/json, text/json
{
"id_User": 1,
"OrderId": "sample string 2",
"OriginPort": "sample string 3",
"DestPort": "sample string 4",
"ReceiverCountry": "sample string 5",
"ReceiverProvince": "sample string 6",
"ReceiverCity": "sample string 7",
"ReceiverAddress": "sample string 8",
"ReceiverPostCode": "sample string 9",
"id_ShipmentType": 10,
"Hazardous": true,
"Personal": true,
"Fumigation": true,
"Bamboo": true,
"ExpTaxReturn": 15,
"GoodsValueOver1000": true,
"COO": 17,
"TotalCnt": 18,
"TotalVolume": 19.0,
"TotalWeight": 20.0,
"CargoSNs": "sample string 21",
"ParcelList": [
{
"CargoType": "sample string 1",
"CargoType2": "sample string 2",
"CargoContent": "sample string 3",
"CargoContentEn": "sample string 4",
"Currency": "sample string 5",
"UnitPrice": 6.0,
"Cnt": 7,
"Notes": "sample string 8",
"SysNotes": "sample string 9",
"Length": 10.0,
"Width": 11.0,
"Height": 12.0,
"MaxDim": 12.0,
"Volume": 14.0,
"Weight": 15.0
},
{
"CargoType": "sample string 1",
"CargoType2": "sample string 2",
"CargoContent": "sample string 3",
"CargoContentEn": "sample string 4",
"Currency": "sample string 5",
"UnitPrice": 6.0,
"Cnt": 7,
"Notes": "sample string 8",
"SysNotes": "sample string 9",
"Length": 10.0,
"Width": 11.0,
"Height": 12.0,
"MaxDim": 12.0,
"Volume": 14.0,
"Weight": 15.0
}
],
"PackingList": {
"PackingList": [
{
"id_Order": 1,
"CargoCnt": 2,
"Qty": 3,
"UnitPrice": 4.0,
"SubTotal": 5.0,
"Currency": "sample string 6",
"id_Cargo": 7,
"ContainLiquid": true,
"IsElectric": true,
"Insure": true,
"id": 11,
"id_User": 12,
"SKU": "sample string 13",
"ProductBrand": "sample string 14",
"ProductName": "sample string 15",
"ProductComponent": "sample string 16",
"ProductColor": "sample string 17",
"ProductNameEn": "sample string 18",
"Notes": "sample string 19"
},
{
"id_Order": 1,
"CargoCnt": 2,
"Qty": 3,
"UnitPrice": 4.0,
"SubTotal": 5.0,
"Currency": "sample string 6",
"id_Cargo": 7,
"ContainLiquid": true,
"IsElectric": true,
"Insure": true,
"id": 11,
"id_User": 12,
"SKU": "sample string 13",
"ProductBrand": "sample string 14",
"ProductName": "sample string 15",
"ProductComponent": "sample string 16",
"ProductColor": "sample string 17",
"ProductNameEn": "sample string 18",
"Notes": "sample string 19"
}
],
"id_Order": 1
},
"id_DeliveryOption": 22,
"id_PickupLocation": 23,
"lang": "sample string 24"
}
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": {}
}