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

海运跟踪下载(按提单号/订舱号订阅)

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

请求参数

Query 参数

Body 参数application/x-www-form-urlencoded

示例代码

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/bookingv3-liner?companyid=1000&token=d450e2c1-0699-4521-a73a-4f053b04f0ba' \
--data-urlencode 'data=[{"keyid":"123","carriercd":"COSCO","referenceno":"6135761320","pol":"CNNGB","dtp":""}]'

返回响应

🟢200成功
application/json
Body

示例
[
    {
        "objlinertracking": {
            "keyid": "5294ee29-b4f2-47f9-a917-66ea4a641761",
            "localkeyid": null,
            "blprefix": null,
            "blno": "E470020041",
            "bkgno": "E470020041",
            "trfsno": null,
            "ctnrno": "TCNU3053817",
            "bkgvolumn": "4 units (4 * 40')",
            "plr": "PORT KLANG (MYPKG)",
            "plrcd": "MYLPK",
            "pol": "PORT KLANG (MYPKG)",
            "polcd": "MYLPK",
            "dtp": "NORFOLK",
            "dtpcd": "USORF",
            "pld": "CHICAGO, IL (USCHI)",
            "pldcd": "USCHI",
            "stsptime": "2023/10/16 21:29:00",
            "stspplace": "PORT KLANG - G-fortune depot",
            "fcgitime": null,
            "cggitime": null,
            "cloadtime": null,
            "cytctime": null,
            "cytcplace": null,
            "gitmtime": null,
            "gitmplace": null,
            "passtime": null,
            "passplace": null,
            "ispass": null,
            "ispreload": null,
            "lobdtime": "2023/10/24 8:49:00",
            "lobdplace": "PORT KLANG - WESTPORTS",
            "dlpttime": "2023/10/24 12:12:00",
            "dlptplace": "PORT KLANG - WESTPORTS",
            "etdpol": "2023/10/24 12:12:00",
            "trsptime": "2023/11/1 10:41:00",
            "trspplace": "SINGAPORE - PSA SINGAPORE",
            "etapld": "2023/12/12 12:00:00",
            "dschtime": null,
            "dschplace": "NORFOLK",
            "terminalpld": "",
            "terminaldtp": "NORFOLK INTERNATIONAL TERMINAL(NIT) (Firms code:L005)",
            "pickupreference": null,
            "railcode": null,
            "sealno": null,
            "csize": null,
            "ctype": null,
            "stcstime": null,
            "stcsplace": null,
            "rcvetime": null,
            "rcveplace": null,
            "currentnode": "TSDP",
            "currentnodetime": "2023/11/1 12:57:01",
            "currentnodeplace": "SINGAPORE",
            "depotcd": null,
            "depot": null,
            "terminalcd": null,
            "terminal": null,
            "vslname": "ONE EAGLE",
            "voy": "030E",
            "carriercd": "YML",
            "carrier": null,
            "updatetime": "2023/11/15 15:18:35",
            "createtime": "2023/10/24 20:45:28",
            "declarationno": null,
            "referenceno": "E470020041",
            "isctnr": "",
            "currentvslname": "ONE EAGLE",
            "currentvoy": "030E",
            "companycd": null,
            "endtime": null,
            "isendforce": null,
            "tmpstime": null,
            "istmps": null,
            "lstlinertrackingstatus": [],
            "lstlinertrackingais": [],
            "lstlinertrackingctnrinfo": [
                {
                    "keyid": "77660ca2-234f-4db5-acbd-bf8e34883722",
                    "fkeyid": "5294ee29-b4f2-47f9-a917-66ea4a641761",
                    "ctnrno": "TCNU3053817",
                    "blno": "YMJAE470020041",
                    "sealno": "YMAP326946",
                    "csize": "40",
                    "ctype": "HQ",
                    "pkgs": null,
                    "gwgt": null,
                    "currentnode": null,
                    "currentnodetime": null,
                    "createtime": "2023/11/14 22:17:49",
                    "updatetime": "2023/11/14 22:17:49",
                    "lstLinertrackingStatus": [
                        {
                            "keyid": "0d736f7b-3fc1-4092-9ec7-e4decdb37d79",
                            "fkeyid": "77660ca2-234f-4db5-acbd-bf8e34883722",
                            "blno": "E470020041",
                            "statuscd": "STSP",
                            "statedescription": "提空",
                            "statedescription_en": "Empty to Shipper",
                            "statustime": "2023/10/17 10:28:00",
                            "statusplace": "PORT KLANG - G-fortune depot",
                            "statusplacecd": "MYLPK",
                            "statusplace_cn": null,
                            "vslname": "TRUCK",
                            "voy": "",
                            "isest": "N",
                            "cancelid": null,
                            "sourcecd": "1",
                            "updatetime": "2023/11/14 22:17:49",
                            "createtime": "2023/11/14 22:17:49",
                            "transportation": "TRUCK",
                            "transportationcd": null
                        },
                        {
                            "keyid": "64f9df79-69ff-4d80-817c-a95e0dab9461",
                            "fkeyid": "77660ca2-234f-4db5-acbd-bf8e34883722",
                            "blno": "E470020041",
                            "statuscd": null,
                            "statedescription": "Received at Origin",
                          
修改于 2024-05-27 05:57:41
上一页
海运箱动态全量推送(按提单号/订舱号订阅)
下一页
海运跟踪箱号订阅
Built with