TrackingEyes-API
  1. Global Air Cargo Tracking
TrackingEyes-API
  • Authentication
    • OAuth
      POST
  • Global Ocean Cargo Tracking
    • Ocean Status Code
    • Ocean Support List
    • Ocean Tracking Subscribe
      POST
    • Data Push Webhook
      POST
  • Global Air Cargo Tracking
    • Air Status Code
    • Air Support List
    • Air Tracking Subscribe
      POST
    • Data Push Webhook
      POST
  1. Global Air Cargo Tracking

Air Tracking Subscribe

POST
/api/airLinesBill/bookAirLines
The quantity limit for each subscription is 30 items.

Request

Query Params
companyCode
string 
required
Enterprise ID
token
string 
required
Encrypted signature token
orgCode
string 
optional
Organization code
Body Params application/json
array of:
deliveryNo
string 
optional
Delivery note number
<= 38 characters
orderNo
string 
optional
Order number
<= 600 characters
localKey
string 
optional
Customer Local Keywords
<= 38 characters
referenceNo
string 
required
Subscription number (AWB NO.)
<= 32 characters
carrierCd
string 
optional
Airline code, If it is null, it will be automatically identification.
<= 16 characters
extendNo
string 
optional
Extended data Json, the length is uncertain
customer
string 
optional
Customer name
<= 128 characters
customerService
string 
optional
Customer service name
<= 128 characters
remark
string 
optional
Supplementary remarks
<= 225 characters
Example
[
    {
        "deliveryNo": "",
        "orderNo": "",
        "localKey": "",
        "referenceNo": "23591210755",
        "carrierCd": "TK",
        "extendNo": "",
        "customer": "",
        "customerService": "",
        "remark": ""
    }
]

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/airLinesBill/bookAirLines?companyCode&token&orgCode' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "deliveryNo": "",
        "orderNo": "",
        "localKey": "",
        "referenceNo": "23591210755",
        "carrierCd": "TK",
        "extendNo": "",
        "customer": "",
        "customerService": "",
        "remark": ""
    }
]'

Responses

🟢200成功
application/json
Body
code
integer 
required
Overall status code:
200=all successful, 300=warning (partial failure), 400=all failed, 401=unauthorized, 500=error
codeDesc
string 
required
Overall status code description: success, warning, failure, error
<= 255 characters
message
string 
required
Error message
<= 255 characters
result
array [object {14}] 
required
Result set (single ticket subscription details)
deliveryNo
string 
optional
Delivery note number
<= 38 characters
orderNo
string 
optional
Order number
<= 600 characters
referenceNo
string 
required
Subscription number (AWB NO.)
<= 32 characters
carrierCd
string 
required
Airline
<= 16 characters
extendNo
string 
optional
Extended data Json, the length is uncertain
customer
string 
optional
Customer name
<= 128 characters
customerService
string 
optional
Customer service name
<= 128 characters
remark
string 
optional
Supplementary remarks
<= 255 characters
billCreateTime
string <date-time>
required
Time when the airway bill was created
id
string 
required
Airway bill id, the unique value returned after subsciption
<= 32 characters
localKey
string 
optional
Customer Local Keywords
<= 38 characters
itemCode
integer 
optional
Subscription status code: 200=success, 300=warning (repeat subscription etc.), 400=failure
itemCodeDesc
string 
optional
Subscription status code description: success, warning, failure
<= 8 characters
itemMessage
string 
optional
Additional information, including reasons for subscription failure
<= 255 characters
Example
{
    "code": 200,
    "codeDesc": "success",
    "message": "Operation succeeded",
    "result": [
        {
            "deliveryNo": "",
            "orderNo": "",
            "referenceNo": "23591210755",
            "carrierCd": "TK",
            "extendNo": "",
            "customer": "",
            "customerService": "",
            "remark": "",
            "billCreateTime": "2025-02-20 16:49:05",
            "id": "1892496683351281664",
            "localKey": "",
            "itemCode": 200,
            "itemCodeDesc": "success",
            "itemMessage": ""
        }
    ]
}
Previous
Air Support List
Next
Data Push Webhook
Built with