Create Quotation
V2
post /insurance/travel/v2/quotations
This endpoint to get quote and create quotation.
Request Header
Name | Type | Required | Description |
---|---|---|---|
authorization | string | Required | Bearer token |
content-type | string | Required | application/json |
Request Body
Name | Type | Required | Description |
---|---|---|---|
trans_no | string | Required |
Unique string that the client can create to track the current request call.
Min length: 10 |
sale_channel | string | Required |
Sales channel code to collect transactions.
|
agent_code | string | Required | Intermediary code |
staff_code | string | Required | Staff code that takes care of that sales channel. Provided by AXA |
lang | string | Required |
Quotation language
|
tourism | string | Required |
Types of Tourism.
|
policy_type | string | Required |
Types of Policy Type.
|
travel_plan | string | Required |
Types of Travel Plan.
|
plan_code | string | Required | Plan code. Provided by AXA |
origins | array[string] | Conditional |
Array of starting point of the journey. Provided by AXA
Max : 10 origins
|
destinations | array[string] | Conditional |
Array of destination of the trip. Provided by AXA
Max : 10 destinations
|
inception_date | date | Required |
Policy effective date.
Format: yyyy-mm-dd |
expiry_date | date | Required |
Policy expiration date.
Format: yyyy-mm-dd |
client_type | string | Required |
Client Type
|
first_name | string | Conditional |
Contact person's first name.
Max length: 30
|
last_name | string | Conditional |
Contact person's last name.
Max length: 30
|
corporate_name1 | string | Conditional | Max length: 60 Condition: This field is required when client_type is "C"
|
corporate_name2 | string | Conditional | Max length: 60 Condition: This field is required when client_type is "C"
|
phone_number | string | Optional |
Contact person's phone number.
Max length: 50 |
string | Optional |
Contact person's email to receive offers.
Max length: 100 | |
promo | string | Optional | Max length: 10 |
travellers | array[object] | Required | Array of Traveller |
transaction_by | string | Required | Globally unique identifier value of the user id Provided by AXA |
product | string | Required | Max length: 30 Tourism Product SelectionIf tourism is outbound, the product is outboundchoice. If tourism is inbound, the product is inbound. If tourism is domestic, the product is domestic. |
Example request
Response
Name | Type | Description |
---|---|---|
trans_no | string | Unique string the client made the request |
quotation_id | guid | Quotation id is used for issuing the policy |
quotation_no | string | Quotation number |
valid_date | date |
Valid date for applying the policy. The valid date depends on which inception date or valid period happened first.
Format: yyyy-mm-dd |
status | string |
Quotation status
|
net_premium | decimal(18,2) | Net premium |
discount | decimal(18,2) | Discount value |
stamp | int | Stamp duty |
vat | decimal(18,2) | VAT is an indirect tax imposed on the value added of each stage of production and distribution. |
total_premium | decimal(18,2) | Single Premium or the sum of all Limited Premiums/Regular Premiums paid till date |
download | object | Detailed of json object for downloading quotations |
Example response
Download Reference
Name | Type | Description |
---|---|---|
type | string |
Type of download
|
link | string | Hyperlink points to a whole document |
Traveller Reference
Name | Type | Required | Description |
---|---|---|---|
birth_date | date | Required |
Date of birth e.g. 1985-09-27
Format: yyyy-mm-dd
|