# 2004 Developments in Express Delivery Services
# Content_json definition
| parameter | Is it compulsory? | type | Introductions | Format requirements |
|---|---|---|---|---|
| cur_status | yes | int32 | Current status id | |
| wxa_path_query | yes | string | Card click the jump path and query | |
| sender_city | Reference status requirements | string | Name of the city-level administrative district of the place of sending | Up to 11 visible characters, such as "Guangzhou" |
| receiver_city | Reference status requirements | string | Name of the municipal administrative district in which the address is addressed | Up to 11 visible characters, such as "Guangzhou" |
| sender_name | Reference status requirements | string | The sender's name. A mask is recommended. | Up to 5 visible characters, such as "Zhang * 3" |
| receiver_name | Reference status requirements | string | Name of the recipient. A mask is recommended | Up to 5 visible characters, such as "Zhang * 3" |
| delivery_time | Reference status requirements | uint32 | Estimated delivery time (cur_status at 1 or 2 or 3 or 4 hours), signature time (cur_status at 5 or 6 hours) | Second-level timestamps, displayed in MM / DD format |
# Cur_status passes in the meaning of the state id, and the field under the different state id requires
| id | Is it possible for this state to be activated? | Can be changed from previous state * | Status Description | Required fields under this state | Select fields in this state | Content_json example |
|---|---|---|---|---|---|---|
| 1 | yes | 1 | To be collected. | sender_city receiver_city sender_name receiver_name wxa_path_query | delivery_time | "{\"cur_status\":1,\"tracking_no\": \"323244567777\",\"express_company\": \"BEST\",\"sender_city\": \"Beijing City\ ",\" receiver_city\ ":\" Guangzhou City\ ",\" sender_name\ ":\" s **n\, "\" receiver_name\ ":\" b** n\",\"contact\":{\"consignor_contact\": \"123****3232\",\"receiver_contact\": \"123****3232\"},\"delivery_time\":1696157643,\"wxa_path_query\":\"pages/index/index\"}" |
| 2 | yes | 1, 2 | We received it. | sender_city receiver_city sender_name receiver_name wxa_path_query | delivery_time | "{\"cur_status\":2,\"tracking_no\": \"323244567777\",\"express_company\": \"BEST\",\"sender_city\": \"Beijing City\ ",\" receiver_city\ ":\" Guangzhou City\ ",\" sender_name\ ":\" s **n\, "\" receiver_name\ ":\" b** n\",\"contact\":{\"consignor_contact\": \"123****3232\",\"receiver_contact\": \"123****3232\"},\"delivery_time\":1696157643,\"wxa_path_query\":\"pages/index/index\"}" |
| 3 | no | 1, 2, 3 | In transit | wxa_path_query | delivery_time | "{\"cur_status\":3,\"delivery_time\":1696157643,\"wxa_path_query\":\"pages/index/index\"}" |
| 4 | no | 3, 4 | The mission took place | wxa_path_query | delivery_time | "{\"cur_status\":4,\"delivery_time\":1696157643,\"wxa_path_query\":\"pages/index/index\"}" |
| 5 | no | 3, 4 | Confirmed | wxa_path_query | delivery_time | "{\"cur_status\":5,\"delivery_time\":1696157643,\"wxa_path_query\":\"pages/index/index\"}" |
| 6 | no | 3, 4 | Receipt on behalf of the signature | wxa_path_query | delivery_time | "{\"cur_status\":6,\"delivery_time\":1696157643,\"wxa_path_query\":\"pages/index/index\"}" |
| 7 | no | 1, 2, 3, 4 | abnormal | wxa_path_query | "{\"cur_status\":7,\"wxa_path_query\":\"pages/index/index\"}" |
"Can be changed from previous state" specification
- The numbers in this column indicate that the current state can only be changed by these states (this is not required when activating)
- Note that changing the current state to the current state also requires the state ID to be in this column: If the current state is 1, the state is allowed to be passed to 1 at the next update only if 1 is also in this column
- A state id that does not exist in this column, meaning the end state, and the service state is no longer updatable
# Ext_json definition
| parameter | Is it compulsory? | type | Introductions | Format requirements |
|---|---|---|---|---|
| shipping_list | yes | array | Logistics Information |
Shipping_list definition
| parameter | Is it compulsory? | type | Introductions | Format requirements |
|---|---|---|---|---|
| tracking_no | yes | string | Shipping order number | Character byte limit: [1, 128] |
| express_company | yes | string | Quick Recursive Company ID, see for a list of quick recursive companies | Character byte limit: [1, 128] |
| item_list | no | array | Shipping contains a list of item numbers | The item number is the order of the items in the product_list, starting from 0, sample values: [0, 1, 4] |
| contact | no | object | Contact information | When the shipping logistics company is SF Express, the contact details are required, the recipient's or sender's contact details are preferred |
ContactDefinition
| parameter | Is it compulsory? | type | Introductions | Format requirements |
|---|---|---|---|---|
| consignor_contact | no | string | Sender contact details, Sender contact information | Using masked transmission, the last 4 digits cannot be masked. Example value: 189****1234, 021-****1234,****1234, 0 **2-*1234, 0 2-******23-10, **** 123-8008 |
| receiver_contact | no | string | Recipient contact information, Recipient contact details | Using masked transmission, the last 4 digits cannot be masked. Example value: 189****1234, 021-****1234,****1234, 0 **2-*1234, 0 2-******23-10, **** 123-8008 |