Flight Legs

EventType: SchedAeroFlightLegs

Notifies your application when any flight leg is created, released or cancelled, or when any of the api-visible fields on the leg are modified.

Leg details can be retrieved by using the:

GET /flightlegs/{legid}

operation, as indicated in the webhook payload.

📘

Note

The flight legs webhook does not notify when the associated trip changes; use the scheduled trips webhook to receive notifications when a trip changes.

POST /webhooks/settings

{
    "targetURI": "https://myapplication.com/notifications",
    "displayName": "Schedaero flight changes",
    "active": true,
    "clientIdentifier": "myapplication",
    "clientSecret": "secret",
    "clientAuthenticationType": "BASIC",
    "eventTypes": [
        "SchedAeroFlightLegs"
    ]
}
{
    "type": "SchedAeroFlightLegs",
    "id": "schedaero-flightleg-123456789",
    "href": "https://sandbox-schedaero.avinode.com/api/flightlegs/schedaero-flightleg-123456789"
}

Did this page help you?