Indicative Quote Point Of Sale (POS)
This API is REST based to provide insurance quote based on customer data sent by partners.
Business Use case
This API presents an Indicative quote of Insurance for a customer when basic information is provided. Partner system to push data to Allianz to create an insurance policy estimate. Customer, property, and finance data can be pushed to Allianz to form a policy.
Technical Overview
The Indicative Quote API is exposed via
PUT/createPolicyEstimate
and uses REST based HTTP integration as transfer protocol. The examples focus on the essential programming tasks for creating an Indicative Quote POS, taking advantage of default settings when possible.
PUT v1/policy/estimate/{product}
Note: Refer to Environment URLs page under Overview/Guidelines/Documentation for complete URL for each environment.
Authentication
HTTP requests to the API are protected with HTTP Basic authentication. To learn more about how Allianz handles authentication, please refer to our Security Model page under Overview/Guidelines/Documentation.
Request Body Structure for Property
Request body structure for Motor (Vehicle)
Field Reference – Request for Property
Field Description | Example |
---|---|
|
|
Field Reference – Request for Vehicle
Example | Node | Required/Optional | Description | |||||||||||||||||||||||||
{ "intermediaryId": "MERBEBFREE", "subdwellingCode": "U", "emailAddresses": [ "givenName": "covertype": "redBookCode": |
policyHeader | required | Root element Contains policy details such as policy start date, name of the officer initiating etc. |
|||||||||||||||||||||||||
brand | required | Root element | ||||||||||||||||||||||||||
code | required | Required field for Dealer Motor, 3 letters of the the brand of the car. Example: MER, MIN, BMW, VOL |
||||||||||||||||||||||||||
insurancePeriodStar tDate |
required | String Start date of the insurance in the format yyyy-MM-dd. Typically this is the settlement date of the purchase. In the absence of a settlement date pass today’s date. |
||||||||||||||||||||||||||
policyIntermediary | required | Contains details of the officer initiating the request. | ||||||||||||||||||||||||||
intermediaryId | required | Identifier of the partner in the Allianz sales system. To be provided to partner by Allianz. | ||||||||||||||||||||||||||
placingOfficerCode | required | Identifier of the individual who placed the transaction in the Allianz sales system. | ||||||||||||||||||||||||||
placingOfficerName |
required | Full name of the individual who placed the transaction in the Allianz sales system. | ||||||||||||||||||||||||||
placingOfficerEmail | optional | Email of the individual who placed the transaction in the Allianz sales system. | ||||||||||||||||||||||||||
policyInsureds | required | Policy Insured contact details |
||||||||||||||||||||||||||
person | optional | Details of the customer | ||||||||||||||||||||||||||
emailAddresses | required | If Indicative quote Safetynet API. The email address of the customer. |
||||||||||||||||||||||||||
emailAddress | required | If Indicative quote Safetynet API. The email address of the customer |
||||||||||||||||||||||||||
preferred | required | Boolean Indicates if this email address is the preferred contact when multiple email address is specified. |
||||||||||||||||||||||||||
mailingAddress | optional | Person Address | ||||||||||||||||||||||||||
countryCode | optional | Code of the Country (AUS) | ||||||||||||||||||||||||||
countryName | optional | Name of the country (Australia). | ||||||||||||||||||||||||||
lineOne | optional | Represents street level details on the Insured mailing Address. | ||||||||||||||||||||||||||
postalCode | optional | The postal code of the address. Value passed should be a valid Postal Address Format (PAF)/Australia Post value. |
||||||||||||||||||||||||||
stateOrProvinceCode | optional | The state of the address. Value passed should be a valid Postal Address Format (PAF)/Australia Post value. |
||||||||||||||||||||||||||
suburbName | optional | The suburb of the address. | ||||||||||||||||||||||||||
personName | required | Person Details. | ||||||||||||||||||||||||||
givenName | required | The first name of the customer | ||||||||||||||||||||||||||
surname | required | The family name of the customer | ||||||||||||||||||||||||||
telephoneNumbers | optional | Person Telephone numbers, whichever is applicable. | ||||||||||||||||||||||||||
phoneAreaCode | optional | The area code of the phone number. | ||||||||||||||||||||||||||
phoneCountryCode | required | The country code of the phone number. | ||||||||||||||||||||||||||
phoneNumber | required | Phone number | ||||||||||||||||||||||||||
typeCode | required | Type of phone Mobile/landline |
||||||||||||||||||||||||||
type | required | Represents the entities (Person) to be insured on the quote. Only one PolicyInsured in the List can have a type=PRIMARY. Additional PolicyInsured can be specified in the List but must be a Person and have type=COINSURED. Maximum number of PolicyInsured in the List is 5 i.e., 1 PRIMARY (Person) and 4 COINSURED (Person). |
||||||||||||||||||||||||||
policyVehicle | required | Details of the Vehicle | ||||||||||||||||||||||||||
garagingAddress | required | Details of the Garaging Address of the Vehicle | ||||||||||||||||||||||||||
countryCode | required | Code of the Country (AUS) | ||||||||||||||||||||||||||
countryName | required | Name of the country (Australia). | ||||||||||||||||||||||||||
lineOne | optional | Represents street level details on the Insured mailing Address. | ||||||||||||||||||||||||||
postalCode | optional | The postal code of the address. Value passed should be a valid Postal Address Format (PAF)/Australia Post value. |
||||||||||||||||||||||||||
stateOrProvinceCode | required | The state of the address. Value passed should be a valid Postal Address Format (PAF)/Australia Post value. |
||||||||||||||||||||||||||
suburbName | optional | The suburb of the address. | ||||||||||||||||||||||||||
vehicleRiskCriteria | optional | Root element Vehicle cover type |
||||||||||||||||||||||||||
financeMethodCode | optional |
How is your vehicle financed?
|
||||||||||||||||||||||||||
employmentStatus | optional |
What is your current employment status?
|
||||||||||||||||||||||||||
residentialStatus | optional |
What is your current residential status?
|
||||||||||||||||||||||||||
coverType | optional | Market Value Or Agreed Value |
||||||||||||||||||||||||||
policyDriver | required | Primary Policy Driver details | ||||||||||||||||||||||||||
givenName | required | Policy holder’s first name | ||||||||||||||||||||||||||
surName | required | Policy holder’s last name | ||||||||||||||||||||||||||
genderCode | optional | Policy holder’s gender Male Female Other |
||||||||||||||||||||||||||
birthDate | required | Policy holder date of birth, not full but following format : yyyy or mm-yyyy |
||||||||||||||||||||||||||
vehicleOwnerFlag | optional | This flag indicates that this PolicyDriver is primary, in case of more than one PolicyDriver. Value : true/false |
||||||||||||||||||||||||||
underTwentyFiveFlag | optional | This flag indicates if there are any drivers Under 25 years old. Value: true/false |
||||||||||||||||||||||||||
ownOtherVehicleFlag | optional | This flag indicates whether the Policy holder owns any other vehicle. Value : true/false |
||||||||||||||||||||||||||
imposedExcess | optional | Not required | ||||||||||||||||||||||||||
licenceAge | optional | Age of the policydriver. | ||||||||||||||||||||||||||
numberOfClaims | optional |
Year: Dropdown will show last 6 years (i.e current year followed by remaining 5 years) and Accident / Claim type
|
||||||||||||||||||||||||||
vehicleUse | required | Vehicle usage root element | ||||||||||||||||||||||||||
Code | required |
|
||||||||||||||||||||||||||
garageCode | required |
Type of garaging of the vehicle:
|
||||||||||||||||||||||||||
estimatedAnnualDist ance |
required |
Approximately how many kilometres per year does your vehicle travel?
|
||||||||||||||||||||||||||
registration | required | Registration details of the vehicle. (root element) One of the registration details are Required. Either registrationId/Nvic/redbookcode/VIN. |
||||||||||||||||||||||||||
registrationId |
optional | String Plate number of the vehicle |
||||||||||||||||||||||||||
Nvic | optional | String Glass's National Vehicle Identification Code (NVIC) is a unique character code used to identify an individual motor vehicle. This value is only available to Glass's customers. |
||||||||||||||||||||||||||
redBookCode | optional | The Red Book Code, which consists of eight digits, (HOLD04AN), is unique to the particular vehicle and remains with that vehicle throughout its life. It's the basis to the Red Book information system and everything that flows from it. | ||||||||||||||||||||||||||
vehicleBody | optional | Root element. Vehicle Body details. |
||||||||||||||||||||||||||
Code | optional | Details of the vehicle shape, engine etc |
||||||||||||||||||||||||||
Chassis | optional | Chassis details | ||||||||||||||||||||||||||
vehicleidentificationNumber | optional | VIN number of the vehicle |
Note: See Overview/Guidelines/Documentation section REST Request Headers for mandatory headers that must be supplied in addition to the above request.
Field Reference – ReSPONSE
|
{ "type": "DocumentLink", "uuid": "QS2124536_aZ_rNpDypDJ3Ude51XrrdLuqZ5xHzGvInYbc_VkWu8hJ7tgLeovGEmg", "uri": "https://www.einsure.com.au/DSPauth/personal/web/policy/estimate?fx=YXVz…" } |
ERROR ReSPONSE CODES
Refer to Overview/Guidelines/Documentation section REST Based Error Codes for details.