Versions Compared

Key

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

...

接口地址

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

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

请求方式post入参(DataForm)
入参(json


字段

类型

描述

必填

备注

appId

String

权限令牌

Y

身份标记

fileUrl
String随附文档N图片地址 (图片地址和订单列表必填一个,不能两者都为空)
taskId
String拼箱任务IDN新增成功后返回的ID,修改时必填
bghId
String报关行IDY
outNo
String拼箱号N
billNo
String提单号Y
shipName
String船名Y
voyage
String航次Y
iEPort
String出境关别N

外港海关,洋山港区,吴淞

iEPortCode
String
出境关别代码
N

2225-外港海关

2248-洋山港区

2202-吴淞

declarationPort
String
申报地海关
N航交办,洋山市内
declarationPortCode
String
申报地海关代码
N

2229-航交办

2231-洋山市内

entyPort
String
离境口岸
N外高桥,洋山港
entyPortCode
String
离境口岸代码
N

310701-外高桥

311002-洋山港

distinatePort
String指运港N
distinatePortCode
String指运港代码N
containerId
String集装箱号N
containerMd
String集装箱规格N

20GP,40GP ,40HQ,45GP,45HQ

containerWt
String集装箱自重N
containerMdCode
String集装箱规格代码N


lclFlagCodeString拼箱标识代码N是为1,否为0;(是表示拼箱,否表示整箱)
packNo
String
件数
N
grossWet
String
毛重
N
orders
List 订单列表N


字段类型描述必填
StringorderOutNo业务编号Y
String
newBillNo
新提单号N
String
hdPackNo
件数N
String
hdGrossWet
毛重N



出参


字段

类型

描述

备注

code

int

200=成功


msg

String

接口返回信息


data

JSON




描述

示例


入参出参
{
"appId":"<身份标记>",
"fileUrl":"",
"bghId":"<报关行>",
"outNo":"",
"billNo":"<提单号>",
"shipName":"<船名>",
"voyage":"<航次>",
"iEPort":"",
"iEPortCode":"",
"declarationPort":"",
"declarationPortCode":"",
"entyPort":"",
"entyPortCode":"",
"distinatePort":"",
"distinatePortCode":"",
"containerId":"",
"containerMd":"",
"containerWt":"",
"containerMdCode":"",
"packNo":"",
"grossWet":"",
"orders":[{"orderOutNo":"<业务编号>","newBillNo":"<新提单号>"}]
}

code =200 成功

非200 表示失败


...

接口地址

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

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

请求方式post入参(DataForm)
入参(json


字段

类型

描述

必填

备注

appId

String

权限令牌

Y

身份标记


出参


字段

类型

描述

备注

code

int

200=成功


msg

String

接口返回信息


data

List<Object>


字段
类型
描述
bghID报关行id
bghName报关行名称




描述

报关行列表,需要在相应的开放平台系统中绑定。详细咨询客服

示例

...

接口地址

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

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

请求方式post入参(DataForm)
入参(json


字段

类型

描述

必填

备注

appId

String

货代身份标记

Y

身份标记

orderOutNoString业务编号Y
phoneString手机号N
hdUserNameString操作人名称Y


出参


字段

类型

描述

备注

code

int

200=成功


msg

String

接口返回信息


data






描述

撤回

示例

...

接口地址

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

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

请求方式post入参(DataForm)
入参(json


字段

类型

描述

必填

备注

appId

String

货代身份标记

Y

身份标记

orderOutNosList<String>业务编号Y
phoneString手机号Y
hdUserNameString操作人名称N
noticeFlag
Boolean解冻标记Ytrue(解冻),false为冻结
remarkString备注N冻结、解冻备注或原因


出参


字段

类型

描述

备注

code

int

200=成功


msg

String

接口返回信息


data

List<Object>

 失败集合


字段

类型

描述

必填

String

orderOutNo

业务编号Y
String

errMsg

错误信息Y



描述

如果有不能解冻的订单会返回错误信息,能解冻订单会解冻但不会提示。

示例

...