提供给cw的询价接口inquiry
| HTTP Verb | URL |
|---|---|
| POST | /api/supplier-service/v1/b2b/inquiryBasic |
Example:
POST /api/supplier-service/v1/b2b/inquiry HTTP/1.1 Content-Type: application/json Accept: application/json Host: http://cfs-qa.etowertech.com/ X-WallTech-Date: Thu, 06 Aug 2020 06:44:25 GMT Authorization: WallTech testLvs2jdug2qIoRsJyuxs:F714XG5EBjslUUdx5xJrTCVb9Xs= |
{
"departureCountry": "CN",
"departureState": "Guangdong",
"departureCity": "Shenzhen",
"departurePostCode": "518000",
"destinationCountry": "US",
"destinationState": "California",
"destinationCity": "Los Angeles",
"destinationPostCode": "90210",
"departureWarehouseCode": "SZ001",
"warehouseCode": "LAX001",
"boxNumber": 2,
"totalWeightDeclared": 15.50,
"totalVolumeDeclared": 0.125,
"validityStart": "2024-12-01 00:00:00",
"validityEnd": "2024-12-15 00:00:00",
"shipper": 12345
} |
字段名 | 是否必填项 | 类型 | 描述 |
| departureCountry | String | 始发地国家 | |
| departureState | String | 始发地省州 | |
| departureCity | String | 始发地城市 | |
| departurePostCode | String | 始发地邮编 | |
| departureWarehouseCode | String | 始发地仓库代码 | |
| destinationCountry | String | 目的地国家 | |
| destinationState | String | 目的地省州 | |
| destinationCity | String | 目的地城市 | |
| destinationPostCode | String | 目的地邮编 | |
| warehouseCode | String | 目的地仓库代码 | |
| boxNumber | Integer | 箱数 | |
| totalWeightDeclared | BigDecimal | 总重量 | |
| totalVolumeDeclared | BigDecimal | 总体积 | |
validityEnd | Date | 船期结束 | |
validityStart | Date | 船期开始 | |
| shipper | Integer | 发货人id | |
{
"code": 200,
"message": "success",
"data": [
{
"channelName": "DHL快递服务",
"channelId": 1001,
"channelCode": "DHL001",
"chargeWeight": 15.50,
"totalWeightDeclared": 15.50,
"totalVolumeDeclared": 0.125,
"basicRate": "705.25USD",
"additionalCosts": "25.00USD",
"basicRateDetailId": 50001,
"valueAddedTax": "0USD",
"valueAddedTaxId": null,
"dutyFree": "0USD",
"insuranceFee": "0USD",
"etdDate": "2024-12-05T10:00:00.000Z",
"totalAmount": "730.25USD",
"totalAmountSort": 730.25,
"newSurchargeFee": "0USD",
"fuelSurcharge": "25.00USD",
"securitySurcharge": "0USD",
"otherSurcharge": "0USD",
"residentialSurcharge": "0USD",
"batterySurcharge": "0USD",
"weightPrice": 45.50,
"orderPride": 120.00,
"customSurchargeList":[
{
"amount":"0.000 CNY",
"costNameCn":"特殊燃油附加费",
"costNameEn":"Special Fuel Charge",
"customChargeType":"",
"feeName":"CBM-比例",
"feeNameEn":"",
"firstPrice":"",
"firstWeight":"",
"remark":"",
"remarkEn":"",
"type":"SPECIAL_SURCHARGE",
"weightEnd":"",
"weightStart":""
}
],
},
{
"channelName": "UPS标准服务",
"channelId": 1002,
"channelCode": "UPS001",
"chargeWeight": 15.50,
"totalWeightDeclared": 15.50,
"totalVolumeDeclared": 0.125,
"basicRate": "592.10USD",
"additionalCosts": "15.00USD",
"basicRateDetailId": 50002,
"valueAddedTax": "0USD",
"valueAddedTaxId": null,
"dutyFree": "0USD",
"insuranceFee": "0USD",
"etdDate": "2024-12-06T14:00:00.000Z",
"totalAmount": "607.10USD",
"totalAmountSort": 607.10,
"newSurchargeFee": "0USD",
"fuelSurcharge": "15.00USD",
"securitySurcharge": "0USD",
"otherSurcharge": "0USD",
"residentialSurcharge": "0USD",
"batterySurcharge": "0USD",
"weightPrice": 38.20,
"orderPride": 95.00,
"customSurchargeList": []
}
]
} |
| 字段名 | 类型 | 描述 |
|---|---|---|