List Day Parts

Why List Day Parts?

If you would like to review existing day parts for a flight, the Kevel API enables you to return all day part entities for a specific flight using the List Day Parts API endpoint with the FlightID query parameter to filter results for only that flight.

API Syntax

When using the List Day Parts API endpoint, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

GET https://api.kevel.co/v1/flight/{FlightID}/dayparting

Where:

  • GET - the type of API request being made.
  • https://api.kevel.co - the URL for the request.
  • v1 - the API version.
  • flight - the API endpoint being called.
  • FlightID - The ID associated with the flight.
  • dayparting - the day part entities associated with the flight.
Language