Air Ticket
This page discuss the extended information for air ticket scenarios, please also check the base API.
Order Status
Flow Chart
Order Status | Description | Display Sample (Index Page) |
NEAR_DEPART | When the user is about to board. | |
FLIGHT_CHANGE | When the flight is being changed. | |
FLIGHT_DELAYS | When the flight is being delayed. | |
FLIGHT_CANCELLATION | When the flight is being cancelled. ** This notification will disappear after 10 minutes. | |
CLOSED | When the notification has to hide. | Will not display. |
Below shows the languageBusinessInfo
of this scenario.
All fields are optional when status is |
Request parameters
action_url string
An URL for the action button to redirect when being clicked.
airline_logo string REQUIRED
An URL link of the airline logo (72 x72 px).
airline_name string REQUIRED
Display name of the airline.
cross_day string REQUIRED
Display value for across day flight, blank if the flight is within the same day.
"+1天"
"+1Day"
""
Use the time-zone of destination for calculation.
duration string REQUIRED
Duration of the flight.
"2小時30分"
"2h 30m"
end_time string REQUIRED
The arrival time in yyyy-MM-dd HH:mm:ss.
Use the time-zone of destination.
flight_no string REQUIRED
Flight number of the ticket.
from string REQUIRED
Name of the departure region.
from_airport string REQUIRED
Name of the departure airport.
from_terminal string REQUIRED
Terminal of the departure airport.
order_url string REQUIRED
An URL for the notification to redirect when being clicked.
start_time string REQUIRED
The departure time in yyyy-MM-dd HH:mm:ss.
to string REQUIRED
Name of arrival station.
to_airport string REQUIRED
Name of the departure airport.
to_terminal string REQUIRED
Terminal of the departure airport.