查价
进行查价
全局查价
POST https://rate.trantordata.com/open_v1/search
收费API 无需传递 X-JYY-UserId 与 X-JYY-SecurityHash cookie
Headers
Api-Key*
String
sk-xkze4N8V...lyUTKY93
Content-Type*
String
application/x-www-form-urlencoded
Cookies
X-JYY-UserId
String
200...nDc
X-JYY-SecurityHash
String
dal...3jk
Request Body
from_address_json*
String
运输起始地址,由地址获取API得到的地址对象,序列化后的字符串
to_address_json*
String
运输目的地址,由地址获取API得到的地址对象,序列化后的字符串
cargo_name*
String
货物品名
cargo_weight*
double
货物重量,单位为kg,公斤
cargo_volume*
double
货物体积,单位为m^3,立方米
goods_status
String
货物状态,枚举值,详情见QueryGoodsStQueryGoodsStatQueryGoodsStatus。
默认为ReadyNow。
如货物品名为空,重量或体积<= 0,序列化的地址对象错误等等
进行查价(指定箱型)
全局查价(指定海运整箱箱型)
POST https://rate.trantordata.com/open_v1/search/cntr_adj
指定箱型仅会对海运整箱的方案有影响
收费API 无需传递 X-JYY-UserId 与 X-JYY-SecurityHash cookie
Headers
Api-Key*
String
sk-xkze4N8V...lyUTKY93
Content-Type*
String
application/x-www-form-urlencoded
Cookies
X-JYY-UserId
String
200...nDc
X-JYY-SecurityHash
String
dal...3jk
Request Body
query_id*
String
查价id
40hq
int
40HQ箱型数量,默认为0,不可为负数或大于1000的自然数
40gp
int
40GP箱型数量,默认为0,不可为负数或大于1000的自然数
20gp
int
20GP箱型数量,默认为0,不可为负数或大于1000的自然数
进行查价(指定箱型直接查价)
全局查价(指定海运整箱箱型,直接进行查价)
POST https://rate.trantordata.com/open_v1/search/cntr
指定箱型仅会对海运整箱的方案有影响
收费API 无需传递 X-JYY-UserId 与 X-JYY-SecurityHash cookie
Headers
Api-Key*
String
sk-xkze4N8V...lyUTKY93
Content-Type*
String
application/x-www-form-urlencoded
Cookies
X-JYY-UserId
String
200...nDc
X-JYY-SecurityHash
String
dal...3jk
Request Body
from_address_json*
String
运输起始地址,由地址获取API得到的地址对象,序列化后的字符串
40hq
int
40HQ箱型数量,默认为0,不可为负数或大于1000的自然数
40gp
int
40GP箱型数量,默认为0,不可为负数或大于1000的自然数
20gp
int
20GP箱型数量,默认为0,不可为负数或大于1000的自然数
goods_status
String
货物状态,枚举值,详情见QueryGoodsStQueryGoodsStatQueryGoodsStatus。
默认为ReadyNow。
cargo_name*
String
货物品名
to_address_json*
String
运输目的地址,由地址获取API得到的地址对象,序列化后的字符串
箱型数量为负数,或大于1000的自然数;全部箱型为0;货物品名为空,序列化的地址对象错误等等
获取查价结果
获取查价结果
GET https://rate.trantordata.com/open_v1/query_history/{queryId}
收费API 无需传递 X-JYY-UserId 与 X-JYY-SecurityHash cookie
Path Parameters
queryId*
String
查价id
Headers
Api-Key*
String
sk-xkze4N8V...lyUTKY93
Cookies
X-JYY-UserId
String
200...nDc
X-JYY-SecurityHash
String
dal...3jk
最后更新于