- 通用接口
- API Token获取
- 海运数据接口
- 陆运数据接口
- EIR(电子设备交接单)
- 场站数据
- 车辆GPS
- 关务数据接口
- 报关状态
- 舱单数据
- 美国目的港数据接口
- 美国码头数据
- 美国清关状态
- OCR识别
- 空运数据接口
- 快递数据接口
美国清关数据查询接口
GET
http://apis.yundangnet.com/api/v1/abi-queryv2
请求参数
Query 参数
MOT
string
必需
示例值:
O
blno
string
海运、空运单号
示例值:
MATS1481667000
carriercd
string
可选
示例值:
MATS
companyid
string
企业代码
示例值:
1000
token
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://apis.yundangnet.com/api/v1/abi-queryv2?MOT=O&blno=MATS1481667000&carriercd=MATS&companyid=1000&token='
返回响应
🟢200海运成功
application/json
Body
data
object
内容集合
keyid
string
主表主键
>= 36 字符<= 36 字符
mblno
string
主单号
>= 36 字符<= 36 字符
vslname
string
船名
>= 64 字符<= 64 字符
voy
string
航次
>= 32 字符<= 32 字符
pol
string
起运港
>= 64 字符<= 64 字符
pod
string
目的港
>= 64 字符<= 64 字符
carriercd
string
船东代码
>= 18 字符<= 18 字符
piece
string
主单总件数
>= 18 字符<= 18 字符
billtype
string
主单类型
>= 1 字符<= 1 字符
isisf
string
是否已发送isf
>= 1 字符<= 1 字符
pttauthdate
string <date-time>
转关本地仓库授权时间
firmscode
string
Bond 仓库代码
>= 8 字符<= 8 字符
status
string
主单状态
>= 18 字符<= 18 字符
ATD
string <date-time>
实际离港时间
ATA
string <date-time>
实际到港时间
lsthouse
array [object {26}]
货物清单集合
success
boolean
是否获取成功
status
string
状态码
message
null
错误信息
示例
{
"data": {
"keyid": "f9775f10-fa86-4659-92ad-309df0ab28ad",
"mblno": "MAEU293334383",
"vslname": "MSC DANIT",
"voy": "129N",
"pol": "YangShan",
"pod": "LOS ANGELES",
"carriercd": "马士基",
"piece": 1282,
"billtype": "M",
"isisf": true,
"pttauthdate": "2021-07-16 14:25:00",
"firmscode": "Y360",
"status": "Closed",
"ATD": "2021-08-02",
"ATA": "2021-08-19 00:00",
"lsthouse": [
{
"keyid": "asfgasdgsah-fsas-4659-92ad-sagas0d",
"fkeyid": "f9775f10-fa86-4659-92ad-309df0ab28ad",
"filercd": "AMZD",
"houseno": "CN21176DECC7",
"piece": 669,
"pieceunit": "CTN",
"lastdispositioncd": "1S",
"lasteventdate": "2021-09-06 02:45",
"carriermatchedtime": "2021-07-19 02:39",
"isfmatchedtime": "2021-07-13 02:05",
"inbondtype": null,
"inbondstatus": null,
"inbondnumber": null,
"inbondpolcd": null,
"inbondpol": null,
"inbondpodcd": null,
"inbondpod": null,
"inbondauthdate": null,
"inbondarrivaldate": null,
"inbondexportdate": null,
"inbondcompletedate": null,
"holddispositioncd": null,
"holddate": null,
"holdremovedate": null,
"releaseddate": "2021-08-14 02:00"
},
{
"keyid": "jgf8405gdgsah-fsas-4659-92ad-sagas0d",
"fkeyid": "f9775f10-fa86-4659-92ad-309df0ab28ad",
"filercd": "AMZD",
"houseno": "CN217478BDD6",
"piece": 30,
"pieceunit": "CTN",
"lastdispositioncd": "1S",
"lasteventdate": "2021-09-06 02:45",
"carriermatchedtime": "2021-07-19 02:39",
"isfmatchedtime": "2021-07-13 02:05",
"inbondtype": null,
"inbondstatus": null,
"inbondstatedescription": null,
"inbondnumber": null,
"inbondpolcd": null,
"inbondpol": null,
"inbondpodcd": null,
"inbondpod": null,
"inbondauthdate": null,
"inbondarrivaldate": null,
"inbondexportdate": null,
"inbondcompletedate": null,
"holddispositioncd": null,
"holddate": null,
"holdremovedate": null,
"releaseddate": "2021-08-14 02:00"
},
{
"keyid": "56558asfah-fsas-4659-asd9-sagas0d",
"fkeyid": "f9775f10-fa86-4659-92ad-309df0ab28ad",
"filercd": "AMZD",
"houseno": "CN21BB16BBDB",
"piece": 175,
"pieceunit": "CTN",
"lastdispositioncd": "1S",
"lasteventdate": "2021-09-06 02:45",
"carriermatchedtime": "2021-07-19 02:39",
"isfmatchedtime": "2021-07-13 02:05",
"inbondtype": null,
"inbondstatus": null,
"inbondstatedescription": null,
"inbondnumber": null,
"inbondpolcd": null,
"inbondpol": null,
"inbondpodcd": null,
"inbondpod": null,
"inbondauthdate": null,
"inbondarrivaldate": null,
"inbondexportdate": null,
"inbondcompletedate": null,
"holddispositioncd": null,
"holddate": null,
"holdremovedate": null,
"releaseddate": "2021-08-14 02:00"
}
]
},
"success": true,
"status": "0",
"message": null
}
🟢200空运成功
修改于 2023-10-31 09:07:43