Express bill number query API – anergy Express

Time:2020-11-6

Call the Express query API standard interface provided by express bird to quickly connect the logistics track query of more than 100 express companies. This paper realizes the express order number query of “an Neng express”.

First of all, we have the resources we need,
Test merchant ID:

test1617571

Key API:

554343b2-7252-439b-b4eb-1af42c8f2175 (this key is only used in test environment)

API test address:

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

Next, let’s talk about request parameters

1、 Interface description / description

Description of request system level parameters:
Express bill number query API - anergy Express
remarks:R-required, o-optional, and the parameter in c-message is optional under certain conditions

The system level parameters mentioned here are equivalent to public parameters. These parameters must be passed to each interface when calling.

2、 Interface parameters

Request content field definition:
Express bill number query API - anergy Express
Interface parameters, also known as business parameters, request business interfaces are different, parameter fields, content is also different, is with the business change, here we implement the instant query interface, request instruction type: 1002, express bird official website requires that the express company code and logistics order number must be passed, the code of an Neng express is ane

To view the codes of other express companies, click this link:

http://www.kdniao.com/documents

We use the real order number (710003607246) to complete the track interface call,

Request JSON

{‘OrderCode’:”,’ShipperCode’:’ANE’,’LogisticCode’:’ 710003607246′}

Complete message of request (after URL encoding)

RequestData=%7b%27OrderCode%27%3a%27%27%2c%27ShipperCode%27%3a%27ANEKY%27%2c%27LogisticCode%27%3a%27710003607246%27%7d%0d%0a++++++++&EBusinessID=1264783&RequestType=1002&DataSign=ZDI3YmQ4MjllYzIwOGRhYWFlYTM2ODAxNjhhMzk0Y2M%3d&DataType=2

Uncoded request message:

RequestData={‘OrderCode’:”,’ShipperCode’:’ANEKY’,’LogisticCode’:’710003607246′} &EBusinessID=1264783&RequestType=1002&DataSign=ZDI3YmQ4MjllYzIwOGRhYWFlYTM2ODAxNjhhMzk0Y2M=&DataType=2

Return message information
{

"LogisticCode": "710003607246",

"ShipperCode": "ANEKY",

"Traces": [{

    "Acceptstation": "the express is being sent to Xiamen distribution center in [Xiamen gold technology]",

    "AcceptTime": "2020-02-22 15:21:23"

}, {

    "Acceptstation": "the express has arrived at [Xiamen distribution center]",

    "AcceptTime": "2020-02-22 19:36:21"

}, {

    "Acceptstation": "the express is being sent from Xiamen distribution center to Suzhou distribution center",

    "AcceptTime": "2020-02-23 02:34:12"

}, {

    "Acceptstation": "the express has arrived at [Suzhou distribution center]",

    "AcceptTime": "2020-02-26 01:01:53"

}, {

    "Acceptstation": "the express is being sent from Suzhou distribution center to Suzhou urban distribution center",

    "AcceptTime": "2020-02-26 03:41:35"

}, {

    "Acceptstation": "the express has arrived at [Suzhou urban distribution center]",

    "AcceptTime": "2020-02-26 07:19:25"

}, {

    "Acceptstation": "the express is being sent to [gangtian Industrial Park, Suzhou park] at [Suzhou urban distribution center]",

    "AcceptTime": "2020-02-26 07:26:06"

}, {

    "Acceptstation": "the express has arrived at [gangtian Industrial Park, Suzhou park]",

    "AcceptTime": "2020-02-26 10:07:43"

}, {

    "Acceptstation": "the express has been signed and received by the customer [he Guangwu, the receiving branch [gangtian Industrial Park, Suzhou park]",

    "AcceptTime": "2020-02-26 17:51:53"

}],

"State": "3",

"EBusinessID": "1264783",

"Success": true

}

The detailed interface document is attached to you:

http://www.kdniao.com/documents

Recommended Today

Full record of year end online conference of mongodb Chinese community in 2020 [with PPT and video playback]

On January 8, 2021, mongodb Chinese community, together with mongodb official, Jinmu information, tapdata and Huawei, held the year-end meeting of mongodb Chinese community in 2020. (the PPT package of the conference is attached at the end of the paper) Click the link below You can watch the online conference playback http://www.itdks.com/Home/Act/apply?id=5533 Review of key […]