# 2004 Express delivery service

# content_json definition

parameter Is required 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 administrative region of the sending city Up to 11 visible characters such as "Canton City"
receiver_city Reference Status Requirements string Name of municipal district Up to 11 visible characters such as "Canton City"
Sender_Name Reference Status Requirements string Sender name, mask recommended Up to 5 visible characters, such as “Zhang*three”
receiver_Name Reference Status Requirements string Recipient name, mask recommended Up to 5 visible characters, such as “Zhang*three”
delivery_Time Reference Status Requirements uint32 Estimated delivery time (cur_Status is 1 or 2 or 3 or 4 hours), the signing time (cur_Status at 5 or 6 hours) Second time stamp, displayed as MM/DD format

# cur_Status passes in the meaning of the status id, and the fields under the different status id require

id Is this state possible when activated? Can change from previous state* State description Required fields in this state Optional field in this state content_Example of json
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 Collected 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 Sending in wxa_path_query delivery_Time "{"cur_status":4,"delivery_Time":1696157643,"wxa_path_query":"pages/index/index"}"
5 no 3, 4 Signed for wxa_path_query delivery_Time "{"cur_status":5,"delivery_Time":1696157643,"wxa_path_query":"pages/index/index"}"
6 no 3, 4 Signed for 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 change from previous stateIntroductions

  1. The number in this column indicates that the current state can only be changed by these states (this is not required on activation)
  2. It should be noted that the current state changes to the current state, but also requires the status id in this column: if the current state is 1, only if 1 is also in this column, the next update when the status is passed 1
  3. 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 required type Introductions Format requirements
shipping_list yes array< object&gt Logistics information

shipping_list definition

parameter Is required type Introductions Format requirements
tracking_no yes string Logistics single number Character byte limit: [1, 128]
express_company yes string Quick-recursive company ID, seeGet a list of courier companies Character byte limit: [1, 128]
item_list no array<Unit 32 > Logistics Includes Article Number List Item number is product_Order of goods in list, starting from 0, sample value:[0, 1, 4]
contact no object Contact information When the shipping logistics company is SF, the contact information is required, and the recipient or sender contact information is one of the two.

contact definition

parameter Is required type Introductions Format requirements
consignor_contact no string Sender Contact Information, Sender's Contact Use mask transmission, the last 4 digits can not be masked, example value: 189****1234, 021-****1234, ****1234, 0**2-*1234, 02-******23-10, ****123-8008
receiver_contact no string Recipient's Contact Information, Recipient Contact Use mask transmission, the last 4 digits can not be masked, example value: 189****1234, 021-****1234, ****1234, 0**2-*1234, 02-******23-10, ****123-8008