- 通用接口
- 海运数据接口
- 空运数据接口
- 陆运数据接口
- 关务数据接口
- 其他接口
报关状态推送接口
POST
2.请按照我们定义的错误代码字段code返回结果,否则推送失败无法重新推送,谢谢!
请求参数
Body 参数application/json
array of:
id
integer
运单Id
entryId
string
报关单号
<= 18 字符
entDeclNo
string
检验检疫号
<= 30 字符
ieId
string
进出口标识
<= 2 字符
blNo
string
订阅号(提单号)
<= 36 字符
extendNo
string
拓展字段
<= 255 字符
localKey
string
客户本地关键字
<= 38 字符
orgCode
string
所属组织代码
<= 64 字符
customer
string
客户
<= 128 字符
subscribeStatus
string
订阅状态
<= 8 字符
subscribeErro
string
订阅异常信息
<= 255 字符
subscribeTime
string <date-time>
订阅时间
endStatus
string
结束状态
<= 20 字符
endId
integer
结束标记Id
trackStatus
string
跟踪状态
<= 20 字符
errorStatus
string
异常状态
<= 20 字符
errorMessage
string
异常备注
<= 255 字符
dataStatus
string
数据状态
<= 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-31T18:14:47.643",
"endStatus": "",
"endId": "0",
"trackStatus": "T",
"errorStatus": "",
"errorMessage": "",
"dataStatus": "Y",
"firstUpdateTime": "2025-03-03T09:56:53",
"dataUpdateTime": "2025-03-12T17:16:42",
"customsStatus": [
{
"channelName": "出口理货报告",
"note": "CULVNAS2507540-接受申报",
"noticeDate": "2025-03-13T12:35:32",
"statusCd": "TRA",
"entryId": ""
},
{
"channelName": "出境确报离港时间",
"note": "CA NAGOYA 2511W",
"noticeDate": "2025-03-13T12:10:00",
"statusCd": "EDEP",
"entryId": ""
},
{
"channelName": "出境/港单证申报-海事",
"note": "CA NAGOYA 2511W-已通过",
"noticeDate": "2025-03-13T09:17:54",
"statusCd": "ODMS",
"entryId": ""
},
{
"channelName": "出港动态确报-海关",
"note": "CA NAGOYA 2511W-已通过",
"noticeDate": "2025-03-13T00:00:00",
"statusCd": "ATP",
"entryId": ""
},
{
"channelName": "出港动态确报-海关",
"note": "CA NAGOYA 2511W-已受理",
"noticeDate": "2025-03-13T00:00:00",
"statusCd": "ATC",
"entryId": ""
},
{
"channelName": "装载舱单",
"note": "CULVNAS2507540-接受申报",
"noticeDate": "2025-03-12T17:16:42",
"statusCd": "BCA",
"entryId": ""
},
{
"channelName": "预配舱单(主要数据)",
"note": "CULVNAS2507540-提运单放行",
"noticeDate": "2025-03-12T17:10:54",
"statusCd": "BLR",
"entryId": ""
},
{
"channelName": "海关出境/港单证申报-出港申报单",
"note": "CA NAGOYA 2511W-已通过",
"noticeDate": "2025-03-12T00:00:00",
"statusCd": "ACC",
"entryId": ""
},
{
"channelName": "海关出境/港单证申报-出港申报单",
"note": "CA NAGOYA 2511W-允许放行",
"noticeDate": "2025-03-12T00:00:00",
"statusCd": "SUC",
"entryId": ""
},
{
"channelName": "海关出境/港单证申报-出港申报单",
"note": "CA NAGOYA 2511W-已受理",
"noticeDate": "2025-03-12T00:00:00",
"statusCd": "REC",
"entryId": ""
},
{
"channelName": "海关已放行",
"note": "516620250******984-放行",
"noticeDate": "2025-03-03T10:47:56",
"statusCd": "PAS",
"entryId": "516620250******984"
},
{
"channelName": "出口运抵报告",
"note": "CULVNAS2507540-已运抵",
"noticeDate": "2025-03-03T10:47:52",
"statusCd": "已运抵",
"entryId": ""
},
{
"channelName": "一般出口报关单",
"note": "516620250******984-通关无纸化审结",
"noticeDate": "2025-03-03T09:56:58",
"statusCd": "CDC",
"entryId": "516620250******984"
},
{
"channelName": "一般出口报关单",
"note": "516620250******984-海关入库成功",
"noticeDate": "2025-03-03T09: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-31T18:14:47.643",
"endStatus": "",
"endId": "0",
"trackStatus": "T",
"errorStatus": "",
"errorMessage": "",
"dataStatus": "Y",
"firstUpdateTime": "2025-03-03T09:56:53",
"dataUpdateTime": "2025-03-12T17:16:42",
"customsStatus": [
{
"channelName": "出口理货报告",
"note": "CULVNAS2507540-接受申报",
"noticeDate": "2025-03-13T12:35:32",
"statusCd": "TRA",
"entryId": ""
},
{
"channelName": "出境确报离港时间",
"note": "CA NAGOYA 2511W",
"noticeDate": "2025-03-13T12:10:00",
"statusCd": "EDEP",
"entryId": ""
},
{
"channelName": "出境/港单证申报-海事",
"note": "CA NAGOYA 2511W-已通过",
"noticeDate": "2025-03-13T09:17:54",
"statusCd": "ODMS",
"entryId": ""
},
{
"channelName": "出港动态确报-海关",
"note": "CA NAGOYA 2511W-已通过",
"noticeDate": "2025-03-13T00:00:00",
"statusCd": "ATP",
"entryId": ""
},
{
"channelName": "出港动态确报-海关",
"note": "CA NAGOYA 2511W-已受理",
"noticeDate": "2025-03-13T00:00:00",
"statusCd": "ATC",
"entryId": ""
},
{
"channelName": "装载舱单",
"note": "CULVNAS2507540-接受申报",
"noticeDate": "2025-03-12T17:16:42",
"statusCd": "BCA",
"entryId": ""
},
{
"channelName": "预配舱单(主要数据)",
"note": "CULVNAS2507540-提运单放行",
"noticeDate": "2025-03-12T17:10:54",
"statusCd": "BLR",
"entryId": ""
},
{
"channelName": "海关出境/港单证申报-出港申报单",
"note": "CA NAGOYA 2511W-已通过",
"noticeDate": "2025-03-12T00:00:00",
"statusCd": "ACC",
"entryId": ""
},
{
"channelName": "海关出境/港单证申报-出港申报单",
"note": "CA NAGOYA 2511W-允许放行",
"noticeDate": "2025-03-12T00:00:00",
"statusCd": "SUC",
"entryId": ""
},
{
"channelName": "海关出境/港单证申报-出港申报单",
"note": "CA NAGOYA 2511W-已受理",
"noticeDate": "2025-03-12T00:00:00",
"statusCd": "REC",
"entryId": ""
},
{
"channelName": "海关已放行",
"note": "516620250******984-放行",
"noticeDate": "2025-03-03T10:47:56",
"statusCd": "PAS",
"entryId": "516620250******984"
},
{
"channelName": "出口运抵报告",
"note": "CULVNAS2507540-已运抵",
"noticeDate": "2025-03-03T10:47:52",
"statusCd": "已运抵",
"entryId": ""
},
{
"channelName": "一般出口报关单",
"note": "516620250******984-通关无纸化审结",
"noticeDate": "2025-03-03T09:56:58",
"statusCd": "CDC",
"entryId": "516620250******984"
},
{
"channelName": "一般出口报关单",
"note": "516620250******984-海关入库成功",
"noticeDate": "2025-03-03T09:56:53",
"statusCd": "EDC",
"entryId": "516620250******984"
}
]
}
]'
返回响应
🟢200成功
application/json
Body
code
integer
状态代码
message
string
状态描述
<= 255 字符
示例
{
"code": 200,
"message": "success"
}
修改于 2025-04-14 02:16:27