- API接口文档(K5)
- 接口说明
- K5
- K5 API接口
- 创建快件订单,仓储订单,快递制单:[createOrder] POST
- 修改快件订单,仓储订单,快递制单:[updateOrder]POST
- 删除快件订单,仓储订单,快递制单:[deleteOrder]POST
- 快递制单取消发货:[cancelDelivery]POST
- 根据公司单号提取转单号:[searchOrderTracknumber]POST
- 查询启用的仓库:[searchStartHouse]POST
- 查询启用渠道:[searchStartChannel]POST
- 查询仓储库存:[ searchStock ]POST
- 查询入仓材积明细POST
- 打印地址标签:[printOrderLabel]POST
- 根据渠道查询支持的打印纸张:[searchPrintPaper]POST
- 查询保险类型:[searchInsuranceType]POST
- 查询价格:[searchPrice]POST
- 查询空运价格:[searchKYPrice]POST
- 查询轨迹:[searchTrack]POST
- 打印订单发票:[printOrderInvoice]POST
- K5 获取快递制单—物流标签接口[getEorderData]POST
- 获取FBA仓库信息:[getFBAHouse]POST
- 查询订单特殊接口[searchOrderXy]POST
- 运单查询收货渠道接口[getRchannel]POST
- K5 仓储API接口-一件代发
- K5 仓储API接口-大货中转
- K5 仓储API接口-退货换标
- K5 仓储API接口-仓储公共 API
- 设备入仓
查询空运价格:[searchKYPrice]
开发中
POST
http://yqneed.kingtrans.net//PostInterfaceService
请求参数
Query 参数
method
string
可选
示例值:
searchKYPrice
Header 参数
Content-Type
string
可选
默认值:
application/json;charset=UTF-8
Body 参数application/json
Verify
object
验证信息
Clientid
string
必需
Token
string
必需
Data
object
可选
endportid
string
必需
startportid
string
必需
weight
string
重量
示例
{
"Verify": {
"Clientid": "YXCY",
"Token": "WVFORUVEMv0PT3b0m1hGb399m6a8"
},
"Data": {
"endportid": "ABZ",
"weight": "10",
"startportid": "SZX"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://yqneed.kingtrans.net//PostInterfaceService?method=searchKYPrice' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"Verify": {
"Clientid": "YXCY",
"Token": "WVFORUVEMv0PT3b0m1hGb399m6a8"
},
"Data": {
"endportid": "ABZ",
"weight": "10",
"startportid": "SZX"
}
}'
返回响应
🟢200成功
application/json
Body
statusCode
string
可选
returnDatas
array [oneOf]
可选
array[string]
可选
object
可选
object
可选
示例
{
"statusCode": "success",
"returnDatas": [
[
{
"feenote": "",
"flight": "SH001001",
"note": "",
"areanote": "巴黎中转法国阿伯丁",
"pricename": "空运报价名称111",
"degreeid": "1",
"startportid": "SZX",
"portid": "BRU",
"careaid": "T10006",
"minfee": "2561.00",
"oldcareaid": "D10001",
"validend": "2033-10-01 00:00:00",
"ccycode": "RMB",
"acorpid": "",
"id": "1",
"modidate": "2024-07-16 01:00:36",
"sendtime": "25",
"aircorpid": "ZH"
},
{
"feenote": "",
"flight": "SH001001",
"note": "",
"areanote": "巴黎中转法国阿伯丁",
"pricename": "空运报价名称111",
"degreeid": "1",
"startportid": "SZX",
"portid": "BRU",
"careaid": "T10006",
"minfee": "2561.00",
"oldcareaid": "D10002",
"validend": "2033-10-01 00:00:00",
"ccycode": "RMB",
"acorpid": "",
"id": "1",
"modidate": "2024-07-16 01:00:36",
"sendtime": "25",
"aircorpid": "ZH"
},
{
"feenote": "",
"flight": "SH001001",
"note": "",
"areanote": "巴黎中转法国阿伯丁",
"pricename": "空运报价名称111",
"degreeid": "1",
"startportid": "SZX",
"portid": "BRU",
"careaid": "T10006",
"minfee": "2561.00",
"oldcareaid": "D10003",
"validend": "2033-10-01 00:00:00",
"ccycode": "RMB",
"acorpid": "",
"id": "1",
"modidate": "2024-07-16 01:00:36",
"sendtime": "25",
"aircorpid": "ZH"
},
{
"feenote": "",
"flight": "SH001001",
"note": "",
"areanote": "巴黎中转法国阿伯丁",
"pricename": "空运报价名称111",
"degreeid": "1",
"startportid": "SZX",
"portid": "BRU",
"careaid": "T10006",
"minfee": "2561.00",
"oldcareaid": "D10004",
"validend": "2033-10-01 00:00:00",
"ccycode": "RMB",
"acorpid": "",
"id": "1",
"modidate": "2024-07-16 01:00:36",
"sendtime": "25",
"aircorpid": "ZH"
},
{
"feenote": "",
"flight": "SH001001",
"note": "",
"areanote": "巴黎中转法国阿伯丁",
"pricename": "空运报价名称111",
"degreeid": "1",
"startportid": "SZX",
"portid": "BRU",
"careaid": "T10006",
"minfee": "2561.00",
"oldcareaid": "D10005",
"validend": "2033-10-01 00:00:00",
"ccycode": "RMB",
"acorpid": "",
"id": "1",
"modidate": "2024-07-16 01:00:36",
"sendtime": "25",
"aircorpid": "ZH"
}
],
{
"D100052": "74.40",
"D100031": "52.00",
"D100053": "79.30",
"D100032": "66.00",
"D100054": "84.00",
"D100011": "50.00",
"D100033": "70.20",
"D100055": "88.50",
"D100012": "74.40",
"D100034": "74.20",
"D100013": "79.30",
"D100035": "78.00",
"D100014": "84.00",
"D100015": "88.50",
"T100062": "5.40",
"T100061": "",
"T100065": "5.40",
"T100064": "5.40",
"T100063": "5.40",
"D100041": "53.00",
"D100042": "63.00",
"D100021": "51.00",
"D100043": "68.90",
"D100022": "63.60",
"D100044": "72.80",
"D100023": "67.60",
"D100045": "76.50",
"D100024": "71.40",
"D100025": "75.00",
"D100051": "54.00"
}
]
}
修改于 2024-07-17 07:52:33