Notifications
Lufthansa Open API provides a push notification service that lets you monitor changes to predefined resources. You can use this feature to improve the performance of your application and avoid the overhead of polling resources to determine if they have changed.
It is not intended that individual members of the public (end user mobile devices) connect directly to the notification service. The service will only be made available to application processes which operate as service concentrators and distribute the data to consumers themselves. For example, an application which pushes flight updates to mobile devices.
Additionally, only change notifications are published without any business information. As an example, if a flight gets a new gate, a notification about a gate change will be published, but you then need to call respective flight status resource to get the new gate number. To faciliate the subsequent call, a link to the resource will be provided in the pushed notification.
Notifications are implemented with MQTT (Message Queing Telemetry Transport). MQTT is a simple and lightweight messaging protocol for M2M communication.
MQTT allows you to subscribe to the topics you are interested in.
Follow these steps to implement notification
- Obtain JWT and clientID from new Certificate Manager API. Click Here to know more.
- Connect to Akamai MQTT Broker using above JWT and clientID. Click Here to know more.
- Subscribe to the topics you are interested in.
If you need an MQTT Client for testing and playing around, we suggest to use: https://mqttfx.jensd.de/
Note: If you are existing user, then please note that we are migrating underlying broker from AWS IoT to Akamai IoT Edge Connect. AWS Broker will be decommisioned early 2023. please click here for migration guide.
Docs Navigation
- Lufthansa Open API
- Getting Started
- Public API Method Details
- Flight Schedules
- Reference Data
- Offers
- Operations
- Flight Schedules
- Flight Status
- Flight Status by Route
- Flight Status at Arrival Airport
- Flight Status at Departure Airport
- Flight Status Response
- Customer Flight Information
- Customer Flight Information at Arrival Airport
- Customer Flight Information by Route
- Customer Flight Information at Departure Airport
- Customer Flight Information Response
- Notifications
- cargo
- Partner API Method Details
- FlightOps/Crew API Method Details