A message for our valued customers and partners: This site is retiring, including accounts and API keys, as we migrate to the new developer portal. If you use existing API keys you will be contacted with further migration instructions. Accounts and API keys are not shared between this developer portal and the new developer portal. We recommend you review the new portal's Get Started guide for details on registering a new developer account and requesting new API keys.

quotation-get

get

quotation-get

Use this method to calculate Liberty Hong Kong Travel Quotation

Resource URL

https://test-apis.ap-southeast-1.libertymutual.com/hk/travel/v1 /quotation

Query Parameters

Name Values Description
travelRegion
(required)

Travel Region (ASIA/WORLDWIDE)

plan
(required)

Travel Plan Type (INDIVIDUAL/FAMILY)

noOfTravelers
(required)

Number of Travelers (Family Plan ==> Max 10 Travelers| [Adult min 1 and max 2], Individual Plan == > [max 10 Travelers age limit 18 to 75])

isAnyInfantTraveler
(required)

Infants (age < 6 months) are not covered

noOfDays
(required)

Number of Days 1 to max 180

travelFromDate
(required)

Travel from Date (MM/dd/yyyy HH:mm)

travelToDate
(required)

Travel to Date (MM/dd/yyyy HH:mm)

promoCode

promotion code

noOfChildren

No of children, age limit >6 months to 17

Header Parameters

Name Values Description
Content-type
(required)

x-lm-request-id
(required)

This is used to identify Request Transaction

x-api-key
(required)

This is used to identify the app/API Key is passed in this param

Authorization
(required)

This is used to identify the app/oAuth2 Token is passed in this param

Request Body

Definitions


Name Type Description

Responses

Code Examples

Try it out !!

HTTP Basic

OAuth 2.0

API Key

RESET

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Resource Summary

Security

Category

Travel

Schema:

HTTP Code Description

202

{102 : children cannot be more than 9} , {103: travellers cannot be more than 10 } {104 : No of days cannot be more than 180} {106:The family plan can only cover 10 family members} {105:Invalid start Date format , date format should be dd/MM/yyyy HH:MM} {105:Invalid End Date format , date format should be dd/MM/yyyy HH:MM} {112:Travel dates cannot be before current date} {113:Travel to date cannot be before travel from date} {111:Date and travel days mismatch} {107 :Number of children cannot be more than traveller} {108:Main Applicant & Spouse cannot exceed 2} {110:No of children cannot be set if there is no infant traveller} {109:You must have a Main Applicant on the family plan to add children} {114:Invalid PromoCode} , {115 : travel region has to asia or worldwide} , {116: plan has to be individual or family }

401

Unauthorized

404

Resource not found

500

Internal Server error

Working...