云当网数据接口
  1. 空运数据接口
云当网数据接口
  • 通用接口
    • API Token获取
      • 获取Token
  • 海运数据接口
    • 海运跟踪
      • 海运状态码
      • 海运支持清单
      • 海运跟踪单号订阅
      • 海运箱动态全量推送(按提单号/订舱号订阅)
      • 海运跟踪下载(按提单号/订舱号订阅)
      • 海运跟踪箱号订阅
      • 海运箱动态全量推送(按箱号订阅)
      • 海运跟踪下载(按箱号订阅)
      • 海运箱动态推送(单节点)
      • 集装箱海上轨迹
      • 港区数据订阅
      • 港区数据全量推送
      • 港区数据订阅下载
    • 船舶靠泊计划
      • 船舶靠泊计划
    • 船期表
      • 船期表获取
    • 船舶AIS
      • 单船搜索
      • 船舶定位
      • 船舶历史挂港
      • 船舶轨迹
  • 陆运数据接口
    • EIR(电子设备交接单)
      • Eir获取API
    • 场站数据
      • 场站数据查询订阅接口
      • 场站数据推送
    • 车辆GPS
      • 车辆定位
      • 车辆轨迹
  • 关务数据接口
    • 报关状态
      • 报关状态查询
      • 报关状态推送
    • 舱单数据
      • 上传订阅海运舱单
      • 海运舱单订阅数据下载
  • 美国目的港数据接口
    • 美国码头数据
      • 美国码头支持清单
      • 美国码头信息订阅
      • 美国码头数据下载
    • 美国清关状态
      • 清关状态代码
      • 美国清关数据查询接口
  • OCR识别
    • 报关单识别接口
      POST
    • 发票/清关识别接口
      POST
  • 空运数据接口
    • 空运支持清单
    • 空运状态代码
    • 空运跟踪订阅
      POST
    • 空运状态节点全量推送
      POST
    • 空运状态单节点推送
      POST
    • 空运跟踪下载
      POST
  • 快递数据接口
    • 国家、地区ISO Alpha-3代码表
    • 主状态代码表
    • 子状态代码表
    • 承运商代码表
    • 承运商集团表
    • 特殊承运人代码表
    • 快递跟踪订阅
      POST
    • 快递跟踪下载
      GET
    • 快递跟踪全量推送
      POST
  1. 空运数据接口

空运跟踪下载

POST
http://apis.my56home.com/api/v1/airbooking-liner
调用该接口前,需要先使用[获取Token API]获取token。token 有效期是2小时,超过了2小时得重新获取。

请求参数

Query 参数
companyid
string 
云当企业编码
必需
示例值:
1000
token
string 
必需
请求参数Token(先调用“获取token”这个sheet的API,获取token)
示例值:
d450e2c1-0699-4521-a73a-4f053b04f0ba
Body 参数multipart/form-data
data
string 
必需
示例值:
[{"carriercd":"MU","awbno":"11240644273"}]

示例代码

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://apis.my56home.com/api/v1/airbooking-liner?companyid=1000&token=d450e2c1-0699-4521-a73a-4f053b04f0ba' \
--form 'data="[{\"carriercd\":\"MU\",\"awbno\":\"11240644273\"}]"'

返回响应

