Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the common express query API interfaces?

2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is to share with you what the common express query API interface is about. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

1. List of express delivery companies

Interface address: http://api.data-ranking.com/express/company

Supported format: JSON

Request method: GET

Request example: http://api.data-ranking.com/express/company?appkey=APPKEY

Request parameters:

Name

Types

Required

Description

Key

String

Yes

Apply APPKEY

Return parameters:

Name

Types

Description

Firms

Array

Express delivery company collection

Firm

String

Name of express delivery company

Code

String

Express company code

Return example:

{

"status": 1

"msg": "api call succeeded"

"data": [

{

"firm": "Shentong"

"code": "shentong"

}

{

"firm": "EMS"

"code": "ems"

}

{

Firm: Shunfeng

"code": "shunfeng"

}

{

"firm": "Yuan Tong"

"code": "yuantong"

}

{

"firm": "Zhongtong"

"code": "zhongtong"

}

{

"firm": "Yunda"

"code": "yunda"

}

{

"firm": "everyday"

"code": "tiantian"

}

{

"firm": "Huitong"

"code": "huitongkuaidi"

}

{

"firm": "Quanfeng"

"code": "quanfengkuaidi"

}

{

"firm": "Debon"

"code": "debangwuliu"

}

{

"firm": "Home urgent delivery"

"code": "zhaijisong"

}

]

}

two。 Express order query

Interface address: http://api.data-ranking.com/express/query

Supported format: JSON

Request method: GET

Request example: http://api.data-ranking.com/express/query?firm=yuantong&no=710286471234&appkey=APPKEY

Request parameters:

Name

Types

Required

Description

Firm

String

Yes

Code name of express company

No

String

Yes

courier number

Key

String

Yes

Apply APPKEY

Return parameters:

Name

Types

Description

Status

Int

Status: 200 success, 400 parameter error, 201 express company parameter abnormal

Message

String

Return status description

Firm

String

Name of express delivery company

No

String

courier number

List

Array

Progress of express delivery

Return example:

{

"status": 1

"msg": "api call succeeded"

"data": {

"status":

"firm": "Yuan Tong"

"no": "710286471234"

"message": "ok"

"list": [

{

"time": "2016-09-03 20:19:04"

"context": "recipient of Dalang Company, Dongguan City, Guangdong Province: Xiao Yongrong has received the mail"

}

{

"time": "2016-09-03 20:58:51"

"context": "Dalang Company of Dongguan City, Guangdong Province (click the inquiry telephone number) has collected income"

}

{

"time": "2016-09-03 21:09:25"

"context": "Dalang Company of Dongguan City, Guangdong Province has issued the next station Humen Transit Center"

}

.

]

}

}

3. Error code reference

System-level error codes refer to:

Error code

Description

Older version (resultcode)

10001

Appkey is empty

one hundred and one

10002

Appkey does not request this data permission

one hundred and two

10003

The number of requests has been exhausted. Please renew the purchase.

one hundred and three

10004

Interface maintenance

one hundred and four

10005

The interface has been disabled

one hundred and five

10006

Your IP address does not have permission to call

one hundred and six

10007

Your account has not been verified or the authentication has not been completed.

one hundred and seven

10008

Internal service error

one hundred and eight

Thank you for reading! This is the end of this article on "commonly used express query API interfaces". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report