# 2009 Airline Service Developments
# 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 | |
| flight_no | Reference status requirements | string | Flight number | A combination of numbers, letters and symbols is verified. |
| planned_departure_time | Reference status requirements | uint32 | Plan a departure time | Second-level timestamps, displayed in MM / DDHH: mm format |
| planned_arrival_time | Reference status requirements | uint32 | Plan a time to arrive | Second-level timestamps, displayed in MM / DDHH: mm format |
| departure_city | Reference status requirements | SystemPoiInfo | City of departure | Up to 11 visible characters, such as "Guangzhou" will be subject to site-station verification |
| arrival_city | Reference status requirements | SystemPoiInfo | Getting to the city | Up to 11 visible characters, such as "Guangzhou" will be subject to site-station verification |
Departure_city / arrival_city definition
| parameter | Is it compulsory? | type | Introductions | Format requirements |
|---|---|---|---|---|
| domestic_region | yes | string | Name of a domestic administrative region | For example, "Guangzhou" supports entering the name of the fourth-level administrative district |
| domestic_poi | no | string | Domestic POI Address | Such as "ABC Grand Hotel" |
| oversea_areas | yes | string | Name of foreign administrative region / airport | For example, "Moscow," you can enter the name of a foreign city / station |
Station testing
- Check the value of domestic_region\ domestic_poi query domestic address, otherwise oversea_areas value query overseas address;
- Domestic_region or oversea_areas Choose one required, fill in domestic_poi must fill in domestic_poi;
- Domestic_poi, domestic_region, and oversea_areas are shown in order. Example: Enter "domestic_region = Guangzhou City, domestic_poi = ABC Hotel" to display "ABC Hotel";
Combined numbers, letters, and symbols verification
- Up to 32 visible characters
- All characters need to hit [A-Z] [a-z] [0-9] "_~ - /."
Examples: A101, 1234, a101, A-101
# 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 | 9, 12 | Payment has been made | flight_no planned_departure_time planned_arrival_time departure_city arrival_city wxa_path_query | "{\"cur_status\":1,\"flight_no\": \"CA1000\",\"planned_departure_time\": 1690855200,\"planned_arrival_time\": 1690869600,\"departure_city\": {\"domestic_region\":\"Guangzhou City\,\ "domestic_poi\":\ "ABC Hotel\,\" oversea_areas\ ":\" Moscow\ "},'Arrival_city': { 'domestic_region': Beijing, 'domestic-poi': People's Square, 'oversea_areas': Moscow, 'wxa_path_query': Pages / index / INDEX\ "} | |
| 2 | yes | 1, 9, 12 | Ticket sales were successful | flight_no planned_departure_time planned_arrival_time departure_city arrival_city wxa_path_query | "{\"cur_status\":2,\"flight_no\": \"CA1000\",\"planned_departure_time\": 1690855200,\"planned_arrival_time\": 1690869600,\"departure_city\": {\"domestic_region\":\"Guangzhou City\,\ "domestic_poi\":\ "ABC Hotel\,\" oversea_areas\ ":\" Moscow\ "},'Arrival_city': { 'domestic_region': Beijing, 'domestic-poi': People's Square, 'oversea_areas': Moscow, 'wxa_path_query': Pages / index / INDEX\ "} | |
| 3 | no | 1, 9, 12, 14 | Ticketing failed. | wxa_path_query | "{\"cur_status\":3,\"wxa_path_query\":\"pages/index/index\"}" | |
| 4 | yes | 2, 9, 11, 12, 13, 14 | I'm going to travel. | flight_no planned_departure_time planned_arrival_time departure_city arrival_city wxa_path_query | "{\"cur_status\":4,\"flight_no\": \"CA1000\",\"planned_departure_time\": 1690855200,\"planned_arrival_time\": 1690869600,\"departure_city\": {\"domestic_region\":\"Guangzhou City\,\ "domestic_poi\":\ "ABC Hotel\,\" oversea_areas\ ":\" Moscow\ "},'Arrival_city': { 'domestic_region': Beijing, 'domestic-poi': People's Square, 'oversea_areas': Moscow, 'wxa_path_query': Pages / index / INDEX\ "} | |
| 5 | yes | 4, 9, 11, 12, 13, 14 | Waiting on call | flight_no planned_departure_time planned_arrival_time departure_city arrival_city wxa_path_query | "{\"cur_status\":5,\"flight_no\": \"CA1000\",\"planned_departure_time\": 1690855200,\"planned_arrival_time\": 1690869600,\"departure_city\": {\"domestic_region\":\"Guangzhou City\,\ "domestic_poi\":\ "ABC Hotel\,\" oversea_areas\ ":\" Moscow\ "},'Arrival_city': { 'domestic_region': Beijing, 'domestic-poi': People's Square, 'oversea_areas': Moscow, 'wxa_path_query': Pages / index / INDEX\ "} | |
| 6 | no | 5, 9, 11, 12, 14 | I've been on call. | wxa_path_query | "{\"cur_status\":6,\"wxa_path_query\":\"pages/index/index\"}" | |
| 7 | no | 6, 9, 11, 12, 14 | It has taken off. | wxa_path_query | "{\"cur_status\":7,\"wxa_path_query\":\"pages/index/index\"}" | |
| 8 | no | 7, 9, 11, 12, 14 | We have arrived. | wxa_path_query | "{\"cur_status\":8,\"wxa_path_query\":\"pages/index/index\"}" | |
| 9 | no | 1, 2, 4, 5, 6, 7, 8, 16 | Ticket refunds are in place | wxa_path_query | "{\"cur_status\":9,\"wxa_path_query\":\"pages/index/index\"}" | |
| 10 | no | 9 | The refund was successful. | wxa_path_query | "{\"cur_status\":10,\"wxa_path_query\":\"pages/index/index\"}" | |
| 11 | no | 9 | Ticket refund failed | wxa_path_query | "{\"cur_status\":11,\"wxa_path_query\":\"pages/index/index\"}" | |
| 12 | no | 1, 2, 3, 4, 5, 6, 7, 8, 16 | A change of visa is underway. | wxa_path_query | "{\"cur_status\":12,\"wxa_path_query\":\"pages/index/index\"}" | |
| 13 | no | 12 | The visa change was successful. | flight_no planned_departure_time planned_arrival_time departure_city arrival_city wxa_path_query | "{\"cur_status\":13,\"flight_no\": \"CA1000\",\"planned_departure_time\": 1690855200,\"planned_arrival_time\": 1690869600,\"departure_city\": {\"domestic_region\":\"Guangzhou City\,\ "domestic_poi\":\ "ABC Hotel\,\" oversea_areas\ ":\" Moscow\ "},'Arrival_city': { 'domestic_region': Beijing, 'domestic-poi': People's Square, 'oversea_areas': Moscow, 'wxa_path_query': Pages / index / INDEX\ "} | |
| 14 | no | 12 | The change of visa failed. | wxa_path_query | "{\"cur_status\":14,\"wxa_path_query\":\"pages/index/index\"}" | |
| 15 | no | 1, 3 | Order cancelled | wxa_path_query | "{\"cur_status\":15,\"wxa_path_query\":\"pages/index/index\"}" | |
| 16 | no | 1, 2, 4, 5, 6, 9, 11, 12, 14 | The flight has been cancelled. | wxa_path_query | "{\"cur_status\":16,\"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