获取物流商名称
设计中
POST
http://logistics.e-sunward.com:8080/scmAPI/rest/determineLogisticsWS/getDetermineLogisticsName
最后修改时间:2025-06-03 10:54:34
请求参数
Body 参数application/json
Token
string
授权码
<= 50 字符
ticketsNum
string
单号
weight
number <double>
重量(kg)
volume
number <double>
体积(mm)
workConsole
string
操作称重台名称
height
number <double>
高(mm)
length
number <double>
长(mm)
width
number <double>
宽(mm)
destination
string
目的地
image
string
base64的图片
示例
{
"Token": "1C15D6F0458BC2557867C37705D5B699",
"ticketsNum": "单号",
"weight": "0.25",
"volume": "60000.00",
"height": "40.00",
"length": "50.00",
"width": "30.00",
"workConsole": "001",
"destination": "",
"image": "base64的图片"
}
示例代码
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://logistics.e-sunward.com:8080/scmAPI/rest/determineLogisticsWS/getDetermineLogisticsName' \
--header 'Content-Type: application/json' \
--data-raw '{
"Token": "1C15D6F0458BC2557867C37705D5B699",
"ticketsNum": "单号",
"weight": "0.25",
"volume": "60000.00",
"height": "40.00",
"length": "50.00",
"width": "30.00",
"workConsole": "001",
"destination": "",
"image": "base64的图片"
}'
返回响应
🟢200成功
application/json
Body
data
enum<string>
分拣标识
2: FEDEX,
3: USPS,
4: UNIUNI,
5: YANWEN EXPRESS,
6: GOFO EXPRESS
枚举值:
123456999
result
string
会话应答类型
message
string
错误信息
示例
{
"result": true,
"data": 2,
"message": "FEDEX"
}
🟠404记录不存在
🟠400参数不正确
修改于 2025-06-03 10:54:34