K5物流软件 API文档
文档首页快件接口(小包/快递)一件代发(仓储)大货中转(仓储)退换标(仓储)设备对接
文档首页快件接口(小包/快递)一件代发(仓储)大货中转(仓储)退换标(仓储)设备对接
  1. 设备对接
  • get
    GET
  • post
    POST
  • (多台设备) post
    POST
  1. 设备对接

(多台设备) post

POST
http://yulei.kingtrans.net/EquipsInterfaceService

请求参数

Query 参数
method
string 
可选
示例值:
equipReceipt
equipCode
string 
可选
数字(与系统设备入仓界面设置的值一致)
示例值:
xxx
Header 参数
Content-Type
string 
可选
默认值:
application/json;charset=UTF-8
Body 参数application/json
barcode
string 
必需
服务商单号/运单号(post方法用)
weight
string 
必需
重量(KG,小数后3位)
length
string 
长(CM)
必需
width
string 
宽(CM)
必需
height
string 
高(CM)
必需
示例
{
    "barcode":"UG100123123CN",
    "weight":"0.60",
    "length":"121.60",
    "width":"88.66",
    "height":"88.00"
}

示例代码

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://yulei.kingtrans.net/EquipsInterfaceService?method=equipReceipt&equipCode=xxx' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
    "barcode":"UG100123123CN",
    "weight":"0.60",
    "length":"121.60",
    "width":"88.66",
    "height":"88.00"
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{
    "code": "0",
    "msg": "正常"
}
修改于 2023-09-07 10:10:29
上一页
post
Built with