Skip to content

Overview

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. It is designed to book insurance in real time and will cover all the required information and details to integrate these insurance REST services to complete the booking process.

  • This insurance service, incorporating both the Insurance Search API and the Book Insurance API, streamlines the discovery and booking of travel coverage.
  • With the Insurance Search API, users efficiently search and compare plans based on travel criteria, accessing detailed information on coverage, costs, and conditions.
  • Subsequently, the Book Insurance API simplifies the booking process, facilitating a seamless confirmation experience with unique identifiers.
  • This integrated solution ensures users confidently navigate from plan exploration to secure booking, offering transparent and efficient access to the ideal travel insurance coverage for their specific needs.

API service to be exposed

API Call API end point(POST) Request message Response message
Log-In /api/v1/auth/login loginRequest loginResponse
Insurance Search /api/v1/insurance/search insuranceSearchRequest insuranceSearchResponse
Insurance Book api/v1/reservation/insurance-book insuranceBookRequest insuranceBookResponse
Log-Out /api/v1/auth/logout logoutRequest logoutResponse


Response Meta Data

Each response has metadata section, and it will describe overall status of each response. The Metadata parameters are given below.

Tags Attribute Description
meta meta
(Object)
Meta data Tag
success
(Boolean)
Response status will be return.
Ex: true OR false
statusCode
(Integer)
Response statusCode will be return.
Ex: -3, -2, -1, 0, 1, 2, 3
statusMessage
(String)
Response statusMessage will be return.
Ex:
NOT FOUND
UNAUTHORIZED
ERROR
WARNING
SUCCESS
FETCH LATER
NOT YET AVAILABLE