Ocean Tracking Subscribe
POST
http://api.trackingeyes.com/api/oceanbill/batchOceanBillSINO shipowners can directly subscribe to the container number, the bill of lading subscription needs to be subscribed with one of the container numbers.
请求参数
Enterprise ID
Organization code
Delivery note number
Order number
Customer Local Keywords
Subscription number
Subscription type(BL= Bill of Lading number /BK= booking number /CN= container number, default BL)
Trackingeyes Shipowner Code
customer
Estimated time of departure
Port of origin code
Port of origin name(Port code name refer to the Yundang port code table)
Destination Port Code
Destination Port Name(Port code name refer to the Yundang port code table)
Business service name
Notification email
Remark
Service type(C= owner /T= terminal /V= voyage, multiple directly spliced together, such as CT, the same batch of data has the first data service type shall be subject to)
Extended data Json
[
{
"deliveryNo": "123456",
"orderNo": "123456",
"localKey": "123456",
"referenceNo": "ZG23119177788",
"carrierCd": "ZSH",
"Customer": "Flying fish technology",
"PLRCd": null,
"PLR": null,
"POLCd": null,
"POL": null,
"PODCd": null,
"POD": null,
"CustomerService": "Alice;Anna",
"NoticeEmail": "",
"Remark": null,
"blType": "string",
"serviceType": "string",
"extendNo": "{'CtnrNo':'SNBU2347549'}"
}
]
示例代码
Responses
Result type in Chinese description, successful or failed subscription
Status code(200=successful, other=failed; Newly added failed waybills can be modified or re uploaded within the Saas system.)
Type:success、warning、error
Error message
Upload time
{
"result": [
{
"resultType": "warning",
"error": "shipowner code error",
"id": 15484481545413,
"deliveryNo": "123456",
"orderNo": "123456",
"localKey": "123456",
"referenceNo": "ZG23119177788",
"ctnrNo": "CAIU6635470",
"carrierCd": "ZSH"
}
],
"code": "200",
"type": "success",
"message": null,
"time": "2023-12-13T01:20:38.217Z"
}