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.
|
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
|
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 |
is_red | bool | Required | Use for car red plate |
reg_no | string | Conditional | Vehicle license plate
|
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
|
transaction_by | guid | Required | Globally unique identifier value of the user id. Provided by AXA |
items | array[object] | Required | Array of Item |
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
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
Item Reference
Name | Type | Required | Description |
---|---|---|---|
policy_type | string | Required |
Type of policy
|
package_key | string | Required | Package key Provided by AXA |
garage | string | Conditional |
Garage Type
|
driver_birth_date1 | date | Optional |
Driver's date of birth 1
Format: yyyy-mm-dd
|
driver_birth_date2 | date | Optional |
Driver's date of birth 2
Format: yyyy-mm-dd
|
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
|
natcat_code | string | Optional |
Natcat code Provided by AXA
|
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
|
cctv | bool | Optional | A flag for vehicles with CCTV or dashcam |
tax_expiry_date | date | Conditional |
Tax expiration date
|
year | int | Conditional |
Manufacture Year e.g. 2021
|