# 2009 Airline ticket 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
flight_no Reference Status Requirements string Flight number Numbers, letters and symbols combination check
planned_departure_Time Reference Status Requirements uint32 Planned departure time Second time stamp, displayed as MM/DD HH: mm format
planned_arrival_Time Reference Status Requirements uint32 Planned Arrival Time Second time stamp, displayed as MM/DD HH: mm format
departure_city Reference Status Requirements SystemPoiInfo Departure city Up to 11 visible characters, such as "Guangzhou City," will be checked by the station
arrival_city Reference Status Requirements SystemPoiInfo Reaching the City Up to 11 visible characters, such as "Guangzhou City," will be checked by the station

departure_city/arrival_city definition

parameter Is required type Introductions Format requirements
domestic_region yes string Administrative divisions of Japan For example, "Guangzhou City," support input into the four-level administrative district name
domestic_poi no string Domestic POI Address Such as "ABC Grand Hotel"
oversea_areas yes string Name of foreign administrative region /Name of airport For example, "Moscow" supports the import of foreign city names./Name of station

Station station calibration

  1. Inspection of domestic_regiondomestic_poi When there is a value to query the domestic address, otherwise oversea_Areas of Value Enquiry Overseas Address
  2. domestic_region or oversea _Select a required area, fill in domestic_POI must be filled in domestic_poi
  3. domestic_then、domestic _region、oversea_areas In order, displays the first values. Example: Input "domestic_Region = Gwangju City, domestic_Poi = ABC Grand Hotel ", showing "ABC Grand Hotel"

Number, letter and symbol combination check

  1. Up to 32 visible characters
  2. All characters need to hit [A-Z] [a-z] [0-9] "_-/."

Example: A101 、1234 、a101 、A-101

# 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 9, 12 Paid 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 Grand Hotel ",overseas _areas":"Moscow"}, "arrival_city": {"domestic_region":"Beijing City", "domestic_poi":"People's Square",overseas _areas":"Moscow","wxa_path_query":"pages/index/index"}"
2 yes 1, 9, 12 Ticket issued successfully 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 Grand Hotel ",overseas _areas":"Moscow"}, "arrival_city": {"domestic_region":"Beijing City", "domestic_poi":"People's Square",overseas _areas":"Moscow","wxa_path_query":"pages/index/index"}"
3 no 1, 9, 12, 14 Failure to issue tickets wxa_path_query "{"cur_status":3,"wxa_path_query":"pages/index/index"}"
4 yes 2, 9, 11, 12, 13, 14 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 Grand Hotel ",overseas _areas":"Moscow"}, "arrival_city": {"domestic_region":"Beijing City", "domestic_poi":"People's Square",overseas _areas":"Moscow","wxa_path_query":"pages/index/index"}"
5 yes 4, 9, 11, 12, 13, 14 Waiting for check-in 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 Grand Hotel ",overseas _areas":"Moscow"}, "arrival_city": {"domestic_region":"Beijing City", "domestic_poi":"People's Square",overseas _areas":"Moscow","wxa_path_query":"pages/index/index"}"
6 no 5, 9, 11, 12, 14 Checked in wxa_path_query "{"cur_status":6,"wxa_path_query":"pages/index/index"}"
7 no 6, 9, 11, 12, 14 Have taken off wxa_path_query "{"cur_status":7,"wxa_path_query":"pages/index/index"}"
8 no 7, 9, 11, 12, 14 Has arrived wxa_path_query "{"cur_status":8,"wxa_path_query":"pages/index/index"}"
9 no 1, 2, 4, 5, 6, 7, 8, 16 Refund wxa_path_query "{"cur_status":9,"wxa_path_query":"pages/index/index"}"
10 no 9 Refund successful wxa_path_query "{"cur_status":10,"wxa_path_query":"pages/index/index"}"
11 no 9 Refund failure wxa_path_query "{"cur_status":11,"wxa_path_query":"pages/index/index"}"
12 no 1, 2, 3, 4, 5, 6, 7, 8, 16 Resigning wxa_path_query "{"cur_status":12,"wxa_path_query":"pages/index/index"}"
13 no 12 The 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 Grand Hotel ",overseas _areas":"Moscow"}, "arrival_city": {"domestic_region":"Beijing City", "domestic_poi":"People's Square",overseas _areas":"Moscow","wxa_path_query":"pages/index/index"}"
14 no 12 Change 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 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