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

空运状态节点全量推送

POST
*推送的API地址是需要贵司提供的,谢谢!

请求参数

Body 参数application/json
keyid
string 
云当主键
必需
>= 36 字符
localkeyid
string 
客户本地关键字
可选
>= 36 字符
awbno
string 
空运单号
必需
>= 11 字符<= 11 字符
pieces
string 
件数
可选
weight
string 
重量
可选
volume
string 
体积
可选
flightno
string 
航班号
可选
>= 10 字符
org
string 
始发站
可选
>= 18 字符
orgcd
string 
始发站机场代码
可选
>= 5 字符
dst
string 
目的站
可选
>= 64 字符
dstcd
string 
目的站机场代码
可选
>= 5 字符<= 5 字符
currentnode
string 
当前节点
可选
>= 16 字符
currentnodetime
string <date-time>
当前节点时间
可选
currentnodeplace
string 
当前节点发生地点
可选
>= 64 字符
carriercd
string 
航司代码
可选
>= 2 字符
carrier
string 
航司名称
可选
>= 18 字符
updatetime
string <date-time>
更新时间
可选
createtime
string <date-time>
创建时间
可选
bkdtime
string <date-time>
订舱时间
可选
bkdplace
string 
订舱地点
可选
>= 64 字符
rcstime
string <date-time>
收货时间
可选
rcsplace
string 
收货地点
可选
>= 64 字符
mnftime
string <date-time>
配载时间
可选
mnfplace
string 
配载地点
可选
>= 64 字符
deptime
string <date-time>
起飞时间
可选
depplace
string 
起飞地点
可选
>= 64 字符
arrtime
string <date-time>
抵达时间
可选
arrplace
string 
抵达地点
可选
>= 64 字符
rwbtime
string <date-time>
收单时间
可选
rwbplace
string 
收单地点
可选
>= 64 字符
rcftime
string <date-time>
卸货时间
可选
rcfplace
string 
卸货地点
可选
>= 64 字符
custime
string <date-time>
清关时间
可选
cusplace
string 
清关地点
可选
>= 64 字符
nfdtime
string <date-time>
到货通知时间
可选
nfdplace
string 
到货通知地点
可选
>= 64 字符
dlvtime
string <date-time>
提货时间
可选
dlvplace
string 
提货地点
可选
>= 64 字符
endtime
string <date-time>
结束时间
可选
isendforce
string 
是否强制结束
可选
Y=是,N=否
>= 2 字符
datatime
string <date-time>
第一次获取到数据的时间
可选
lstairlinertrackingstatus
array [object {12}] 
空运动态列表
可选
awbno
string 
空运单号
可选
>= 11 字符<= 11 字符
statuscd
string 
动态代码
可选
>= 5 字符
statedescription
string 
动态描述
可选
>= 128 字符
statedescription_en
string 
动态英文描述
可选
>= 256 字符
statustime
string <date-time>
动态时间
可选
statusplace
string 
动态发生地点
可选
>= 64 字符
flightno
string 
航班号
可选
>= 18 字符
isest
string 
是否是预计节点
可选
Y=是,N=否
>= 2 字符
pieces
integer 
件数
可选
weight
number <double>
重量
可选
volume
number <double>
体积
可选
ono
string 
序号
可选
>= 2 字符
lstflightinfo
array [object {13}] 
航班信息列表
可选
flightno
string 
航班号
可选
>= 18 字符
flightdate
string <date-time>
航班日期
可选
org
string 
始发站
可选
>= 64 字符
orgcd
string 
始发站代码
可选
>= 5 字符
dst
string 
目的站
可选
>= 64 字符
dstcd
string 
目的站代码
可选
>= 5 字符
etd
string <date-time>
预计起飞时间
可选
eta
string <date-time>
预计抵达时间
可选
atd
string <date-time>
实际起飞时间
可选
ata
string <date-time>
实际抵达时间
可选
pieces
integer 
件数
可选
weight
number <double>
重量
可选
volume
number <double>
体积
可选
示例
{
    "keyid": "db37f738-d57b-40ed-9918-497a1e32d053",
    "localkeyid": null,
    "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,
    "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",
    "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,
    "lstairlinertrackingstatus": [
        {
            "awbno": "16049259523",
            "statuscd": "RCS",
            "statedescription": "进仓",
            "statedescription_en": "Airline Received",
            "statustime": "2023/2/5 14:58:00",
            "statusplace": "HKG",
            "flightno": "",
            "isest": "N",
            "sno": 1,
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "2"
        },
        {
            "awbno": "16049259523",
            "statuscd": "DEP",
            "statedescription": "起飞",
            "statedescription_en": "Departed",
            "statustime": "2023/2/7 8:02:00",
            "statusplace": "HKG",
            "flightno": "CX3080",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "4"
        },
        {
            "awbno": "16049259523",
            "statuscd": "MAN",
            "statedescription": "配载",
            "statedescription_en": "Manifest received",
            "statustime": "2023/2/7 9:03:00",
            "statusplace": "HKG",
            "flightno": "CX3080",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "3"
        },
        {
            "awbno": "16049259523",
            "statuscd": "RCF",
            "statedescription": "卸货",
            "statedescription_en": "Freight accepted at airport",
            "statustime": "2023/2/7 11:44:00",
            "statusplace": "MEX",
            "flightno": "CX3080",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "5"
        },
        {
            "awbno": "16049259523",
            "statuscd": "RWB",
            "statedescription": "收单",
            "statedescription_en": "Document delivered to forwarder",
            "statustime": "2023/2/7 11:44:00",
            "statusplace": "MEX",
            "flightno": "CX3080",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "6"
        },
        {
            "awbno": "16049259523",
            "statuscd": "ARR",
            "statedescription": "抵达",
            "statedescription_en": "Arrived",
            "statustime": "2023/2/7 12:45:00",
            "statusplace": "MEX",
            "flightno": "CX3080",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "7"
        },
        {
            "awbno": "16049259523",
            "statuscd": "DLV",
            "statedescription": "提货",
            "statedescription_en": "Delivered",
            "statustime": "2023/2/8 10:22:00",
            "statusplace": "MEX",
            "flightno": "",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "8"
        }
    ],
    "lstflightinfo": [
        {
            "flightno": "CX3080",
            "flightdate": "2023/2/7 0:00:00",
            "org": "HKG",
            "orgcd": "HKG",
            "dst": "MEX",
            "dstcd": "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
        }
    ]
}

