转至元数据结尾
转至元数据起始

正在查看旧版本。 查看 当前版本.

与当前比较 查看页面历史

« 前一个 版本 12 下一个 »

接口描述

提供给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,
    "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
        
      {
        "channelName": "UPS标准服务",
        "channelId": 1002,
        "channelCode": "UPS001",
        "chargeWeight": 15.50,
        "totalWeightDeclared": 15.50,
        "totalVolumeDeclared": 0.125,
        "basicRate": "592.10USD",
        "additionalCosts": "15.00USD",
        "valueAddedTax": "0USD",
        "dutyFree": "0USD",
        "insuranceFee": "0USD",
        "etdDate": "2024-12-06 14:00:00",
        "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,
        "lineHaulType": 1,
        "feeDetailList": [
				{
					"amount": 11,
					"currency": "USD",
					"feeName": "测试一下AAAAA",
					"type": 100,
					"validityEnd" : "",
					"validityStart" : "2025-10-01",
					"voyageStart" : "1",
					"voyageEnd" : "10",
				},
				{
					"amount": 350,
					"currency": "USD",
					"feeName": "报关费",
					"type": 103
				},
				{
					"amount": 20,
					"currency": "USD",
					"feeName": "超重附加费",
					"type": 106
				}
			],
      }
    ]
  }

返回字段描述:

字段名类型描述
channelNameString服务名称
channelIdLong渠道ID
channelCodeString渠道代码
totalWeightDeclaredBigDecimal总重量
totalVolumeDeclaredBigDecimal总体积
chargeWeightBigDecilam计费重
basicRateString基本运费总计(含币种)
additionalCostsString额外费用总计(含币种)(附加费+关税+增值税)
valueAddedTaxString增值税总计(含币种)
dutyFreeString关税总计(含币种)
insuranceFeeString保险费总计(含币种)
totalAmountString总价总计(含币种)
totalAmountSortBigDecimal总价值总计
newSurchargeFeeString偏远地区附加费总计
fuelSurchargeString燃油附加费总计
securitySurcharge
安全管理费总计
otherSurcharge
其他附加费总计
residentialSurcharge
住宅地址附加费总计
batterySurcharge
电池附加费总计
weightPriceBigDecimal重量单价
orderPrideBigDecimal单票价格
lineHaulTypeInteger干线运输类型1-海运 2-空运

maxTransitTime

Integer服务最大时效
minTransitTimeInteger服务最小时效

preciseTransitTime

Integer服务精确时效
feeDetailListList费用明细列表
feeDetailList[].amountBigDecimal金额
feeDetailList[].feeNameString费用名称
feeDetailList[].currencyString币种
feeDetailList[].validityStartString有效期开始时间
feeDetailList[].validityEndString有效期截止时间
feeDetailList[].voyageStartInteger
航程开始
feeDetailList[].voyageEndInteger
航程结束
feeDetailList[].type费用类型

4:基本运费

6:关税

7:增值税


100:偏远地区附加费

101:燃油附加费

102:安全管理费

103:其他附加费

104:住宅地址附加费

105:电池附加费

106:自定义附加费





























  • 无标签