Home >WeChat Applet >WeChat Development >Detailed explanation of express query steps for WeChat development
Express 100 provides an express query interface.
By sending a request to the specified address, you can return something like JSON, XML and other formats of tracking results
3. Request address
api.kuaidi100.com/api ?id=[]&com=[]&nu=[]&valicode=[]&show=[0|1|2|3]&muti=[0|1]&order=[desc|asc]
(Please replace the square brackets in the above address with the corresponding values below before using)
4. Enter the parameters
Name | Type | Required | Description |
---|---|---|---|
id | String | is | identity authorizationkey, please express the query interface to apply (case sensitive) |
com | String | is the courier company code to be queried by | . Chinese is not supported. For the corresponding company code, see "Explanation of courier companies and parameters supported by API URL" ” and “Supported International Express Delivery and Parameter Description”. If you can't find the company you need, please send an email to kuaidi@kingdee.com for consultation (case insensitive) |
nu | String | is the express tracking number to be queried. Please do not bring special symbols. Chinese is not supported (case insensitive) | |
String | is a | deprecated field, meaningless, please ignore. | |
String | is | return type: | 0: Returns jsonString , 1: Return xmlobject , 2: Return the html object, 3: Return the text text. If not filled in, a json string will be returned by default. |
String | is | The number of information returned: | 1: Return multiple lines of complete information,0: Only one line of information is returned.
If not filled in, multiple lines will be returned by default. |
String | is | sorting: | desc: sorted by time from new to old,asc: Arranged by time from oldest to newest.
If not filled in, the default is to return in reverse order (case insensitive) |
Field meaning | |
---|---|
Logistics company number | |
Logistics Order number | |
Time of each tracking message | |
Each tracking message Description of the information | |
The current | status of the express order:
0: In transit, that is, the goods are in the process of transportation; 1: Pick up, the goods have been picked up by the express company and the first tracking information has been generated; 2: Difficulty, the goods delivery process has gone wrong solved the problem; 3: Sign for receipt, the recipient has signed for receipt; 4: Return for signature, that is, the goods are returned due to the user's refusal to sign, out of area, etc., and the sender has signed for receipt; 5: Dispatch , that is, the express delivery is in progress in the same city; 6: Return, the goods are on the way back to the sender; This status is still being improved. If you have more parameter requirements, please send an email to Submitted by kuaidi@kingdee.com. |
Query result status: | 0: No result for logistics order,1: Query successful,
2: An exception occurred in the interface, |
is meaningless, please ignore | |
No meaning, please ignore | |
No meaning, please ignore |
The above is the detailed content of Detailed explanation of express query steps for WeChat development. For more information, please follow other related articles on the PHP Chinese website!