POST PostMotorQuotationRequest
Request Information
URI Parameters
None.
Body Parameters
GetMotorQuotationRequestAPIModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductCode | string |
Required Max length: 4 |
|
| FirstName | string |
Required Matching regular expression pattern: ^[a-zA-Z0-9_\-\.\,\/\&\'\(\)]+(?: [a-zA-Z0-9_\-\.\,\/\&\'\(\)]+)*$ String length: inclusive between 0 and 100 |
|
| LastName | string |
Matching regular expression pattern: ^[a-zA-Z0-9_\-\.\,\/\&\'\(\)]+(?: [a-zA-Z0-9_\-\.\,\/\&\'\(\)]+)*$ String length: inclusive between 0 and 50 |
|
| MobileNo | integer |
Required |
|
| EmailId | string |
Required Matching regular expression pattern: \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* Max length: 50 Min length: 6 |
|
| BranchCode | string |
Required Max length: 3 |
|
| CoverTypeCode | CoverTypes |
Required |
|
| BinderCode | integer |
Required |
|
| Intermediary | string |
None. |
|
| Remark | string |
None. |
|
| CountryCode | integer |
None. |
|
| Vehicles | Collection of MotorRiskAPIModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductCode": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"MobileNo": 4,
"EmailId": "sample string 5",
"BranchCode": "sample string 6",
"CoverTypeCode": 0,
"BinderCode": 1,
"Intermediary": "sample string 7",
"Remark": "sample string 8",
"CountryCode": 9,
"Vehicles": [
{
"RegistrationNo": "sample string 1",
"Make": 2,
"Model": 3,
"BodyType": 1,
"ManfYr": 4,
"VehicleValue": 5.1,
"TowingCtrl": 1.1,
"WindscreenCtrl": 1.1,
"CarStereoCtrl": 1.1,
"CraneRecoveryCtrl": 1.1,
"TransportHireCtrl": 1.1,
"LossOfUseCtrl": 1.1,
"EmergencyMedicalExpenseCtrl": 1.1,
"AmbulanceServiceCtrl": 1,
"Passenger": 1,
"VehicleRescueServiceCtrl": [
1,
2
],
"PLLCtrl": 1.1,
"AccessoriesCtrl": 1.1,
"VehicleTonnageCtrl": 6,
"NoOfVehicleTonnageCtrl": 1,
"ActualTonnage": 1.1,
"PersonalAccidentCtrl": 1.1,
"BusForPublic": true,
"OrientXtenseChk": true,
"ExcessProtectorTheftAndDamage": true,
"ExcessProtectorOwnDamage": true,
"PVT": true,
"PrimeMover": true,
"RiotStrike": true,
"CoutesyCar": true,
"AlterntiveAccomdation": true,
"CarriersLiabilityCtrl": 1,
"FidelityGuaranteeCtrl": 1,
"LossOfIncomeCtrl": 1,
"DriverWibaCtrl": 1.1,
"LoaderWibaCtrl": 1.1,
"EmployersLiability": true,
"IsLPG": true,
"LoanRepyamentCtrl": 1,
"LoanRepyamentAmountCtrl": 1.1,
"ContainerInsuranceCtrl": 1.1,
"TankerType": 18,
"FidelityGuaranteeAmountCtrl": "sample string 19",
"LossOfIncomeAmountCtrl": "sample string 20",
"CarriersLiabilityAmountCtrl": "sample string 21",
"GMR_FUEL_TYPE": 1,
"GMR_BATTERY_VAL": 1.1,
"GMR_BATTERY_SIZE_KW": 1.1,
"GMR_BATTERY_SERIAL_NO": "sample string 22",
"GMR_LPG_SYS_INS_NAME": "sample string 23",
"GMR_LPG_VAL": 1.1,
"GMR_LPG_SERVICES": 1
},
{
"RegistrationNo": "sample string 1",
"Make": 2,
"Model": 3,
"BodyType": 1,
"ManfYr": 4,
"VehicleValue": 5.1,
"TowingCtrl": 1.1,
"WindscreenCtrl": 1.1,
"CarStereoCtrl": 1.1,
"CraneRecoveryCtrl": 1.1,
"TransportHireCtrl": 1.1,
"LossOfUseCtrl": 1.1,
"EmergencyMedicalExpenseCtrl": 1.1,
"AmbulanceServiceCtrl": 1,
"Passenger": 1,
"VehicleRescueServiceCtrl": [
1,
2
],
"PLLCtrl": 1.1,
"AccessoriesCtrl": 1.1,
"VehicleTonnageCtrl": 6,
"NoOfVehicleTonnageCtrl": 1,
"ActualTonnage": 1.1,
"PersonalAccidentCtrl": 1.1,
"BusForPublic": true,
"OrientXtenseChk": true,
"ExcessProtectorTheftAndDamage": true,
"ExcessProtectorOwnDamage": true,
"PVT": true,
"PrimeMover": true,
"RiotStrike": true,
"CoutesyCar": true,
"AlterntiveAccomdation": true,
"CarriersLiabilityCtrl": 1,
"FidelityGuaranteeCtrl": 1,
"LossOfIncomeCtrl": 1,
"DriverWibaCtrl": 1.1,
"LoaderWibaCtrl": 1.1,
"EmployersLiability": true,
"IsLPG": true,
"LoanRepyamentCtrl": 1,
"LoanRepyamentAmountCtrl": 1.1,
"ContainerInsuranceCtrl": 1.1,
"TankerType": 18,
"FidelityGuaranteeAmountCtrl": "sample string 19",
"LossOfIncomeAmountCtrl": "sample string 20",
"CarriersLiabilityAmountCtrl": "sample string 21",
"GMR_FUEL_TYPE": 1,
"GMR_BATTERY_VAL": 1.1,
"GMR_BATTERY_SIZE_KW": 1.1,
"GMR_BATTERY_SERIAL_NO": "sample string 22",
"GMR_LPG_SYS_INS_NAME": "sample string 23",
"GMR_LPG_VAL": 1.1,
"GMR_LPG_SERVICES": 1
}
]
}
application/xml, text/xml
Sample:
<GetMotorQuotationRequestAPIModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Insurance.BusinessEntities.Underwriter.Motor">
<BinderCode>1</BinderCode>
<BranchCode>sample string 6</BranchCode>
<CountryCode>9</CountryCode>
<CoverTypeCode>NA</CoverTypeCode>
<EmailId>sample string 5</EmailId>
<FirstName>sample string 2</FirstName>
<Intermediary>sample string 7</Intermediary>
<LastName>sample string 3</LastName>
<MobileNo>4</MobileNo>
<ProductCode>sample string 1</ProductCode>
<Remark>sample string 8</Remark>
<Vehicles xmlns:d2p1="http://schemas.datacontract.org/2004/07/Insurance.BusinessEntities.Underwriter">
<d2p1:MotorRiskAPIModel>
<d2p1:AccessoriesCtrl>1.1</d2p1:AccessoriesCtrl>
<d2p1:ActualTonnage>1.1</d2p1:ActualTonnage>
<d2p1:AlterntiveAccomdation>true</d2p1:AlterntiveAccomdation>
<d2p1:AmbulanceServiceCtrl>1</d2p1:AmbulanceServiceCtrl>
<d2p1:BodyType>1</d2p1:BodyType>
<d2p1:BusForPublic>true</d2p1:BusForPublic>
<d2p1:CarStereoCtrl>1.1</d2p1:CarStereoCtrl>
<d2p1:CarriersLiabilityAmountCtrl>sample string 21</d2p1:CarriersLiabilityAmountCtrl>
<d2p1:CarriersLiabilityCtrl>1</d2p1:CarriersLiabilityCtrl>
<d2p1:ContainerInsuranceCtrl>1.1</d2p1:ContainerInsuranceCtrl>
<d2p1:CoutesyCar>true</d2p1:CoutesyCar>
<d2p1:CraneRecoveryCtrl>1.1</d2p1:CraneRecoveryCtrl>
<d2p1:DriverWibaCtrl>1.1</d2p1:DriverWibaCtrl>
<d2p1:EmergencyMedicalExpenseCtrl>1.1</d2p1:EmergencyMedicalExpenseCtrl>
<d2p1:EmployersLiability>true</d2p1:EmployersLiability>
<d2p1:ExcessProtectorOwnDamage>true</d2p1:ExcessProtectorOwnDamage>
<d2p1:ExcessProtectorTheftAndDamage>true</d2p1:ExcessProtectorTheftAndDamage>
<d2p1:FidelityGuaranteeAmountCtrl>sample string 19</d2p1:FidelityGuaranteeAmountCtrl>
<d2p1:FidelityGuaranteeCtrl>1</d2p1:FidelityGuaranteeCtrl>
<d2p1:GMR_BATTERY_SERIAL_NO>sample string 22</d2p1:GMR_BATTERY_SERIAL_NO>
<d2p1:GMR_BATTERY_SIZE_KW>1.1</d2p1:GMR_BATTERY_SIZE_KW>
<d2p1:GMR_BATTERY_VAL>1.1</d2p1:GMR_BATTERY_VAL>
<d2p1:GMR_FUEL_TYPE>Petrol</d2p1:GMR_FUEL_TYPE>
<d2p1:GMR_LPG_SERVICES>PetrolLPG</d2p1:GMR_LPG_SERVICES>
<d2p1:GMR_LPG_SYS_INS_NAME>sample string 23</d2p1:GMR_LPG_SYS_INS_NAME>
<d2p1:GMR_LPG_VAL>1.1</d2p1:GMR_LPG_VAL>
<d2p1:IsLPG>true</d2p1:IsLPG>
<d2p1:LoaderWibaCtrl>1.1</d2p1:LoaderWibaCtrl>
<d2p1:LoanRepyamentAmountCtrl>1.1</d2p1:LoanRepyamentAmountCtrl>
<d2p1:LoanRepyamentCtrl>1</d2p1:LoanRepyamentCtrl>
<d2p1:LossOfIncomeAmountCtrl>sample string 20</d2p1:LossOfIncomeAmountCtrl>
<d2p1:LossOfIncomeCtrl>1</d2p1:LossOfIncomeCtrl>
<d2p1:LossOfUseCtrl>1.1</d2p1:LossOfUseCtrl>
<d2p1:Make>2</d2p1:Make>
<d2p1:ManfYr>4</d2p1:ManfYr>
<d2p1:Model>3</d2p1:Model>
<d2p1:NoOfVehicleTonnageCtrl>1</d2p1:NoOfVehicleTonnageCtrl>
<d2p1:OrientXtenseChk>true</d2p1:OrientXtenseChk>
<d2p1:PLLCtrl>1.1</d2p1:PLLCtrl>
<d2p1:PVT>true</d2p1:PVT>
<d2p1:Passenger>1</d2p1:Passenger>
<d2p1:PersonalAccidentCtrl>1.1</d2p1:PersonalAccidentCtrl>
<d2p1:PrimeMover>true</d2p1:PrimeMover>
<d2p1:RegistrationNo>sample string 1</d2p1:RegistrationNo>
<d2p1:RiotStrike>true</d2p1:RiotStrike>
<d2p1:TankerType>18</d2p1:TankerType>
<d2p1:TowingCtrl>1.1</d2p1:TowingCtrl>
<d2p1:TransportHireCtrl>1.1</d2p1:TransportHireCtrl>
<d2p1:VehicleRescueServiceCtrl xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</d2p1:VehicleRescueServiceCtrl>
<d2p1:VehicleTonnageCtrl>6</d2p1:VehicleTonnageCtrl>
<d2p1:VehicleValue>5.1</d2p1:VehicleValue>
<d2p1:WindscreenCtrl>1.1</d2p1:WindscreenCtrl>
</d2p1:MotorRiskAPIModel>
<d2p1:MotorRiskAPIModel>
<d2p1:AccessoriesCtrl>1.1</d2p1:AccessoriesCtrl>
<d2p1:ActualTonnage>1.1</d2p1:ActualTonnage>
<d2p1:AlterntiveAccomdation>true</d2p1:AlterntiveAccomdation>
<d2p1:AmbulanceServiceCtrl>1</d2p1:AmbulanceServiceCtrl>
<d2p1:BodyType>1</d2p1:BodyType>
<d2p1:BusForPublic>true</d2p1:BusForPublic>
<d2p1:CarStereoCtrl>1.1</d2p1:CarStereoCtrl>
<d2p1:CarriersLiabilityAmountCtrl>sample string 21</d2p1:CarriersLiabilityAmountCtrl>
<d2p1:CarriersLiabilityCtrl>1</d2p1:CarriersLiabilityCtrl>
<d2p1:ContainerInsuranceCtrl>1.1</d2p1:ContainerInsuranceCtrl>
<d2p1:CoutesyCar>true</d2p1:CoutesyCar>
<d2p1:CraneRecoveryCtrl>1.1</d2p1:CraneRecoveryCtrl>
<d2p1:DriverWibaCtrl>1.1</d2p1:DriverWibaCtrl>
<d2p1:EmergencyMedicalExpenseCtrl>1.1</d2p1:EmergencyMedicalExpenseCtrl>
<d2p1:EmployersLiability>true</d2p1:EmployersLiability>
<d2p1:ExcessProtectorOwnDamage>true</d2p1:ExcessProtectorOwnDamage>
<d2p1:ExcessProtectorTheftAndDamage>true</d2p1:ExcessProtectorTheftAndDamage>
<d2p1:FidelityGuaranteeAmountCtrl>sample string 19</d2p1:FidelityGuaranteeAmountCtrl>
<d2p1:FidelityGuaranteeCtrl>1</d2p1:FidelityGuaranteeCtrl>
<d2p1:GMR_BATTERY_SERIAL_NO>sample string 22</d2p1:GMR_BATTERY_SERIAL_NO>
<d2p1:GMR_BATTERY_SIZE_KW>1.1</d2p1:GMR_BATTERY_SIZE_KW>
<d2p1:GMR_BATTERY_VAL>1.1</d2p1:GMR_BATTERY_VAL>
<d2p1:GMR_FUEL_TYPE>Petrol</d2p1:GMR_FUEL_TYPE>
<d2p1:GMR_LPG_SERVICES>PetrolLPG</d2p1:GMR_LPG_SERVICES>
<d2p1:GMR_LPG_SYS_INS_NAME>sample string 23</d2p1:GMR_LPG_SYS_INS_NAME>
<d2p1:GMR_LPG_VAL>1.1</d2p1:GMR_LPG_VAL>
<d2p1:IsLPG>true</d2p1:IsLPG>
<d2p1:LoaderWibaCtrl>1.1</d2p1:LoaderWibaCtrl>
<d2p1:LoanRepyamentAmountCtrl>1.1</d2p1:LoanRepyamentAmountCtrl>
<d2p1:LoanRepyamentCtrl>1</d2p1:LoanRepyamentCtrl>
<d2p1:LossOfIncomeAmountCtrl>sample string 20</d2p1:LossOfIncomeAmountCtrl>
<d2p1:LossOfIncomeCtrl>1</d2p1:LossOfIncomeCtrl>
<d2p1:LossOfUseCtrl>1.1</d2p1:LossOfUseCtrl>
<d2p1:Make>2</d2p1:Make>
<d2p1:ManfYr>4</d2p1:ManfYr>
<d2p1:Model>3</d2p1:Model>
<d2p1:NoOfVehicleTonnageCtrl>1</d2p1:NoOfVehicleTonnageCtrl>
<d2p1:OrientXtenseChk>true</d2p1:OrientXtenseChk>
<d2p1:PLLCtrl>1.1</d2p1:PLLCtrl>
<d2p1:PVT>true</d2p1:PVT>
<d2p1:Passenger>1</d2p1:Passenger>
<d2p1:PersonalAccidentCtrl>1.1</d2p1:PersonalAccidentCtrl>
<d2p1:PrimeMover>true</d2p1:PrimeMover>
<d2p1:RegistrationNo>sample string 1</d2p1:RegistrationNo>
<d2p1:RiotStrike>true</d2p1:RiotStrike>
<d2p1:TankerType>18</d2p1:TankerType>
<d2p1:TowingCtrl>1.1</d2p1:TowingCtrl>
<d2p1:TransportHireCtrl>1.1</d2p1:TransportHireCtrl>
<d2p1:VehicleRescueServiceCtrl xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</d2p1:VehicleRescueServiceCtrl>
<d2p1:VehicleTonnageCtrl>6</d2p1:VehicleTonnageCtrl>
<d2p1:VehicleValue>5.1</d2p1:VehicleValue>
<d2p1:WindscreenCtrl>1.1</d2p1:WindscreenCtrl>
</d2p1:MotorRiskAPIModel>
</Vehicles>
</GetMotorQuotationRequestAPIModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |