When you would like to return day parting information associated with a flight, the Get Day Part API endpoint enables you to retrieve this information in a
GET call. When the API call is made, the day parting entity associated with the flight you specified will be returned.
When using the Get Day Part 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- 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 specific day part object being used for the flight.
TimepartID- the ID associated ID for the specific time part used for the day part.