接口描述

提供给cw的询价接口inquiry

HTTP VerbURL
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,
    "etdStarted": "2024-12-01 00:00:00",
    "etdEnded": "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": "0",
    "data": {
        "result": [
            {
                "ETA": "",
                "ETD": "2025-08-19 00:00:00",
                "basicChargeUnit": "KG",
                "basicFeeEnded": "",
                "basicFeeStarted": 50.000,
                "channelCode": "AirTest-20241113",
                "channelId": 936,
                "closingTime": "2025-08-13 20:00:00",
                "currency": "CNY",
                "cutOffTime": "2025-08-11 10:00:00",
                "depaturePort": "EWR",
                "fbaWarehouse": "",
                "fbaWarehouseEn": "",
                "feeDetail": [
                    {
                        "additionalPrice": 22.000,
                        "billingAmount": 166.70,
                        "chargeUnit": "KG",
                        "currency": "CNY",
                        "feeName": "SammyTest大包基本运费20240401(KG)",
                        "feeNameEn": "B2B-KG",
                        "remark": "运费 备注一下",
                        "remarkEn": "<p>Service English remark</p>",
                        "totalPrice": 2520.700,
                        "typeName": "基础运费",
                        "typeNameEn": "Freight",
                        "unitPrice": 20.000
                    },
                    {
                        "additionalPrice": 22.000,
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest大包基本运费20240401(KG)",
                        "feeNameEn": "B2B-KG",
                        "remark": "<p>Service English remark</p>",
                        "remarkEn": "",
                        "totalPrice": 22.000,
                        "typeName": "基础运费",
                        "typeNameEn": "Freight",
                        "unitPrice": 22.000
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(其他附加费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 5.00,
                        "typeName": "出口报关费",
                        "typeNameEn": "Export Declaration Fee",
                        "unitPrice": 5.00
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(安全管理费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 5.00,
                        "typeName": "进口报关费",
                        "typeNameEn": "Import Declaration Fee",
                        "unitPrice": 5.00
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(住宅地址附加费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 8.00,
                        "typeName": "AMS费",
                        "typeNameEn": "AMS",
                        "unitPrice": 8.00
                    }
                ],
                "feeUnit": "",
                "goodsType": "electric",
                "lastMile": "",
                "minPrice": "",
                "remark": "<p>空运服务的备注</p>",
                "remarkEn": "<p>Service English remark</p>",
                "routeCode": "ATEST-001002",
                "serviceName": "大包运价查询-空运(勿删)",
                "serviceNameOpen": "大包空运CN-US",
                "serviceNameOpenEn": "B2B AIR CN-US",
                "taxFarming": false,
                "transType": "Air",
                "unitPrice": 20.000,
                "voyage": "-"
            },
            {
                "ETA": "",
                "ETD": "2025-08-26 00:00:00",
                "basicChargeUnit": "KG",
                "basicFeeEnded": "",
                "basicFeeStarted": 50.000,
                "channelCode": "AirTest-20241113",
                "channelId": 936,
                "closingTime": "2025-08-20 20:00:00",
                "currency": "CNY",
                "cutOffTime": "2025-08-18 10:00:00",
                "depaturePort": "EWR",
                "fbaWarehouse": "",
                "fbaWarehouseEn": "",
                "feeDetail": [
                    {
                        "additionalPrice": 22.000,
                        "billingAmount": 166.70,
                        "chargeUnit": "KG",
                        "currency": "CNY",
                        "feeName": "SammyTest大包基本运费20240401(KG)",
                        "feeNameEn": "B2B-KG",
                        "remark": "运费 备注一下",
                        "remarkEn": "<p>Service English remark</p>",
                        "totalPrice": 2520.700,
                        "typeName": "基础运费",
                        "typeNameEn": "Freight",
                        "unitPrice": 20.000
                    },
                    {
                        "additionalPrice": 22.000,
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest大包基本运费20240401(KG)",
                        "feeNameEn": "B2B-KG",
                        "remark": "<p>Service English remark</p>",
                        "remarkEn": "",
                        "totalPrice": 22.000,
                        "typeName": "基础运费",
                        "typeNameEn": "Freight",
                        "unitPrice": 22.000
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(其他附加费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 5.00,
                        "typeName": "出口报关费",
                        "typeNameEn": "Export Declaration Fee",
                        "unitPrice": 5.00
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(安全管理费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 5.00,
                        "typeName": "进口报关费",
                        "typeNameEn": "Import Declaration Fee",
                        "unitPrice": 5.00
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(住宅地址附加费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 8.00,
                        "typeName": "AMS费",
                        "typeNameEn": "AMS",
                        "unitPrice": 8.00
                    }
                ],
                "feeUnit": "",
                "goodsType": "electric",
                "lastMile": "",
                "minPrice": "",
                "remark": "<p>空运服务的备注</p>",
                "remarkEn": "<p>Service English remark</p>",
                "routeCode": "ATEST-001002",
                "serviceName": "大包运价查询-空运(勿删)",
                "serviceNameOpen": "大包空运CN-US",
                "serviceNameOpenEn": "B2B AIR CN-US",
                "taxFarming": false,
                "transType": "Air",
                "unitPrice": 20.000,
                "voyage": "-"
            },
            {
                "ETA": "",
                "ETD": "2025-09-02 00:00:00",
                "basicChargeUnit": "KG",
                "basicFeeEnded": "",
                "basicFeeStarted": 50.000,
                "channelCode": "AirTest-20241113",
                "channelId": 936,
                "closingTime": "2025-08-27 20:00:00",
                "currency": "CNY",
                "cutOffTime": "2025-08-25 10:00:00",
                "depaturePort": "EWR",
                "fbaWarehouse": "",
                "fbaWarehouseEn": "",
                "feeDetail": [
                    {
                        "additionalPrice": 22.000,
                        "billingAmount": 166.70,
                        "chargeUnit": "KG",
                        "currency": "CNY",
                        "feeName": "SammyTest大包基本运费20240401(KG)",
                        "feeNameEn": "B2B-KG",
                        "remark": "运费 备注一下",
                        "remarkEn": "<p>Service English remark</p>",
                        "totalPrice": 2520.700,
                        "typeName": "基础运费",
                        "typeNameEn": "Freight",
                        "unitPrice": 20.000
                    },
                    {
                        "additionalPrice": 22.000,
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest大包基本运费20240401(KG)",
                        "feeNameEn": "B2B-KG",
                        "remark": "<p>Service English remark</p>",
                        "remarkEn": "",
                        "totalPrice": 22.000,
                        "typeName": "基础运费",
                        "typeNameEn": "Freight",
                        "unitPrice": 22.000
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(其他附加费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 5.00,
                        "typeName": "出口报关费",
                        "typeNameEn": "Export Declaration Fee",
                        "unitPrice": 5.00
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(安全管理费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 5.00,
                        "typeName": "进口报关费",
                        "typeNameEn": "Import Declaration Fee",
                        "unitPrice": 5.00
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(住宅地址附加费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 8.00,
                        "typeName": "AMS费",
                        "typeNameEn": "AMS",
                        "unitPrice": 8.00
                    }
                ],
                "feeUnit": "",
                "goodsType": "electric",
                "lastMile": "",
                "minPrice": "",
                "remark": "<p>空运服务的备注</p>",
                "remarkEn": "<p>Service English remark</p>",
                "routeCode": "ATEST-001002",
                "serviceName": "大包运价查询-空运(勿删)",
                "serviceNameOpen": "大包空运CN-US",
                "serviceNameOpenEn": "B2B AIR CN-US",
                "taxFarming": false,
                "transType": "Air",
                "unitPrice": 20.000,
                "voyage": "-"
            },
            {
                "ETA": "",
                "ETD": "2025-09-09 00:00:00",
                "basicChargeUnit": "KG",
                "basicFeeEnded": "",
                "basicFeeStarted": 50.000,
                "channelCode": "AirTest-20241113",
                "channelId": 936,
                "closingTime": "2025-09-03 20:00:00",
                "currency": "CNY",
                "cutOffTime": "2025-09-01 10:00:00",
                "depaturePort": "EWR",
                "fbaWarehouse": "",
                "fbaWarehouseEn": "",
                "feeDetail": [
                    {
                        "additionalPrice": 22.000,
                        "billingAmount": 166.70,
                        "chargeUnit": "KG",
                        "currency": "CNY",
                        "feeName": "SammyTest大包基本运费20240401(KG)",
                        "feeNameEn": "B2B-KG",
                        "remark": "运费 备注一下",
                        "remarkEn": "<p>Service English remark</p>",
                        "totalPrice": 2520.700,
                        "typeName": "基础运费",
                        "typeNameEn": "Freight",
                        "unitPrice": 20.000
                    },
                    {
                        "additionalPrice": 22.000,
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest大包基本运费20240401(KG)",
                        "feeNameEn": "B2B-KG",
                        "remark": "<p>Service English remark</p>",
                        "remarkEn": "",
                        "totalPrice": 22.000,
                        "typeName": "基础运费",
                        "typeNameEn": "Freight",
                        "unitPrice": 22.000
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(其他附加费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 5.00,
                        "typeName": "出口报关费",
                        "typeNameEn": "Export Declaration Fee",
                        "unitPrice": 5.00
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(安全管理费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 5.00,
                        "typeName": "进口报关费",
                        "typeNameEn": "Import Declaration Fee",
                        "unitPrice": 5.00
                    },
                    {
                        "additionalPrice": "",
                        "billingAmount": 1,
                        "chargeUnit": "票",
                        "currency": "CNY",
                        "feeName": "SammyTest(住宅地址附加费)",
                        "feeNameEn": "",
                        "remark": "测试勿动",
                        "remarkEn": "",
                        "totalPrice": 8.00,
                        "typeName": "AMS费",
                        "typeNameEn": "AMS",
                        "unitPrice": 8.00
                    }
                ],
                "feeUnit": "",
                "goodsType": "electric",
                "lastMile": "",
                "minPrice": "",
                "remark": "<p>空运服务的备注</p>",
                "remarkEn": "<p>Service English remark</p>",
                "routeCode": "ATEST-001002",
                "serviceName": "大包运价查询-空运(勿删)",
                "serviceNameOpen": "大包空运CN-US",
                "serviceNameOpenEn": "B2B AIR CN-US",
                "taxFarming": false,
                "transType": "Air",
                "unitPrice": 20.000,
                "voyage": "-"
            }
        ],
        "resultAmount": 4
    },
    "errors": "",
    "message": "",
    "messageId": "",
    "success": true,
    "warnList": ""
}