LHG:ONERES Interface: Difference between revisions
Jump to navigation
Jump to search
Stefanseiler (talk | contribs) |
Stefanseiler (talk | contribs) |
||
| Line 3: | Line 3: | ||
== Contained data == | == Contained data == | ||
=== Flight info === | |||
This delivers the | {| class="wikitable" | ||
!Invocation-data | |||
|Flight number (LH400) and date | |||
|- | |||
!Result-data | |||
|Detailed flight info | |||
|}This delivers the planned flights: | |||
* FLIGHT NUMBER | * FLIGHT NUMBER | ||
| Line 12: | Line 18: | ||
* LOCAL ARRIVAL TIME | * LOCAL ARRIVAL TIME | ||
* Planned flight duration | * Planned flight duration | ||
* Planned craft type | * Planned craft type | ||
* Repetition pattern (weekdays, monthly, exact dates) | * Repetition pattern (weekdays, monthly, exact dates) | ||
* Operating Carrier | |||
* Codeshares | |||
'''General Availability (GAV)''' | '''General Availability (GAV)''' | ||
{| class="wikitable" | |||
!Invocation-data | |||
|PNR / Booking-Code | |||
|- | |||
!Result-data | |||
|Booking-Data (Header-Info, Array of elements and element data) | |||
|} | |||
This returns for each flight identified by: | This returns for each flight identified by: | ||
| Line 26: | Line 40: | ||
====== Booking information ====== | ====== Booking information ====== | ||
This interface is a real-time api interface to fetch all booking information relevant to [[special assistance requests.]] | |||
{| class="wikitable" | {| class="wikitable" | ||
!Invocation-data | |||
!Invocation | |||
|PNR / Booking-Code | |PNR / Booking-Code | ||
|- | |- | ||
!Result | !Result-data | ||
|Booking-Data | |Booking-Data (Header-Info, Array of elements and element data) | ||
|} | |} | ||
Revision as of 12:00, 27 November 2025
ONERES is a Lufthansa Tool to access bookings and general flight availability information
Contained data
Flight info
| Invocation-data | Flight number (LH400) and date |
|---|---|
| Result-data | Detailed flight info |
This delivers the planned flights:
- FLIGHT NUMBER
- FROM
- TO
- LOCAL DEPARTURE TIME
- LOCAL ARRIVAL TIME
- Planned flight duration
- Planned craft type
- Repetition pattern (weekdays, monthly, exact dates)
- Operating Carrier
- Codeshares
General Availability (GAV)
| Invocation-data | PNR / Booking-Code |
|---|---|
| Result-data | Booking-Data (Header-Info, Array of elements and element data) |
This returns for each flight identified by:
- departure date and flight number or
- departure date and departure time and departure port and destination port
the amount of bookable seats per transportation class ( Y = economy / C = business / F = first )
Booking information
This interface is a real-time api interface to fetch all booking information relevant to special assistance requests.
| Invocation-data | PNR / Booking-Code |
|---|---|
| Result-data | Booking-Data (Header-Info, Array of elements and element data) |
Planned interface approach
A Flight data SLH Controller runs in the LH MOC digital and delivers these services:
- Flightplan cache - which builds a local business cache from
- the data manually entered in the flightplan
- retrieved from the Flight Plan interface Phase 2
- Future bookings cache - which holds a list of all bookings relevant to SARA, which are not older than 3 months and the future. This list is updated by
- once an hour polling the database
- receiving
SOS/DSCmessages from SARA if new relevant bookings to track appear or are no longer required.
- Future booking data cache - uses the interface to one time pre-fetch the booking information and store it here
- receive a
SOS/DSCmessage on propable booking request (a couple of seconds before the user enters the information) - and then the data is prefetched over the ONERES api - receive a
sync SOS/DSCmessage on booking request query, which- checks if the cache was updated in the last hour and then just returns the cache
- with a
forceupdateparameter, which queries the oneres-api and return the real-time answer
- receive a