FlightUpdate
You can refer our Async Api specification. please click here to download.
The FlightUpdate notification service notifies you about changes in the flightstatus resource. The notification message will indicate what has changed. In order, to obtain further details about the change use the provided meta link to access the flight status resource
Topic Structure
prd/FlightUpdate/<operating carrier code>/<operating carrier code><flight number>/<flight date>
Note: to obtain additional detail on the change, use the provided meta link to retrieve flight status information
Message Structure definition
Update | Root element of country response. |
---|---|
.Timestamp | Message time in UTC Format: yyyy-MM-ddTHH:mm:ssZ. |
.Message | Message text for the action code |
..Code | 'Flup' Status code - please see further below for possible values |
.Meta | Container for meta links. |
..Link[] | Use the links to access further detail related to the notified message |
@Href | Link to actual a resource. |
@Rel | Specifying kind of link such as ‘self’ (link that returned this response), ‘alternate’ (link that points to another resource) or ‘related’ (link that points to related resource). |
Message Structure Example
Code snippet: Json
{
"Update": {
"Timestamp": <UTC timestamp from FLUP: yyyy-mm-dd:hh:mm:ss>,
"Message": <Message text for this action code>,
"Code": <FLUP Action code>
},
"Meta": {
"@Version": "1.0.0",
"Link": [{
"@Href": <url of flight status resource for this flight>,
"@Rel": "related"
}]
}
}
The following changes are detected and trigger a notification to subscribed clients:
FLUP Action Code | Text for MQTT message |
---|---|
MVT ED |
New Estimated Departure |
MVT EA |
New Estimated Arrival |
MVT AD |
Departed |
MVT AA |
Arrived |
Y |
New Gate Information |
ASM CNL |
Cancelled |
ASM NEW RIN |
Reinstated |
ASM RPL DIV |
Diverted |
ASM RPL RRT |
Rerouted |
ASM TIM |
Schedule Change |
Message Example
Code snippet: Json
{
"Update": {
"Timestamp": "2016-06-29:06:50:54",
"Message": "New Gate Information",
"Code": "Y"
},
"Meta": {
"@Version": "1.0.0",
"Link": [{
"@Href": "https:\/\/api.lufthansa.com\/v1\/operations\/flightstatus\/LH400\/2016-06-29",
"@Rel": "related"
}]
}
}
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