云当网数据接口
  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/portdatabookingdownload
调用该接口前,需要先使用[获取Token API]获取token。token 有效期是2小时,超过了2小时得重新获取。

请求参数

Query 参数

Body 参数multipart/form-data

示例代码

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/portdatabookingdownload?companyid=1000&token=1382b465-f972-46da-a5b2-1d286fa84d96' \
--form 'data="{\"referenceno\":\"COAU8036422250\",\"ctnrno\":\"\",\"portcd\":\"CNSHA\"}"'

返回响应

🟢200成功
application/json
Body

示例
{
    "referenceno": "COAU8036422250",
    "localkeyid": "5859f9a7-d0e8-428f-99f3-6e947169a005",
    "data": [
        {
            "ctnrno": "CSLU2225565",
            "blno": "COAU8036422250",
            "owner": "CSE",
            "vslname": "OOCL ATLANTA",
            "voy": "153W",
            "ieid": "E",
            "csize": "20",
            "ctype": "GP",
            "terminalcd": "SHAZDMT",
            "terminal": "上海振东(外二)",
            "portcd": "CNSHA",
            "slot": null,
            "sealno": "CS692521",
            "customstatus": "Y",
            "customtime": null,
            "terminalrlsstatus": "Y",
            "terminalrlstime": null,
            "inspectionstatus": null,
            "inspectiontime": null,
            "ifci": null,
            "citime": null,
            "dgid": null,
            "dglevel": "",
            "dgunno": "",
            "rfid": null,
            "rftmp": " ",
            "poundwgt": "25835",
            "vgm": null,
            "tarewgt": "2185",
            "pieces": "12",
            "grosswgt": "23650",
            "volume": "12",
            "pol": "CNSHA",
            "pod": "PKKHI",
            "dtp": "PKKHI",
            "intime": "2023/3/22 5:06:44",
            "outtime": "2023/3/25 0:07:27",
            "declarationno": null,
            "preloadid": null,
            "preloadtime": null,
            "intype": "出口进场",
            "outype": "出口装船",
            "cntrdynamic": "出口装船",
            "cntrdynamiccd": "",
            "truckno": "沪A97448",
            "efid": "F"
        },
        {
            "ctnrno": "FCIU4962297",
            "blno": "COAU8036422250",
            "owner": "CSE",
            "vslname": "OOCL ATLANTA",
            "voy": "153W",
            "ieid": "E",
            "csize": "20",
            "ctype": "GP",
            "terminalcd": "SHAZDMT",
            "terminal": "上海振东(外二)",
            "portcd": "CNSHA",
            "slot": null,
            "sealno": "CS841211",
            "customstatus": "Y",
            "customtime": null,
            "terminalrlsstatus": "Y",
            "terminalrlstime": null,
            "inspectionstatus": null,
            "inspectiontime": null,
            "ifci": null,
            "citime": null,
            "dgid": null,
            "dglevel": "",
            "dgunno": "",
            "rfid": null,
            "rftmp": " ",
            "poundwgt": "26475",
            "vgm": null,
            "tarewgt": "2180",
            "pieces": "11",
            "grosswgt": "24295",
            "volume": "11",
            "pol": "CNSHA",
            "pod": "PKKHI",
            "dtp": "PKKHI",
            "intime": "2023/3/22 12:04:22",
            "outtime": "2023/3/25 0:00:03",
            "declarationno": null,
            "preloadid": null,
            "preloadtime": null,
            "intype": "出口进场",
            "outype": "出口装船",
            "cntrdynamic": "出口装船",
            "cntrdynamiccd": "",
            "truckno": "沪A97241",
            "efid": "F"
        },
        {
            "ctnrno": "OOLU1641325",
            "blno": "COAU8036422250",
            "owner": "CSE",
            "vslname": "OOCL ATLANTA",
            "voy": "153W",
            "ieid": "E",
            "csize": "20",
            "ctype": "GP",
            "terminalcd": "SHAZDMT",
            "terminal": "上海振东(外二)",
            "portcd": "CNSHA",
            "slot": null,
            "sealno": "CS823953",
            "customstatus": "Y",
            "customtime": null,
            "terminalrlsstatus": "Y",
            "terminalrlstime": null,
            "inspectionstatus": null,
            "inspectiontime": null,
            "ifci": null,
            "citime": null,
            "dgid": null,
            "dglevel": "",
            "dgunno": "",
            "rfid": null,
            "rftmp": " ",
            "poundwgt": "27915",
            "vgm": null,
            "tarewgt": "2250",
            "pieces": "12",
            "grosswgt": "25665",
            "volume": "12",
            "pol": "CNSHA",
            "pod": "PKKHI",
            "dtp": "PKKHI",
            "intime": "2023/3/22 12:04:26",
            "outtime": "2023/3/25 0:00:00",
            "declarationno": null,
            "preloadid": null,
            "preloadtime": null,
            "intype": "出口进场",
            "outype": "出口装船",
            "cntrdynamic": "出口装船",
            "cntrdynamiccd": "",
            "truckno": "沪A97448",
            "efid": "F"
        }
    ],
    "success": true,
    "status": 0,
    "message": null
}
⚪接口请求成功
⚪1接口请求失败
修改于 2024-11-21 01:58:08
上一页
港区数据全量推送
下一页
船舶靠泊计划
Built with