Common courier single query api interface, docking Case (Express & Bird rookie)

Interface platform currently provides express queries are:

Express birds (non-scouring system most users)

Novice (ADS system users)

The difference between different interfaces:

(1) supports more than 400 birds express courier logistics companies, free interface is stable, offers a variety of ways docking interface

(2) Rookie support more than 100 logistics Express interface that supports major business lines Amoy Ali users.

Scenarios with the express purpose of API

  1. The most common scenarios are as follows:

(1) Electric's website: for example, B2C, buy, B2B, wholesale distribution station, C2C, live local trading sites.

(2) management system: order processing platform, the platform orders, delivery platforms, distribution systems, channel management system, customer management systems, ERP and so on.

  1. Express uses the API as follows:

(1) allow customers to log on the website, directly within the "My Orders" page will be able to see the logistics status of the order.

(2) automatically filter out "have been received", a single number "difficult pieces" like state, to reduce the pressure of the stream with the single.

(3) change the order status and transaction processes, such as order number changes to "sign", you can make changes to the order confirmation can return policies.

(4) evaluate choose express delivery company, according to the singular transport "have been received", you can calculate the performance of sales staff, and to facilitate the settlement of the deal with cash on delivery.

(5) e-mail, text messaging to remind the user the latest state of the consignment can appease users can also use a secondary e-mail marketing messages.

Examples of docking

Here to express the birds, for example, more similar to the way different docking interface, you need to register and generate your own API key. To the following

  Interface supports HTTP POST message receiving mode to

  The method of encoding format of the request for utf-8

  Parameter data format requested format body portion is json

Interface parameters

Interface request address http://www.kdniao.com/api-track

System parameters:
Common courier single query api interface, docking Case (Express & Bird rookie)
Common courier single query api interface, docking Case (Express & Bird rookie)
Common courier single query api interface, docking Case (Express & Bird rookie)

Example JSON request

{

"OrderCode": "",

"ShipperCode": "SF",

"LogisticCode": "118650888018" }

// "SF"为顺丰快递公司编码,其他编码可在快递鸟官网下载

5)JSON返回示例
//没有物流轨迹的

{

"EBusinessID": "1109259",

"Traces":[],
"OrderCode": "",

"ShipperCode": "SF",

"LogisticCode": "118461988807",

"Success": true,

"Reason": null

}

//有物流轨迹的

{

"EBusinessID": "1109259",

"OrderCode":"",
"ShipperCode": "SF",

"LogisticCode": "118461988807",

"Success": true,

"CallBack":"",
"State": 3,

"Reason": null,

"Traces":[

    {

       "AcceptTime": "2014/06/25 08:05:37",

       "AcceptStation": "正在派件..(派件人:邓裕富,电话:18718866310)[深圳 市]",

       "Remark": null

    },

    {

       "AcceptTime": "2014/06/25 04:01:28",

       "AcceptStation": "快件在 深圳集散中心 ,准备送往下一站 深圳 [深圳市]",

       "Remark": null

    },

    {

        "AcceptTime": "2014/06/2501:41:06",

       "AcceptStation": "快件在 深圳集散中心 [深圳市]",

       "Remark": null

    },

    {

       "AcceptTime": "2014/06/24 20:18:58",

       "AcceptStation": "已收件[深圳市]",

       "Remark": null

    },

    {

       "AcceptTime": "2014/06/24 20:55:28",

       "AcceptStation": "快件在 深圳 ,准备送往下一站 深圳集散中心 [深圳市]",

       "Remark": null

    },

    {

       "AcceptTime": "2014/06/25 10:23:03",

       "AcceptStation": "派件已签收[深圳市]",

       "Remark": null

    },

    {

       "AcceptTime": "2014/06/25 10:23:03",

       "AcceptStation": "签收人是:已签收[深圳市]",

       "Remark": null

    }

]
}

Guess you like

Origin blog.51cto.com/14466758/2429739