This section describes how Avinor suggest to use this service to get bag state data for spesific flights. Others might use the service in a different way.
1 GetBagFlightDepartureState
Get the overall bag state for a departing flight (1SK930) from OSL on 20th of may 2024
HTTP GET https://services.avinor.no/BIAIQService/v1/api/flight-departure-state?flightId=1SK0930&departureAirportIATA=OSL&flightDepartureDate=2024-05-30 |
This will return a BagFlightDepartureStateResponse object
Get the state for all bags for a departing flight (1SK930) from OSL on 20th of may 2024
HTTP GET https://services.avinor.no/BIAIQService/v1/api/bag-state?airportIATA=OSL&startTime=2024-05-30T07:00:00Z&endTime=2024-05-30T19:00:00Z&flightId=1SK0930 |
This will return a BagStateResponse object
Get all events for a specific bag on OSL on 20th of may 2024
HTTP GET https://services.avinor.no/BIAIQService/v1/api/bag-details?bagTagNumber=0000110082&airportIATA=OSL&startTime=2024-05-30T00:00:00Z&endTime=2024-05-31T00:00:00Z |
This will return a BagDetailsResponse object