示例代码

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://prod-cn.your-api-server.com' \
--header 'Content-Type: application/json' \
--data-raw '{
    "keyid": "db37f738-d57b-40ed-9918-497a1e32d053",
    "localkeyid": null,
    "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,
    "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",
    "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,
    "lstairlinertrackingstatus": [
        {
            "awbno": "16049259523",
            "statuscd": "RCS",
            "statedescription": "进仓",
            "statedescription_en": "Airline Received",
            "statustime": "2023/2/5 14:58:00",
            "statusplace": "HKG",
            "flightno": "",
            "isest": "N",
            "sno": 1,
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "2"
        },
        {
            "awbno": "16049259523",
            "statuscd": "DEP",
            "statedescription": "起飞",
            "statedescription_en": "Departed",
            "statustime": "2023/2/7 8:02:00",
            "statusplace": "HKG",
            "flightno": "CX3080",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "4"
        },
        {
            "awbno": "16049259523",
            "statuscd": "MAN",
            "statedescription": "配载",
            "statedescription_en": "Manifest received",
            "statustime": "2023/2/7 9:03:00",
            "statusplace": "HKG",
            "flightno": "CX3080",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "3"
        },
        {
            "awbno": "16049259523",
            "statuscd": "RCF",
            "statedescription": "卸货",
            "statedescription_en": "Freight accepted at airport",
            "statustime": "2023/2/7 11:44:00",
            "statusplace": "MEX",
            "flightno": "CX3080",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "5"
        },
        {
            "awbno": "16049259523",
            "statuscd": "RWB",
            "statedescription": "收单",
            "statedescription_en": "Document delivered to forwarder",
            "statustime": "2023/2/7 11:44:00",
            "statusplace": "MEX",
            "flightno": "CX3080",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "6"
        },
        {
            "awbno": "16049259523",
            "statuscd": "ARR",
            "statedescription": "抵达",
            "statedescription_en": "Arrived",
            "statustime": "2023/2/7 12:45:00",
            "statusplace": "MEX",
            "flightno": "CX3080",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "7"
        },
        {
            "awbno": "16049259523",
            "statuscd": "DLV",
            "statedescription": "提货",
            "statedescription_en": "Delivered",
            "statustime": "2023/2/8 10:22:00",
            "statusplace": "MEX",
            "flightno": "",
            "isest": "N",
            "pieces": 177,
            "weight": 1128,
            "volume": null,
            "ono": "8"
        }
    ],
    "lstflightinfo": [
        {
            "flightno": "CX3080",
            "flightdate": "2023/2/7 0:00:00",
            "org": "HKG",
            "orgcd": "HKG",
            "dst": "MEX",
            "dstcd": "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
        }
    ]
}'

返回响应

🟢200成功
application/json
Body
status
integer 
返回状态
可选
0=成功,1=失败
message
string 
错误信息
可选
示例
{
    "status": 0,
    "message": ""
}
⚪接口请求成功
⚪1接口请求失败
上一页
空运跟踪订阅
下一页
空运状态单节点推送
Built with