接口描述

提供给cw的询价接口inquiry

HTTP VerbURL
POST/api/supplier-service/v1/b2b/inquiry

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=

请求样例

{
"collectionWarehouse": "义乌仓",
"tenantId": 100,
"addressType": "code",
"addressCode": "ONT8",
"country": "",
"zipCode": "",
"totalBox": 0,
"totalWeight": 1.0,
"totalVolume": 1.0,
"etdStarted": "2025-07-16T00:00:00.000+08:00",
"etdEnded": "2025-09-30T00:00:00.000+08:00",
"etaStarted": null,
"etaEnded": null,
"origin": 1,
"truck": 1
}

请求字段描述


字段名

是否必填项

类型

描述

collectionWarehouse
String
集货仓代码
tenantIdInteger传了也没用,后台没接收
addressType
String
目的地类型,可传输“code”或者“other”
addressCode按描述来传
String
地址代码,仅当addressType传输code时必须传输
country按描述来传
String
目的国家,仅当addressType传输other时必须传输
zipCode按描述来传
String
目的地邮编,仅当addressType传输other时必须传输
totalBox
Integer
货物总箱数
totalWeight
BigDecimal
货物总重量,限制最多小数点后两位,固定单位为KG
totalVolume
BigDecimal
货物总体积,限制最多小数点后两位,固定单位为CBM
etdStarted按描述来Date 查询的预计离港时间起始,当etdEnded有值时必须传输,且该事件不得晚于结尾时间
etdEnded按描述来Date查询的预计离港时间结尾
etaStartedDate查询的预计到达时间起始,当etaEnded有值时必须传输,且该事件不得晚于结尾时间,传了也没用,后台没有处理逻辑
etaEndedDate查询的预计到港时间结尾,传了也没用,后台没有处理逻辑
fastShipInteger 不传时默认为1,查询运输类型是快船
regularShipInteger不传时默认为1,查询运输类型是普船
airInteger查询运输类型是空运
truckInteger不传时默认为1,查询使用卡车作为末端运输
normalInteger查询货物类型是普货
electricInteger查询货物类型是带电
expressInteger不传时默认为1,查询使用快递作为末端运输
taxFarmingInteger 查询包税
notaxFarmingInteger不传时默认为1,查询不包税
boutiqueInteger这两个传了也没用,后台没接收
originInteger这两个传了也没用,后台没接收

相关时序图描述

返回内容如下

{
    "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": ""
}