2. Catalogue

Version 12.2 by Giorgi Mdivnishvili on 2024/04/11 15:48

GetDestinationCountries

This method is used to get all destination country list with parameters.

GetCountries

This method is used to get all country list with parameters.

GetDepartureCities

This method is used to get all Departure cities list.

GetArrivalDistricts

This method is used to get all Districts list.

GetHotels

This method is used to get all hotels list from the system.

GetAirportTree

This method is used to get airports list.

Important

Error

Implementing Authorization in Subsequent Requests

For every API request after the initial authentication, it's crucial to include the authorization token in the request header. This ensures your requests are authorized and can access the necessary resources. Here's how to properly include your token:

  • Header Key: Authorization
  • Header Value: Bearer [Your Token Here] - Use the bearer token provided in the initial authentication response. The authorization type should be specified as Bearer Token.

Additionally, to ensure your requests are properly formatted and recognized, include the following headers:

  • Content-Type: Specify this header as application/json to indicate the format of the request body.
  • Header Key: X-nugios-timezone
  • Header Value: 240 - Adjust this value to match your local timezone offset in minutes.

Incorporating these headers with their respective values is essential for the successful processing of your API requests.