Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

接口地址

调试url:http://api.t.baoguan001.com/api/docking/receiptsingle

正式url:http://api.platform.codeflagai.com/api/docking/receiptsingle

请求方式post
入参(json)


字段

类型

描述

必填

备注

orderOutNo

String

业务流水号

Y

唯一标记

paramJson

json

回执json

Y


字段

类型

描述

必填

备注

channel

String

回执代码


参见《附件3:海关状态

note

String

回执说明



noticeDate

String

通知时间


yyyy-MM-dd HH:mm:ss

customMaster

String

申报地海关



entryId

String

报关单编号



dDate
String
申报日期

yyyy-MM-dd
cusCiqNo
String
关检关联号

列如:E20200000410351727
ieDate
String
进出口日期

yyyy-MM-dd
cusRetSeqNo
String回执号

包装种类


描述:红框部分为回执号


出参


字段

类型

描述

备注

code

int

200=成功


msg

String

接口返回信息


data

json

返回数据



描述


...

接口地址

在信号旗中配置回调接口,接口地址回调方提供。

请求方式post
入参(json)


字段

类型

必填

描述

action

String

Y

msg_notice(订单消息通知)

orderOutNo

String

Y

业务流水号

code

int

N

消息状态码

msg

String

Y

 通知消息


出参


字段

类型

必填

描述

state

boolean

Y

成功:true

失败:false

msg

String

N



描述

待确认###

5.推送AI数据接口

接口地址

在信号旗中配置回调接口,接口地址回调方提供。

请求方式post
入参(json)


字段类型必填描叙





















字段

类型

必填

描述

1

declareDate

Attribute 



2

licenseNo

Attribute 



3

redeclNo

Attribute 



4

userJson

userJson 



5mergeType

string


拼箱标识 :1 (拼箱);2(自拼箱);

6





7





8





9





10





11





12





13





14





15





16





17





18







Attribute 对象:

字段类型必填描叙
codeString
当前字段值[code](*位数)编码
valueString
当前字段值内容
totalInteger

flagString

currencyString

dutyNoString
当前字段值社会信用代码
rowsList

当前字段的坐标

字段类型必填描叙
codeString

valueString

colorFlagString

flagString

cellNameString

docTypeString

usedString

extraTypeString

warningIndexString

topInteger

bottomInteger

leftInteger

rightInteger

heightInteger

widthInteger

conceptIdInteger

dutyNoString

imgSrcString

sourceFlagString

conceptStrString


userJson 结构


字段类型必填描叙
1

declarationPort

Attribute

申报地海关

2

IEPort

Attribute

出境关别

3

manualNo

Attribute

备案号

4

contrNo

Attribute

合同协议号

5

IEDate

Attribute

出口日期

6

declareDate

Attribute

申报日期

7

tradeName

Attribute

境内收发货人

8

overseasConsignor

Attribute

境外收发货人

9

ownerName

Attribute

生产销售单位

10

agentName

Attribute

申报单位

11

billNo

Attribute

提运单号

12

trafName

Attribute

运输工具名称

13

voyageNo

Attribute

航次号

14

trafModeName



运输方式

15

supervisor



监管方式

16

cutMode



征免性质

17

licenseNo



许可证号

18

originalCountry



运抵国地

19

distinatePort



指运港

20

transMode



成交方式

21

feeMark



运费/率

22

insurMark



保费/率

23

otherMark



杂费/率

24

packNo



件数

25

wrapType



包装种类

26

grossWet



毛重(Kg)

27

netWt



净重(Kg)

28

tradeArea



贸易国别

29

goodsPlace



货物存放地

30

entyPort



离境口岸

31

entryType



报关单类型: 有纸报关,无纸带清单报关,有纸带清单报关,通关无纸化,无纸报关

32

noteS



备注

33





34





35






出参


字段

类型

必填

描述

state

boolean

Y

成功:true

失败:false

msg

String

N



描述



三、数据获取(XHQ << ERP)

1.获取海关回执数据(所有的历史状态记录)

...