聚热点 juredian

京东快递查询单号(京东快递单号查询接口)

调用快递鸟提供的快递查询API标准接口,快速对接物流轨迹查询,本篇文章实现京东快运的快递单号查询。

首先我们准备好需要用到的资源,

测试商户ID:

test1617571

测试API key:

554343b2-7252-439b-b4eb-1af42c8f2175(此Key仅限测试环境使用)

API测试地址:

http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json

接口参数,也叫业务参数,请求的业务接口不同,参数的字段,内容也不同,是跟着业务变化的,这里我们实现的是即时查询接口,请求指令类型:1002,快递鸟官网要求必须传递快递公司编码和物流单号 ,京东快运的编码是JD

如要查看其他快递公司的编码,点击此链接:

http://www.kdniao.com/documents

我们用京东快运的真实单号(JDVD00215296905)来完成快递单号查询接口的调用,

请求的完整报文(URL编码以后):RequestData=%0d%0a++++++++++++%7b%27OrderCode%27%3a%27%27%2c%27ShipperCode%27%3a%27JD%27%2c%27LogisticCode%27%3a%27JDVD00215296905%27%2c%27CustomerName%27%3a%2712333%27%7d%0d%0a++++++++&EBusinessID=1264783&RequestType=1002&DataSign=M2QzMmVmMzUwNmNkNDFhODc2MmZmMWY5OWNkODU0NmQ%3d&DataType=2

URL解码的请求报文:

{OrderCode:,ShipperCode:JD,LogisticCode:JDVD00215296905,CustomerName:12333} &EBusinessID=1264783&RequestType=1002&DataSign=M2QzMmVmMzUwNmNkNDFhODc2MmZmMWY5OWNkODU0NmQ=&DataType=2

返回报文信息

{"LogisticCode":"JDVD00215296905","ShipperCode":"JD","Traces": [ {"AcceptStation":"货物已交付京东物流","AcceptTime":"2019-10-07 13:47:08"}, {"AcceptStation":"配送员杨海滨已经揽收完成","AcceptTime":"2019-10-07 13:47:08"}, {"AcceptStation":"受国庆假期影响,您的快递可能会延迟配送,请您耐心等待;","AcceptTime":"2019-10-07 13:47:12"}, {"AcceptStation":"货物已到达【成都枢纽中心】","AcceptTime":"2019-10-07 20:21:41"}, {"AcceptStation":"货物已完成分拣,离开【成都枢纽中心】","AcceptTime":"2019-10-07 23:24:14"}, {"AcceptStation":"货物已完成分拣,离开【南充中转场】","AcceptTime":"2019-10-08 08:30:49"}, {"AcceptStation":"货物已分配,等待配送","AcceptTime":"2019-10-08 08:42:27"}, {"AcceptStation":"配送员开始配送,请您准备收货,配送员,张少虎,手机号,18881770240","AcceptTime":"2019-10-08 10:04:23"}, {"AcceptStation":"货物已由本人签收,感谢您选择京东物流!","AcceptTime":"2019-10-08 15:46:50"} ],"State":"3","EBusinessID":"1264783","Success":true}

搜索建议:京东快递查询单号  京东快递查询单号词条  
热闻

 排球少年!的经典台词?

1、我的确不高但是!我有弹跳力!!2、没有一定会输的比赛,除非放弃3、我确实是个小矮子,没错,可我拥有这双脚!!我要让他们知道,我会依靠这双脚越过任何铁壁,任何...(展开)