List Flight Categories

Why retrieve a list of flight categories?

When you are working with flights, and potentially want to make changes and updates to an existing flight in a campaign, it can be useful to first retrieve a list of the different flight categories so you can then determine what changes you would like to make.

API Syntax

When using the List Flight Categories API, 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}/categories]

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.
  • categories- The different categories associated with the flight.
Language
Authorization
Header