Various express query-Api interface, express delivery-Api interface-PHP Tutorial

Source: Internet
Author: User
Express query-Api interface and express delivery-Api interface. Express query-Api interface, express delivery-Api interface authorization successful my key is reprinted, please indicate from this source blog. csdn. netqxs965268249, please note! Api interface and Api interface


My key authorized successfully

If you have any reposted information, please indicate the source: http://blog.csdn.net/qxs965268249. please note!

API address:

Previous: http://api.ickd.cn /? Com = [] & nu = [] & id = [] & type = [] & encode = [] & ord = [] & lang = []

Current: http://api.ickd.cn /? Id = [] & secret = [] & com = [] & nu = [] & type = [] & encode = [] & ord = [] & lang = []

Parameter descriptionFieldRequired?Description: com must be the courier company code (English). For supported courier companies, see the following list. nu must be the courier order number, and the length must be greater than 5 digits.
Secret required
Id that must be authorized
Authorization KEY. for application, click "express delivery Query API request method type". optional return result types, values: html | json (default) | text | xmlencode optional gbk (default) | utf8ord (optional) asc (default) | desc, returned result sorting lang (optional)EnEnglish results returned. Currently, only some express deliveries (EMS, SF, and DHL) are supported)Note:The json_decode function of PHP must be UTF-8 encoded. if json_decode fails, try UTF8 encoding. Return format:Json| Text | html | xml
Encoding:GBK| UTF8
Example: {"status": "3", "message": "", "errCode": "0", "data": [{"time ": "", "context": "Wang Guang, receiver of the four companies in Zhongshan District, Dalian city, Liaoning province, received the mail" },{ "time": "", "context ": "Dalian city, Liaoning province company income" },{ "time": "", "context": "Dalian city, Liaoning province, Zhongshan District, four companies received" },{ "time ": "", "context": "Zhang Jinda, dispatcher of Jingyang company, Changchun city, Jilin province, calls 15948736487" },{ "time ": "", "context": "Zhang Jinda, a member of the customer's colleagues who have received and received the email,"}], "html": "", "mailNo": "7151900624 ", "expTextName": "yuantong Express", "expSpellName": "yuyung", "update": "1362656241", "cache": "186488", "ord ": "ASC"} field descriptionFieldTypeDescription: status of the statusint query result. 0 | 1 | 2 | 3 | 4 | 0 indicates that the query failed. 1 is normal. 2 is being sent. 3 is accepted. 4 is returned. 5 other problems: errCodeint error code, 0 no error, 1 ticket No. does not exist, 2 verification code error, 3 link query server failed, 4 program Internal error, 5 program execution error, 6 courier ticket No. Format Error, 7 courier company error, 10 unknown error messagestring error message dataarray progress htmlstring other HTML, this field does not necessarily have mailNostring express bill number expSpellNamestring express company English code expTextNamestring Express Company Chinese name updateint last update time (unix timestamp) cacheint cache time, the difference between the current time and update. unit: Second ordstring sorting, ASC | DESCphp application example

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.