- 通用接口
- 海运数据接口
- 船期表接口
- 港到港船期
- 航线规划路径
- 航次挂靠路径
- 空运数据接口
- 陆运数据接口
- 关务数据接口
- 快递数据接口
- 其他接口
舱单数据订阅接口
POST
/api/manifest/booking
请求参数
Query 参数
companyCode
string
必需
orgCode
string
组织编码
token
string
必需
Body 参数application/json
array of:
bookingType
string
订阅类型
transportType
string
运输方式
blNo
string
提运单号
declarationNo
string
报关单号
portCd
string
港口代码
ieId
string
进出口标识
customCode
string
关区代码
localKey
string
客户本地id
示例
[
{
"bookingType": "M",
"transportType": "S",
"blNo": "EGLV142452168442",
"portCd": "CNTXG",
"ieId": "E"
}
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.trackingeyes.com/api/manifest/booking?companyCode&orgCode&token' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"bookingType": "M",
"transportType": "S",
"blNo": "EGLV142452168442",
"portCd": "CNTXG",
"ieId": "E"
}
]'
返回响应
🟢200成功
application/json
Body
code
integer
批量订阅状态代码
codeDesc
string
批量订阅状态描述
message
string
错误信息
result
array [object {13}]
结果集(单票订阅详情)
blNo
string
提运单号
declarationNo
string
报关单号
transportType
string
运输方式
bookingType
string
订阅类型
ieId
string
进出口标识
extendNo
string
拓展字段
customer
string
客户
remark
string
备注
id
string
订阅成功后返回的提运单主键
localKey
string
客户本地关键字
itemCode
integer
单票订阅状态
itemCodeDesc
string
单票订阅状态说明
itemMessage
string
补充说明
示例
{
"code": 200,
"codeDesc": "success",
"message": "Operation succeeded",
"result": [
{
"blNo": "EGLV142452168442",
"declarationNo": "",
"transportType": "S",
"bookingType": "M",
"ieId": "E",
"extendNo": "",
"customer": "",
"remark": "",
"id": "1909180670899523584",
"localKey": "123456789",
"itemCode": 200,
"itemCodeDesc": "success",
"itemMessage": ""
}
]
}