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.

policy-post

post

policy-post

Use this method to submit New Travel Policy

Resource URL

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

Header Parameters

Name Values Description
Content-type
(required)

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

x-lm-trans-id
(required)

This is used to identify Unique Transaction

Body Parameters

Name Values Description
request
(required)

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 : Invalid HKID } ,{103 : Invalid age between 18-75 } ,{104:Age limit should be >6months and less than 18 }, {105 : Invalid email address} , {107: Please provide the details of all travelers}, {108 : Applicant in parties cannot be more than travellers} , {114 : Relationship should be Applicant for applicant party} , {112 : PROMO CODE Mismatch with given Quotation iD } , {110 : Details mismatch with the Quotation ID } , {111 : Applicant Detail is mandatory} , {115: Relationship cannot be applicant inside party } , {116 : Relationship inside party should be either {spouse , son , daughter , non family adult , non family child} , {117 : Invalid HKID for applicant } , {118 : Applicant age should be >=18 years and <76 years } , {119 : son/daughter/non family child age should be >=6 months and <=17 years} , {120 : spouse/non family adult age should be >=18 years and <76 years}}

401

Unauthorized

404

Resource not found

500

Internal Server error

Working...