🟢200成功
application/json
Body
result
array[array (空运跟踪订阅下载接口返回说明) {1}] 
必需
object 
可选
示例
[
    {
        "objairlinertracking": {
            "keyid": "db37f738-d57b-40ed-9918-497a1e32d053",
            "localkeyid": null,
            "fkeyid": "d9c25cb5-b941-4bf9-af61-ff88689371db",
            "awbno": "16049259523",
            "flightno": null,
            "org": "HKG",
            "orgcd": null,
            "dst": "MEX",
            "dstcd": null,
            "currentnode": "DLV",
            "currentnodetime": "2023/2/8 10:22:00",
            "currentnodeplace": "MEX",
            "carriercd": "CX",
            "carrier": null,
            "awbno2": "",
            "carriercd2": "",
            "carrier2": null,
            "awbno3": "",
            "carriercd3": "",
            "carrier3": null,
            "updatetime": "2023/3/18 9:51:26",
            "createtime": "2023/3/15 17:12:33",
            "bkdtime": null,
            "bkdplace": null,
            "rcstime": "2023/2/5 14:58:00",
            "rcsplace": "MEX",
            "mnftime": null,
            "mnfplace": null,
            "deptime": "2023/2/7 8:02:00",
            "depplace": "HKG",
            "tartime": null,
            "tarplace": null,
            "tdetime": null,
            "tdeplace": null,
            "arrtime": "2023/2/7 12:45:00",
            "arrplace": "MEX",
            "rwbtime": "2023/2/7 11:44:00",
            "rwbplace": "MEX",
            "rcftime": "2023/2/7 11:44:00",
            "rcfplace": null,
            "custime": null,
            "cusplace": null,
            "nfdtime": null,
            "nfdplace": null,
            "dlvtime": "2023/2/8 10:22:00",
            "dlvplace": "MEX",
            "endtime": null,
            "referenceno": null,
            "lstairlinertrackingstatus": [
                {
                    "keyid": "13e6dcfe-0b91-4d38-98e3-83b40fb05461",
                    "fkeyid": "db37f738-d57b-40ed-9918-497a1e32d053",
                    "awbno": "16049259523",
                    "statuscd": "RCS",
                    "statedescription": "进仓",
                    "statedescription_en": "Airline Received",
                    "statustime": "2023/2/5 14:58:00",
                    "statusplace": "HKG",
                    "flightno": "",
                    "isest": "N",
                    "updatetime": "2023/3/18 9:51:26",
                    "createtime": "2023/3/18 9:51:26",
                    "sno": 1,
                    "pieces": 177,
                    "weight": 1128,
                    "volume": null,
                    "ono": "2"
                },
                {
                    "keyid": "f5b992f0-6a4c-4923-b261-52ef73f80ec8",
                    "fkeyid": "db37f738-d57b-40ed-9918-497a1e32d053",
                    "awbno": "16049259523",
                    "statuscd": "DEP",
                    "statedescription": "起飞",
                    "statedescription_en": "Departed",
                    "statustime": "2023/2/7 8:02:00",
                    "statusplace": "HKG",
                    "flightno": "CX3080",
                    "isest": "N",
                    "updatetime": "2023/3/18 9:51:26",
                    "createtime": "2023/3/18 9:51:26",
                    "sno": 1,
                    "pieces": 177,
                    "weight": 1128,
                    "volume": null,
                    "ono": "4"
                },
                {
                    "keyid": "0374e9f3-821f-41ab-bd27-96284fbcc6ab",
                    "fkeyid": "db37f738-d57b-40ed-9918-497a1e32d053",
                    "awbno": "16049259523",
                    "statuscd": "MAN",
                    "statedescription": "配载",
                    "statedescription_en": "Manifest received",
                    "statustime": "2023/2/7 9:03:00",
                    "statusplace": "HKG",
                    "flightno": "CX3080",
                    "isest": "N",
                    "updatetime": "2023/3/18 9:51:26",
                    "createtime": "2023/3/18 9:51:26",
                    "sno": 1,
                    "pieces": 177,
                    "weight": 1128,
                    "volume": null,
                    "ono": "3"
                },
                {
                    "keyid": "241f0fd7-bf6a-4eff-a446-90db1439d47a",
                    "fkeyid": "db37f738-d57b-40ed-9918-497a1e32d053",
                    "awbno": "16049259523",
                    "statuscd": "RCF",
                    "statedescription": "卸货",
                    "statedescription_en": "Freight accepted at airport",
                    "statustime": "2023/2/7 11:44:00",
                    "statusplace": "MEX",
                    "flightno": "CX3080",
                    "isest": "N",
                    "updatetime": "2023/3/18 9:51:26",
                    "createtime": "2023/3/18 9:51:26",
                    "sno": 1,
                    "pieces": 177,
                    "weight": 1128,
                    "volume": null,
                    "ono": "5"
                },
                {
                    "keyid": "7b1eb326-b24d-4c95-8293-0a905bab1d5b",
                    "fkeyid": "db37f738-d57b-40ed-9918-497a1e32d053",
                    "awbno": "16049259523",
                    "statuscd": "RWB",
                    "statedescription": "收单",
                    "statedescription_en": "Document delivered to forwarder",
                    "statustime": "2023/2/7 11:44:00",
                    "statusplace": "MEX",
                    "flightno": "CX3080",
                    "isest": "N",
                    "updatetime": "2023/3/18 9:51:26",
                    "createtime": "2023/3/18 9:51:26",
                    "sno": 1,
                    "pieces": 177,
                    "weight": 1128,
                    "volume": null,
                    "ono": "6"
                },
                {
                    "keyid": "c42ce97d-abaa-49ad-b2c1-29b435bace7a",
                    "fkeyid": "db37f738-d57b-40ed-9918-497a1e32d053",
                    "awbno": "16049259523",
                    "statuscd": "ARR",
                    "statedescription": "抵达",
                    "statedescription_en": "Arrived",
                    "statustime": "2023/2/7 12:45:00",
                    "statusplace": "MEX",
                    "flightno": "CX3080",
                    "isest": "N",
                    "updatetime": "2023/3/18 9:51:26",
                    "createtime": "2023/3/18 9:51:26",
                    "sno": 1,
                    "pieces": 177,
                    "weight": 1128,
                    "volume": null,
                    "ono": "7"
                },
                {
                    "keyid": "8bb6f93e-c763-426d-afb2-a8fb173b6f5f",
                    "fkeyid": "db37f738-d57b-40ed-9918-497a1e32d053",
                    "awbno": "16049259523",
                    "statuscd": "DLV",
                    "statedescription": "提货",
                    "statedescription_en": "Delivered",
                    "statustime": "2023/2/8 10:22:00",
                    "statusplace": "MEX",
                    "flightno": "",
                    "isest": "N",
                    "updatetime": "2023/3/18 9:51:26",
                    "createtime": "2023/3/18 9:51:26",
                    "sno": 1,
                    "pieces": 177,
                    "weight": 1128,
                    "volume": null,
                    "ono": "8"
                }
            ],
            "lstBookingInfo": [
                {
                    "keyid": "d9c25cb5-b941-4bf9-af61-ff88689371db",
                    "mkeyid": "0fe28c15-4301-4513-8839-b658c4cfe259",
                    "awbno": "16049259523",
                    "org": "HKG",
                    "dst": "MEX",
                    "pieces": 177,
                    "weight": 1128,
                    "carriercd": "CX",
                    "carrier": "香港国泰航空有限公司",
                    "goodsname": null,
                    "updatetime": "2023/3/18 9:51:27",
                    "createtime": "2023/3/15 17:15:48",
                    "queueresult": "0",
                    "queuetime": "0",
                    "iscompleted": null,
                    "lstflightinfo": [
                        {
                            "keyid": "ac2794ba-916e-497a-be75-58b545ba6b2d",
                            "bkeyid": "d9c25cb5-b941-4bf9-af61-ff88689371db",
                            "flightno": "CX3080",
                            "flightdate": "2023/2/7 0:00:00",
                            "org": "HKG",
                            "dst": "MEX",
                            "etd": "2023/2/7 0:00:00",
                            "eta": null,
                            "atd": "2023/2/7 8:02:00",
                            "ata": "2023/2/7 12:45:00",
                            "pieces": 177,
                            "weight": 1128,
                            "volume": null,
                            "goodsname": null,
                            "status": "ARR",
                            "statusdescription": null,
                            "uld": null,
                            "updatetime": "2023/3/18 9:51:27",
                            "sno": 1
                        }
                    ],
                    "lstcargostatus": [
                        {
                            "keyid": "2d15d280-12fa-4cd9-a5d9-90cc170fbc0f",
                            "bkeyid": "d9c25cb5-b941-4bf9-af61-ff88689371db",
                            "flightno": "",
                            "eventtime": "2023/2/5 1:48:00",
                            "station": "HKG",
                            "pieces": 177,
                            "weight": 1128,
                            "volume": null,
                            "status": null,
                            "fstatus": "FOH",
                            "statedescription": "Freight on hand",
                            "uldInfo": null,
                            "updatetime": "2023/3/18 9:51:27",
                            "isest": "N"
                        },
                        {
                            "keyid": "bcfd8f15-a86d-4b1a-aaf3-943996dced95",
                            "bkeyid": "d9c25cb5-b941-4bf9-af61-ff88689371db",
                            "flightno": "",
                            "eventtime": "2023/2/5 14:58:00",
                            "station": "HKG",
                            "pieces": 177,
                            "weight": 1128,
                            "volume": null,
                            "status": "RCS",
                            "fstatus": "RCS",
                            "statedescription": "Airline Received",
                            "uldInfo": null,
                            "updatetime": "2023/3/18 9:51:27",
                            "isest": "N"
                        },
                        {
                            "keyid": "cd52a9f4-eb7c-4a66-976a-1ee39f87326b",
                            "bkeyid": "d9c25cb5-b941-4bf9-af61-ff88689371db",
                            "flightno": "CX3080",
                            "eventtime": "2023/2/7 8:02:00",
                            "station": "HKG",
                            "pieces": 177,
                            "weight": 1128,
                            "volume": null,
                            "status": "DEP",
                            "fstatus": "DEP",
                            "statedescription": "Departed",
                            "uldInfo": null,
                            "updatetime": "2023/3/18 9:51:27",
                            "isest": "N"
                        },
                        {
                            "keyid": "30f14b75-a037-4b40-9708-e6a2b036d9de",
                            "bkeyid": "d9c25cb5-b941-4bf9-af61-ff88689371db",
                            "flightno": "CX3080",
                            "eventtime": "2023/2/7 9:03:00",
                            "station": "HKG",
                            "pieces": 177,
                            "weight": 1128,
                            "volume": null,
                            "status": "MAN",
                            "fstatus": "MAN",
                            "statedescription": "Manifest received",
                            "uldInfo": null,
                            "updatetime": "2023/3/18 9:51:27",
                            "isest": "N"
                        },
                        {
                            "keyid": "438115ba-6904-48b4-a6bf-8f7668366141",
                            "bkeyid": "d9c25cb5-b941-4bf9-af61-ff88689371db",
                            "flightno": "CX3080",
                            "eventtime": "2023/2/7 11:44:00",
                            "station": "MEX",
                            "pieces": 177,
                            "weight": 1128,
                            "volume": null,
                            "status": "RCF",
                            "fstatus": "RCF",
                            "statedescription": "Freight accepted at airport",
                            "uldInfo": null,
                            "updatetime": "2023/3/18 9:51:27",
                            "isest": "N"
                        },
                        {
                            "keyid": "80bafc13-c773-450f-bb24-bb9ac76a482d",
                            "bkeyid": "d9c25cb5-b941-4bf9-af61-ff88689371db",
                            "flightno": "CX3080",
                            "eventtime": "2023/2/7 11:44:00",
                            "station": "MEX",
                            "pieces": 177,
                            "weight": 1128,
                            "volume": null,
                            "status": "RWB",
                            "fstatus": "AWD",
                            "statedescription": "Document delivered to forwarder",
                            "uldInfo": null,
                            "updatetime": "2023/3/18 9:51:27",
                            "isest": "N"
                        },
                        {
                            "keyid": "d0ce0c0e-9956-49f5-94e6-f1ef3936009a",
                            "bkeyid": "d9c25cb5-b941-4bf9-af61-ff88689371db",
                            "flightno": "CX3080",
                            "eventtime": "2023/2/7 12:45:00",
                            "station": "MEX",
                            "pieces": 177,
                            "weight": 1128,
                            "volume": null,
                            "status": "ARR",
                            "fstatus": "ARR",
                            "statedescription": "Arrived",
                            "uldInfo": null,
                            "updatetime": "2023/3/18 9:51:27",
                            "isest": "N"
                        },
                        {
                            "keyid": "6c430e6a-29da-48ca-b295-1d9b30da3d96",
                            "bkeyid": "d9c25cb5-b941-4bf9-af61-ff88689371db",
                            "flightno": "",
                            "eventtime": "2023/2/8 10:22:00",
                            "station": "MEX",
                            "pieces": 177,
                            "weight": 1128,
                            "volume": null,
                            "status": "DLV",
                            "fstatus": "DLV",
                            "statedescription": "Delivered",
                            "uldInfo": null,
                            "updatetime": "2023/3/18 9:51:27",
                            "isest": "N"
                        }
                    ],
                    "lstlinestatus": null
                }
            ]
        },
        "success": true,
        "status": 0,
        "message": null,
        "data": null,
        "faildata": null
    }
]
上一页
空运状态单节点推送
下一页
国家、地区ISO Alpha-3代码表
Built with