Trackingeyes数据接口
  1. 报关状态
Trackingeyes数据接口
  • 通用接口
    • 获取token
      POST
    • 获取云当港口支持代码
      GET
  • 海运数据接口
    • 海运跟踪
      • 海运状态码
      • 海运支持清单
      • 批量运单订阅接口
      • 推送运单动态接口
      • 下载运单详情接口
    • 港区数据
      • 港区支持清单
      • 港区数据订阅接口
      • 港区数据推送接口
      • 港区数据下载接口
    • 集装箱轨迹
      • 集装箱轨迹接口
    • 船舶AIS
      • 单船搜索接口
      • 船舶定位接口
      • 船舶历史挂港接口
      • 船舶轨迹接口
    • 船舶计划
      • 口岸支持清单
      • 船舶计划查询接口
    • 船东电商运价
      • 运价支持清单
      • 运价查询接口
  • 船期表接口
    • 港到港船期
      • 船期支持清单
      • 港到港船期查询接口
      • 船期分页推送接口
    • 航线规划路径
      • 航线规划路径接口
    • 航次挂靠路径
      • 航次挂靠路径支持清单
      • 航次挂靠路径查询接口
  • 空运数据接口
    • 空运状态码
    • 空运支持清单
    • 空运跟踪
      • 批量运单订阅接口
      • 推送运单动态接口
      • 批量运单下载接口
  • 陆运数据接口
    • EIR(电子设备交接单)
      • EIR支持清单
      • EIR获取接口
    • 场站数据
      • 场站支持清单
      • 场站数据订阅接口
      • 场站数据推送接口
    • 车辆GPS
      • 车辆定位接口
      • 车辆轨迹接口
  • 关务数据接口
    • 报关状态
      • 报关状态代码表
      • 报关状态订阅接口
        POST
      • 报关状态推送接口
        POST
      • 下载报关状态接口
        GET
    • 舱单数据
      • 舱单数据订阅接口
      • 舱单数据推送接口
  • 快递数据接口
    • 国家、地区ISO Alpha-3代码表
    • 主状态代码表
    • 子状态代码表
    • 承运商代码表
    • 承运商集团表
    • 特殊承运人代码表
    • 快递数据订阅接口
    • 快递数据推送接口
    • 快递数据下载接口
  • 其他接口
    • 通用港杂费
      • 港杂费代码清单
      • 通用港杂费查询接口
    • 操作时间
      • 操作时间查询接口
  1. 报关状态

报关状态推送接口

POST
1.请提供贵司接收推送的API地址,谢谢!
2.所有的时间字段都是字符串类型,格式为 "yyyy-MM-dd HH:mm:ss", 如果时间没有值则为空字符串""。

请求参数

