您的位置 :首页 > 接口服务 > 卡车进口分拨及进港数据

卡车进口分拨及进港数据

     发布时间:2019-02-14 09:09:42.388

 

平台 名称:

《物流主数据系统平台 》

版本号:

V1. 0

发布时间:

2019/2/14

文档状态

完善文档

 

版本控制

日 期

修改内容

描 述

修改类型

修 改 人

版 本

2018-2-14

ALL

卡车进口分拨及进港数据

A

张帆

V1.0

 

 

接口描述

接口描述

卡车进口分拨及进港数据

访问地址

正式地址:

SOAP: http://eal.ceair.com/e-mdp/ws/realExtractData-WService-soap/?wsdl

REST: http://eal.ceair.com/e-mdp/services/realExtractData/postQuery/方法名/

在访问接口地址后面加上: access_token=此处为授权码 

访问授权

通过发放的AccessToken访问接口服务

例如:   

http://eal.ceair.com/e-mdp/ws/realExtractData-WService-soap/?wsdl&access_token=此处为授权码   

访问数据库视图,需要申请用户名及密码。

1.1 queryData 方法

方法定义

List<V> queryData (String xmLParam)

接口 协议

Soap 协议

访问方式

POST

方法描述

根据查询条件,返回记录信息

参数

enquire (XML、JSON格式查询条件 )

参数 方式

<queryParam><alias>L_TRUCKDISPATCHMIX</alias><outTime>2019-01-01</outTime></queryParam>

1.2 postQuery 方法

接口 协议

Restful

访问方式

POST (type =" application/json " )

方法描述

根据查询条件,返回记录信息

参数 方式

{"query":"{\"alias\":\"L_TRUCKDISPATCHMIX\",\"outTime\":\"2019-01-01\"}","pageSize":1000,"pageNum":1}JSON 数据格式 , 见参考参数描述


参考类型

查询条件 字段描述

参数名称

数据类型

描述 信息

能空否 

alias

String

功能代码,必写,此功能固定为:L_TRUCKDISPATCHMIX

N

truck

String

卡车车牌号

Y

billNo

String

总单号

Y

warehouse

String

分拨仓库

Y

outGate

String

出卡口地点

Y

outTime

String

出卡口时间,支持日期格式查询:如 2018-08-30

Y

inGate

String

进卡口地点

Y

inTime

String

进卡口时间

Y

createTime String 因卡口推送文件,产生纪录的时间。形如:2019-01-01。 Y

opedepartid

String

操作营业点,形如:EL_PVG_N

Y

contry

String

国内2,国际1

Y

billid

String

运单

Y

stocktypeid

String

前缀

Y

specopeid

String

特货代码

Y

airlineid

String

承运人

Y

flightno

String

航班号

Y

flightDateStr

String

航班日期,形如2018-11-11

Y

QUERY_PARAM_RESOLVED

String

无条件检索分页,不推荐使用(不应无条件检索)。若:1、需分页 2、不能给出除alias外任何条件。同时满足以上2条件则须指定此值,其他情况下一律不要指定此值。逻辑只是校验此值有无,值可以任意。

Y

pageSize

int

分页,每页获取数据条目数。

N

pageNum

int

分页,第几页。

N

以上列举部分参数,此功能设置所有返回结果字段均可作为参数。

返回结果:

参数名

参数描述

参数类型

truck

卡车车牌号

 

billNo

总单号

 

packNo

件数

 

grossWeight

重量

 

warehouse

分拨仓库

 

outGate

出卡口地点

 

outTime

出卡口时间

 

inGate

进卡口地点

 

inTime

进卡口时间

 

stocktypeid

单证类型

AWBA

billid

运单

AWBA11298298513

stockpreid

单证前缀

112

awbid

运单号

末8位,00000000

airlineid

承运人

 

flightno

航班号

 

flightdatestr

航班日期

格式YYYY-MM-DD

etime

航班到达日期

MM-DD hh24:mm

awbfltpcs

到达件数

 

awbfltwt

到达重量

 

awbtolfeewt

计费重量

 

specopeid

特货代码

 

isagent

是否指定代理人

 

csgcutomershortnm

代理人

 

depart

起始站

 

dest

目的站

 

cargoinfo

来源/种类

 

opedepartid

操作营业点

 

contry

国内2,国际1

 
createTime 因卡口推送文件,产生纪录的时间。  

样例:

{"Data":[{"id":500906,"truck":"沪B89358","packNo":1,"billNo":"17230528374","grossWeight":81,"warehouse":"33089","outGate":"330006e02","outTime":"2019-01-02 03:27:55","inGate":null,"inTime":null,"createTime":"2019-01-02 03:30:01","billid":"AWBA17230528374","stocktypeid":"AWBA","awbpreid":"172","awbid":"30528374","specopeid":"ELM/SPX","specnote":null,"airlineid":"CV","flightno":"7981","flightDateStr":"2019-01-01","departureDate":"2019-01-01T00:00:00","arrivalDate":"2019-01-01T00:00:00","sairportid":"LUX","eairportid":"PVG","csgcustomershortnm":"ENT","fdsrecid":"16173102","awbfltpcs":"1","awbfltwt":"81","awbtolpcs":"1","awbtolwt":"81","awbtolfeewt":"160","cargono":"0001","cargonm":"LITHIUM METAL","depart":"BIO","dest":"PVG","csgcustname":"上海经贸国际货运实业有限公司","docpcs":"1","isagent":"Y","csgcustomershortnm1":"ENT","cargoinfo":"ELM","etime":"01-01 21:36","opedepartid":"EL_PVG_W","contry":"1"},{"id":500907,"truck":"沪B89358","packNo":1,"billNo":"17232462625","grossWeight":1000,"warehouse":"33089","outGate":"330006e02","outTime":"2019-01-02 03:27:55","inGate":null,"inTime":null,"createTime":"2019-01-02 03:30:01","billid":"AWBA17232462625","stocktypeid":"AWBA","awbpreid":"172","awbid":"32462625","specopeid":"SPX/HEA","specnote":null,"airlineid":"CV","flightno":"7981","flightDateStr":"2019-01-01","departureDate":"2019-01-01T00:00:00","arrivalDate":"2019-01-01T00:00:00","sairportid":"LUX","eairportid":"PVG","csgcustomershortnm":"ENT","fdsrecid":"16173102","awbfltpcs":"1","awbfltwt":"1000","awbtolpcs":"1","awbtolwt":"1000","awbtolfeewt":"1940","cargono":"0001","cargonm":"CONSOLIDATION","depart":"FRA","dest":"PVG","csgcustname":"上海经贸国际货运实业有限公司","docpcs":"1","isagent":"Y","csgcustomershortnm1":"ENT","cargoinfo":null,"etime":"01-01 21:36","opedepartid":"EL_PVG_W","contry":"1"}],"ReultMsg":";完成数据查询[2];执行耗时[0.576s]"}

 

平台 名称:

《物流主数据系统平台 》

版本号:

V1. 0

发布时间:

2019/2/14

文档状态

完善文档