Overview
The Travlinq REST API is the main integration API provided by VARANK Travel Enterprise Platform for both its own user interfaces and external parties.The Travlinq API is based on a JSON domain object model and RESTful operation model. The high-level integration landscape of Travlinq API is illustrated below.
Service Structure
Travlinq REST API consists of multiple services catering to various operations. For an example Hotel search , Flight search , Car search
and Reservation service.Auth Service
This service provides endpoints for handling user log-in and log-out .
/api-doc/swagger/api/v1/auth/swagger-ui/index.html
Flight Search Service
This service provides endpoints for searching Flight for given criteria . Then possible to gets the more fares for a given search result from the initial search
/api-doc/swagger/api/v1/flight/swagger-ui/index.html
Hotel Search Service
This service provides endpoints for searching Hotels for given criteria. Then possible to gets the more rooms for a given search result form the initial search
/api-doc/swagger/api/v1/hotel/swagger-ui/index.html
Car Search Service
This service provides endpoints for searching Cars for given pick up , drop off locations and according to the given pickup , drop off dates.
/api-doc/swagger/api/v1/car/swagger-ui/index.html
Insurance Service
This service is used to search for available insurance and return the price and benefits of each insurance plan for the requested origin, destination, travel date range and passenger combination.
/api-doc/swagger/api/v1/insurance/swagger-ui/index.html
Reservation Service
This service provides endpoints for Reservation operations for adding items for cart. Then cart will be converted into a Reservation.
/api-doc/swagger/api/v1/reservation/swagger-ui/index.html
Utility Service
This service provides endpoints for general operations such as log download. master data download etc... .
/api-doc/swagger/api/v1/utility/swagger-ui/index.html
Asynchronous Data Fetching
This service provides endpoints for fetching data asynchronously. Each request has maximum 25s lifetime then client has to use fetch endpoint and retrieve the relevant response.
For more information: Asynchronously Data Fetching