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
Max length: 30

sale_channel string Required Sales channel code to collect transactions.
  • BKO
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
  • en
  • th
tourism string Required Types of Tourism.
  • Inbound
  • Outbound
  • Domestic
policy_type string Required Types of Policy Type.
  • Individual
travel_plan string Required Types of Travel Plan.
  • Single
  • Annual
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

Condition: This field is required when tourism is "Inbound", "Domestic"

destinations array[string] Conditional Array of destination of the trip. Provided by AXA

Max : 10 destinations

Condition: This field is required when tourism is "Outbound", "Domestic"

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
  • C : Corporate
  • P : Personal
first_name string Conditional Contact person's first name.

Max length: 30

Condition: This field is required when client_type is "P"

last_name string Conditional Contact person's last name.

Max length: 30

Condition: This field is required when client_type is "P"

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

email 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 Selection

If 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
{
    "trans_no": "AXA:TA:22000028",
    "sale_channel": "BKO",
    "agent_code": "XXXXX",
    "staff_code": "XB",
    "lang": "en",
    "tourism": "Outbound",
    "policy_type": "Individual",
    "travel_plan": "Single",
    "plan_code": "OS1",
    "destinations": ["SHN","SGS","UMI"],
    "inception_date": "2023-07-04",
    "expiry_date": "2023-07-04",
    "client_type": "P",
    "first_name": "Partner",
    "last_name": "Test",
    "phone_number": "",
    "email": "example@partner.com",
    "promo": "",
    "travellers": [
        {
            "birth_date": "1966-04-05"
        },
        {
            "birth_date": "2021-11-05"
        }
    ],
    "transaction_by": "B05E6376-D8E0-481B-943C-1F21475D9AE7",
     "product":"outboundchoice"
}
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
  • Pending : waiting for use
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
{
    "trans_no": "AXA:TA:22000028",
    "quotation_id": "9839560c-b77c-410a-a38d-4147014f37bc",
    "quotation_no": "QU22000343",
    "valid_date": "2022-11-27",
    "status": "Pending",
    "net_premium": 215.0,
    "discount": 0.0,
    "stamp": 1,
    "vat": 0.0,
    "total_premium": 216.0,
    "download": {
        "type": "quotation",
        "link": "https://uatapiconnect.axa.co.th/report/44ed124e529f42579267a754293d907"
    }
}
Download Reference
Name Type Description
type string Type of download
  • Quotation
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

Condition: The age of the traveller depends on the insurance conditions.