- Authentication
- Global Ocean Cargo Tracking
- Global Air Cargo Tracking
Ocean Tracking Subscribe
POST
/api/oceanbill/batchOceanBill
2.When subscribing to the terminal container dynamic data of the comprehensive interface, the port of loading (polCd) code needs to be uploaded, and the "serviceType" field should be assigned the value "CT".
3.The quantity limit for each subscription is 30 items.
Request
Query Params
companyCode
string
required
token
string
required
orgCode
string
optional
Body Params application/json
array of:
deliveryNo
string
optional
<= 38 characters
orderNo
string
optional
<= 38 characters
localKey
string
optional
<= 38 characters
referenceNo
string
required
<= 32 characters
blType
string
required
<= 32 characters
carrierCd
string
required
<= 16 characters
customer
string
optional
<= 128 characters
etd
string <date-time>
optional
polCd
string
optional
<= 8 characters
pol
string
optional
<= 64 characters
podCd
string
optional
<= 8 characters
pod
string
optional
<= 64 characters
customerService
string
optional
<= 128 characters
noticeEmail
string
optional
<= 255 characters
remark
string
optional
<= 255 characters
serviceType
string
optional
<= 16 characters
extendNo
object
optional
deliveryAddress
string
optional
<= 255 characters
estDelTime
string
optional
<= 30 characters
actDelTime
string
optional
<= 30 characters
custReqDate
string
optional
<= 30 characters
Example
[
{
"deliveryNo": null,
"orderNo": null,
"localKey": "",
"referenceNo": "177QAZAZXTCN0541",
"blType": "BL",
"carrierCd": "MSC",
"extendNo": null,
"customer": null,
"polCd": null,
"customerService": null,
"noticeEmail": null,
"remark": null,
"serviceType": "C",
},
{
"deliveryNo": null,
"orderNo": null,
"localKey": "",
"referenceNo": "SNLFSKALB61601",
"blType": "BL",
"carrierCd": "SINO",
"extendNo": {"CtnrNo":"BHCU4987386"},
"customer": null,
"polCd": null,
"customerService": null,
"noticeEmail": null,
"remark": null,
"serviceType": "C",
},
{
"deliveryNo": null,
"orderNo": null,
"localKey": "",
"referenceNo": "6414918850",
"blType": "",
"carrierCd": "COSCO",
"extendNo": null,
"customer": null,
"polCd": null,
"customerService": null,
"noticeEmail": null,
"remark": null,
"serviceType": "C"
}
]
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.trackingeyes.com/api/oceanbill/batchOceanBill?companyCode=&token=&orgCode' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"deliveryNo": null,
"orderNo": null,
"localKey": "",
"referenceNo": "177QAZAZXTCN0541",
"blType": "BL",
"carrierCd": "MSC",
"extendNo": null,
"customer": null,
"polCd": null,
"customerService": null,
"noticeEmail": null,
"remark": null,
"serviceType": "C",
},
{
"deliveryNo": null,
"orderNo": null,
"localKey": "",
"referenceNo": "SNLFSKALB61601",
"blType": "BL",
"carrierCd": "SINO",
"extendNo": {"CtnrNo":"BHCU4987386"},
"customer": null,
"polCd": null,
"customerService": null,
"noticeEmail": null,
"remark": null,
"serviceType": "C",
},
{
"deliveryNo": null,
"orderNo": null,
"localKey": "",
"referenceNo": "6414918850",
"blType": "",
"carrierCd": "COSCO",
"extendNo": null,
"customer": null,
"polCd": null,
"customerService": null,
"noticeEmail": null,
"remark": null,
"serviceType": "C"
}
]'
Responses
🟢200sucess
application/json
Body
code
integer
required
type
string
optional
message
string
optional
result
array [object {16}]
required
id
string
optional
<= 40 characters
resultType
string
optional
<= 32 characters
resultTypeCd
string
optional
<= 32 characters
error
enum<string>
optional
<= 255 characters
Allowed values:
410141024103410451016101
errorMessage
string
optional
deliveryNo
string
optional
<= 38 characters
orderNo
string
optional
<= 600 characters
localKey
string
optional
<= 38 characters
referenceNo
string
optional
<= 32 characters
ctnrNo
string
optional
<= 12 characters
carrierCd
string
optional
<= 16 characters
billCreateTime
string <date-time>
optional
trackStatusCd
string
optional
<= 2 characters
trackStatus
string
optional
<= 12 characters
errorStatus
string
optional
<= 20 characters
dataStatus
string
optional
<= 20 characters
time
string <date-time>
optional
Example
{
"code": 200,
"type": "success",
"message": "",
"result": [
{
"resultType": "订阅成功",
"resultTypeCd": "success",
"error": "",
"id": "627472342581317",
"deliveryNo": null,
"orderNo": null,
"localKey": null,
"referenceNo": "278342554",
"ctnrNo": null,
"carrierCd": "MSK",
"trackStatus": "跟踪中",
"trackStatusCd": "T",
"errorMessage": "",
"errorStatus": "T",
"billCreateTime": "2024-12-28 11:31:32",
"dataStatus": null
}
],
"time": "2024-12-28 11:31:32"
}