Body 参数application/json
array of:
id
integer 
运单Id
必需
订阅接口返回的运单Id
entryId
string 
报关单号
可选
<= 18 字符
entDeclNo
string 
检验检疫号
可选
<= 30 字符
ieId
string 
进出口标识
可选
I=进口,E=出口
<= 2 字符
blNo
string 
订阅号(提单号)
可选
<= 36 字符
extendNo
string 
拓展字段
可选
<= 255 字符
localKey
string 
客户本地关键字
可选
<= 38 字符
orgCode
string 
所属组织代码
可选
<= 64 字符
customer
string 
客户
可选
<= 128 字符
subscribeStatus
string 
订阅状态
可选
S=成功,F=失败
<= 8 字符
subscribeErro
string 
订阅异常信息
可选
<= 255 字符
subscribeTime
string <date-time>
订阅时间
可选
endStatus
string 
结束状态
可选
空值‘’=未结束,E=正常结束,EF=强制结束
<= 20 字符
endId
integer 
结束标记Id
可选
0=未结束,其他=已结束;内部使用字段
trackStatus
string 
跟踪状态
可选
T=跟踪中、E=跟踪结束、F=跟踪失败
<= 20 字符
errorStatus
string 
异常状态
可选
T=提示、E=错误,空值
<= 20 字符
errorMessage
string 
异常备注
可选
<= 255 字符
dataStatus
string 
数据状态
可选
Y=有数据,B=船东无数据,空值
<= 20 字符
firstUpdateTime
string <date-time>
首次数据更新时间
可选
dataUpdateTime
string <date-time>
数据更新时间
可选
customsStatus
array [object {5}] 
报关状态信息
可选
channelName
string 
回执状态
可选
<= 50 字符
note
string 
回执备注
可选
<= 255 字符
noticeDate
string <date-time>
回执日期
可选
statusCd
string 
回执状态代码
可选
<= 4 字符
entryId
string 
报关单号
可选
<= 18 字符
示例
[
    {
        "id": 1906651379888427000,
        "entryId": "",
        "entDeclNo": "",
        "ieId": "I",
        "blNo": "CULVNAS2507540",
        "extendNo": "",
        "localKey": "",
        "orgCode": "",
        "customer": "",
        "subscribeStatus": "S",
        "subscribeErro": "",
        "subscribeTime": "2025-03-31 18:14:47",
        "endStatus": "",
        "endId": "0",
        "trackStatus": "T",
        "errorStatus": "",
        "errorMessage": "",
        "dataStatus": "Y",
        "firstUpdateTime": "2025-03-03 09:56:53",
        "dataUpdateTime": "2025-03-12 17:16:42",
        "customsStatus": [
            {
                "channelName": "出口理货报告",
                "note": "CULVNAS2507540-接受申报",
                "noticeDate": "2025-03-13 12:35:32",
                "statusCd": "TRA",
                "entryId": ""
            },
            {
                "channelName": "出境确报离港时间",
                "note": "CA NAGOYA 2511W",
                "noticeDate": "2025-03-13 12:10:00",
                "statusCd": "EDEP",
                "entryId": ""
            },
            {
                "channelName": "出境/港单证申报-海事",
                "note": "CA NAGOYA 2511W-已通过",
                "noticeDate": "2025-03-13 09:17:54",
                "statusCd": "ODMS",
                "entryId": ""
            },
            {
                "channelName": "出港动态确报-海关",
                "note": "CA NAGOYA 2511W-已通过",
                "noticeDate": "2025-03-13 00:00:00",
                "statusCd": "ATP",
                "entryId": ""
            },
            {
                "channelName": "出港动态确报-海关",
                "note": "CA NAGOYA 2511W-已受理",
                "noticeDate": "2025-03-13 00:00:00",
                "statusCd": "ATC",
                "entryId": ""
            },
            {
                "channelName": "装载舱单",
                "note": "CULVNAS2507540-接受申报",
                "noticeDate": "2025-03-12 17:16:42",
                "statusCd": "BCA",
                "entryId": ""
            },
            {
                "channelName": "预配舱单(主要数据)",
                "note": "CULVNAS2507540-提运单放行",
                "noticeDate": "2025-03-12 17:10:54",
                "statusCd": "BLR",
                "entryId": ""
            },
            {
                "channelName": "海关出境/港单证申报-出港申报单",
                "note": "CA NAGOYA 2511W-已通过",
                "noticeDate": "2025-03-12 00:00:00",
                "statusCd": "ACC",
                "entryId": ""
            },
            {
                "channelName": "海关出境/港单证申报-出港申报单",
                "note": "CA NAGOYA 2511W-允许放行",
                "noticeDate": "2025-03-12 00:00:00",
                "statusCd": "SUC",
                "entryId": ""
            },
            {
                "channelName": "海关出境/港单证申报-出港申报单",
                "note": "CA NAGOYA 2511W-已受理",
                "noticeDate": "2025-03-12 00:00:00",
                "statusCd": "REC",
                "entryId": ""
            },
            {
                "channelName": "海关已放行",
                "note": "516620250******984-放行",
                "noticeDate": "2025-03-03 10:47:56",
                "statusCd": "PAS",
                "entryId": "516620250******984"
            },
            {
                "channelName": "出口运抵报告",
                "note": "CULVNAS2507540-已运抵",
                "noticeDate": "2025-03-03 10:47:52",
                "statusCd": "已运抵",
                "entryId": ""
            },
            {
                "channelName": "一般出口报关单",
                "note": "516620250******984-通关无纸化审结",
                "noticeDate": "2025-03-03 09:56:58",
                "statusCd": "CDC",
                "entryId": "516620250******984"
            },
            {
                "channelName": "一般出口报关单",
                "note": "516620250******984-海关入库成功",
                "noticeDate": "2025-03-03 09:56:53",
                "statusCd": "EDC",
                "entryId": "516620250******984"
            }
        ]
    }
]

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.trackingeyes.com' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "id": 1906651379888427000,
        "entryId": "",
        "entDeclNo": "",
        "ieId": "I",
        "blNo": "CULVNAS2507540",
        "extendNo": "",
        "localKey": "",
        "orgCode": "",
        "customer": "",
        "subscribeStatus": "S",
        "subscribeErro": "",
        "subscribeTime": "2025-03-31 18:14:47",
        "endStatus": "",
        "endId": "0",
        "trackStatus": "T",
        "errorStatus": "",
        "errorMessage": "",
        "dataStatus": "Y",
        "firstUpdateTime": "2025-03-03 09:56:53",
        "dataUpdateTime": "2025-03-12 17:16:42",
        "customsStatus": [
            {
                "channelName": "出口理货报告",
                "note": "CULVNAS2507540-接受申报",
                "noticeDate": "2025-03-13 12:35:32",
                "statusCd": "TRA",
                "entryId": ""
            },
            {
                "channelName": "出境确报离港时间",
                "note": "CA NAGOYA 2511W",
                "noticeDate": "2025-03-13 12:10:00",
                "statusCd": "EDEP",
                "entryId": ""
            },
            {
                "channelName": "出境/港单证申报-海事",
                "note": "CA NAGOYA 2511W-已通过",
                "noticeDate": "2025-03-13 09:17:54",
                "statusCd": "ODMS",
                "entryId": ""
            },
            {
                "channelName": "出港动态确报-海关",
                "note": "CA NAGOYA 2511W-已通过",
                "noticeDate": "2025-03-13 00:00:00",
                "statusCd": "ATP",
                "entryId": ""
            },
            {
                "channelName": "出港动态确报-海关",
                "note": "CA NAGOYA 2511W-已受理",
                "noticeDate": "2025-03-13 00:00:00",
                "statusCd": "ATC",
                "entryId": ""
            },
            {
                "channelName": "装载舱单",
                "note": "CULVNAS2507540-接受申报",
                "noticeDate": "2025-03-12 17:16:42",
                "statusCd": "BCA",
                "entryId": ""
            },
            {
                "channelName": "预配舱单(主要数据)",
                "note": "CULVNAS2507540-提运单放行",
                "noticeDate": "2025-03-12 17:10:54",
                "statusCd": "BLR",
                "entryId": ""
            },
            {
                "channelName": "海关出境/港单证申报-出港申报单",
                "note": "CA NAGOYA 2511W-已通过",
                "noticeDate": "2025-03-12 00:00:00",
                "statusCd": "ACC",
                "entryId": ""
            },
            {
                "channelName": "海关出境/港单证申报-出港申报单",
                "note": "CA NAGOYA 2511W-允许放行",
                "noticeDate": "2025-03-12 00:00:00",
                "statusCd": "SUC",
                "entryId": ""
            },
            {
                "channelName": "海关出境/港单证申报-出港申报单",
                "note": "CA NAGOYA 2511W-已受理",
                "noticeDate": "2025-03-12 00:00:00",
                "statusCd": "REC",
                "entryId": ""
            },
            {
                "channelName": "海关已放行",
                "note": "516620250******984-放行",
                "noticeDate": "2025-03-03 10:47:56",
                "statusCd": "PAS",
                "entryId": "516620250******984"
            },
            {
                "channelName": "出口运抵报告",
                "note": "CULVNAS2507540-已运抵",
                "noticeDate": "2025-03-03 10:47:52",
                "statusCd": "已运抵",
                "entryId": ""
            },
            {
                "channelName": "一般出口报关单",
                "note": "516620250******984-通关无纸化审结",
                "noticeDate": "2025-03-03 09:56:58",
                "statusCd": "CDC",
                "entryId": "516620250******984"
            },
            {
                "channelName": "一般出口报关单",
                "note": "516620250******984-海关入库成功",
                "noticeDate": "2025-03-03 09:56:53",
                "statusCd": "EDC",
                "entryId": "516620250******984"
            }
        ]
    }
]'

返回响应

🟢200成功
application/json
Body
code
integer 
状态码
必需
200=成功
type
string 
类型
必需
S=成功、W=警告、E=异常
message
string 
错误信息
可选
<= 255 字符
time
string 
时间
必需
示例
{
    "code": 200,
    "type": "S",
    "message": null,
    "time": "2023-12-13 01:20:38"
}
上一页
报关状态订阅接口
下一页
下载报关状态接口
Built with