GET v1/PolicyProductDetails/ProductDetailsData/{policyId}
Get Policy Product details by policy id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| policyId |
int |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PolicyProductDetailsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProductNumber | integer |
None. |
|
| PolicyQuoteID | integer |
None. |
|
| ProductName | string |
None. |
|
| AnnulaSalesReceipts | integer |
None. |
|
| NumberOfUnits | integer |
None. |
|
| MonthsInMarket | integer |
None. |
|
| MonthsExpectedLife | integer |
None. |
|
| IntendedUse | string |
None. |
|
| PrincipalComponents | string |
None. |
|
| IsRented | boolean |
None. |
|
| IsProductImported | boolean |
None. |
|
| IsProductExported | boolean |
None. |
|
| IsNewProduct | boolean |
None. |
|
| IsAircraft | boolean |
None. |
|
| ReturnType | string |
None. |
|
| ProductOfOthers | string |
None. |
|
| LabelOfOthers | string |
None. |
|
| TypeOfBusiness | string |
None. |
|
| RevenuePercentage | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"ProductNumber": 1,
"PolicyQuoteID": 2,
"ProductName": "sample string 3",
"AnnulaSalesReceipts": 1,
"NumberOfUnits": 1,
"MonthsInMarket": 1,
"MonthsExpectedLife": 1,
"IntendedUse": "sample string 4",
"PrincipalComponents": "sample string 5",
"IsRented": true,
"IsProductImported": true,
"IsProductExported": true,
"IsNewProduct": true,
"IsAircraft": true,
"ReturnType": "sample string 6",
"ProductOfOthers": "sample string 7",
"LabelOfOthers": "sample string 8",
"TypeOfBusiness": "sample string 9",
"RevenuePercentage": 1
}
application/xml, text/xml
Sample:
<PolicyProductDetailsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies"> <AnnulaSalesReceipts>1</AnnulaSalesReceipts> <Id>1</Id> <IntendedUse>sample string 4</IntendedUse> <IsAircraft>true</IsAircraft> <IsNewProduct>true</IsNewProduct> <IsProductExported>true</IsProductExported> <IsProductImported>true</IsProductImported> <IsRented>true</IsRented> <LabelOfOthers>sample string 8</LabelOfOthers> <MonthsExpectedLife>1</MonthsExpectedLife> <MonthsInMarket>1</MonthsInMarket> <NumberOfUnits>1</NumberOfUnits> <PolicyQuoteID>2</PolicyQuoteID> <PrincipalComponents>sample string 5</PrincipalComponents> <ProductName>sample string 3</ProductName> <ProductNumber>1</ProductNumber> <ProductOfOthers>sample string 7</ProductOfOthers> <ReturnType>sample string 6</ReturnType> <RevenuePercentage>1</RevenuePercentage> <TypeOfBusiness>sample string 9</TypeOfBusiness> </PolicyProductDetailsDTO>