- 通用接口
- API Token获取
- 海运数据接口
- 陆运数据接口
- EIR(电子设备交接单)
- 场站数据
- 车辆GPS
- 关务数据接口
- 美国目的港数据接口
- 美国码头数据
- 美国清关状态
- OCR识别
- 空运数据接口
- 快递数据接口
报关状态推送
POST
💡
状态代码 | 状态名称 |
---|---|
CPI | 查验 |
CDC | 审结 |
EDC | 入库 |
PAS | 放行 |
CLR | 结关 |
CTN | 关税通知 |
请求参数
Body 参数application/json
localkeyid
string
用户上传的本地keyid(The local keyid uploaded by the user)
>= 36 字符<= 36 字符
keyid
string
该回执的主键(The primary key of this receipt)
>= 36 字符<= 36 字符
bkeyid
string
主表的主键(The primary key of the main table)
>= 36 字符<= 36 字符
channelname
string
回执状态(Receipt Event)
>= 50 字符<= 50 字符
entryid
string
报关单号(Customs Declaration Numbe)
>= 18 字符<= 18 字符
blno
string
提单号(BL No.)
>= 36 字符<= 36 字符
noticedate
string <date-time>
回执时间(Receipt Time)
statuscd
string
回执状态代码(Receipt Event Code)
>= 4 字符<= 4 字符
示例
{
"localkeyid": null,
"keyid": "d8e7839f-bcec-4f7b-974a-bacd7c317e8d",
"bkeyid": "8116e4e1-8716-4eb9-ae86-adb84eb8cf81",
"channelname": "海关入库成功",
"entryid": "370820200000136038",
"blno": "EGLV146000201876",
"noticedate": "2020-04-08T11:01:10",
"statuscd": "EDC"
}
示例代码
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 '{
"localkeyid": null,
"keyid": "d8e7839f-bcec-4f7b-974a-bacd7c317e8d",
"bkeyid": "8116e4e1-8716-4eb9-ae86-adb84eb8cf81",
"channelname": "海关入库成功",
"entryid": "370820200000136038",
"blno": "EGLV146000201876",
"noticedate": "2020-04-08T11:01:10",
"statuscd": "EDC"
}'
返回响应
🟢200成功
application/json
Body
status
integer
是否成功
message
string
错误信息
>= 164 字符<= 164 字符
示例
{
"status": 0,
"message": "stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringst"
}
修改于 2025-03-26 06:28:45