Create Quotation

V4

post /insurance/motor/v4/quotations

This endpoint to get quote and create quotation.

This endpoint(voluntary) is deprecated and will be removed on 2025-12-31. Use /insurance/motor/v5/quotations instead.

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

is_red bool Required Use for car red plate
reg_no string Conditional Vehicle license plate

Condition: This field is required when "is_red" is "false"

reg_no_province_code string Required Vehicle license plate(province)

Refer to License Plate Province

vehicle_key string Required Unique Vehicle Key Provided by AXA
use_of_vehicle string Conditional Vehicle use
  • PrivateUse
  • CommercialUse

Condition: This field is required when the policy_type in the items is voluntary.

transaction_by guid Required Globally unique identifier value of the user id. Provided by AXA
items array[object] Required Array of Item
Example request
{
    "trans_no": "AXA-2110-0001",
    "sale_channel": "BKO",
    "agent_code": "XXXXX",
    "staff_code": "HG",
    "client_type": "P",
    "first_name": "Test",
    "last_name": "System",
    "phone_number": "0999999999",
    "email": "example@axa.co.th",
    "reg_no": "9กก 8888",
    "reg_no_province_code": "10",
    "vehicle_key": "FORD13BNS",
    "use_of_vehicle": "privateuse",
    "items": [
        {
            "policy_type": "voluntary",
            "package_key": "Type2PLuS",
            "garage": "contract",
            "driver_birth_date1": "",
            "driver_birth_date2":  "",
            "inception_date": "2022-07-06",
            "expiry_date": "2023-07-06",
            "sum_insured": 100000,
            "natcat_code":"",
            "deduct": 0,
            "cctv":true
        },
        {
            "policy_type": "compulsory",
            "package_key": "compulsory",
            "reg_no_province_code": "10",
            "inception_date": "2022-07-06",
            "expiry_date": "2023-07-06"
        }
  ],
    "transaction_by": "8C890CB2-9FAD-4953-BCC7-E54B9ACE827C"
}
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

Format: yyyy-mm-dd

status string Quotation status
  • Pending : waiting for use
  • Issued : used already
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-2110-0001",
    "quotation_id": "7e94d37c-8712-4c6e-3331-08d993586eae",
    "quotation_no": "QU21002044",
    "valid_date": "2021-11-19",
    "status": "Pending",
    "net_premium": 348.49,
    "discount": 0.00,
    "stamp": 2,
    "vat": 24.53,
    "total_premium": 375.02,
    "download": {
        "type": "quotation",
        "link": "https://uatapiconnect.axa.co.th/report/41ed024e539f44559277aa754293d907"
    }
}
Item Reference
Name Type Required Description
policy_type string Required Type of policy
  • Compulsory
  • Voluntary
package_key string Required Package key Provided by AXA
garage string Conditional Garage Type
  • Contract
  • Dealer

Condition: This field is required when policy_type is voluntary and package_key are "type1","type2plus", "type3plus"

driver_birth_date1 date Optional Driver's date of birth 1

Format: yyyy-mm-dd

Condition: This applies only to the policy type voluntary and package_key are "type1".
The driver is at least 18 years old but not over 100 years old.

driver_birth_date2 date Optional Driver's date of birth 2

Format: yyyy-mm-dd

Condition: This applies only to the policy type voluntary and package_key are "type1".
The driver is at least 18 years old but not over 100 years old.

inception_date date Required Policy effective date

Format: yyyy-mm-dd

expiry_date date Required Policy expiration date

Format: yyyy-mm-dd

sum_insured int Conditional The sum insured under a motor insurance policy

Condition: This field is required when policy_type is voluntary and package_key are "type1","type2plus", "type3plus"

natcat_code string Optional Natcat code Provided by AXA

Condition: Effective only when policy_type is voluntary and package_key are "type2plus", "type3plus"

deduct int Optional The maximum amount you will be required to pay for your car repair in case of damage to your vehicle only when you are at fault or without an identified responsible third party. Condition: if policy_type is "voluntary" and package_key is "type1" then deduct can be 0, 3000 or 5000 if policy_type is "voluntary" and package_key is "type2plus" or, "type3plus" the deduct can be 0 or 2000

Condition: Effective only when policy_type is voluntary and package_key are "type1","type2plus", "type3plus"

cctv bool Optional A flag for vehicles with CCTV or dashcam
tax_expiry_date date Conditional Tax expiration date

Condition: This field is required when policy_type is compulsory and not full year coverage

year int Conditional Manufacture Year e.g. 2021

Condition: This field is required for standalone compulsory