GET v1/Search/PolicyQuoteList/{customerId}?polWithoutQuotes={polWithoutQuotes}&voidedPolicyIdToInclude={voidedPolicyIdToInclude}
Returns the basic information needed when issuing a policy
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerId |
Customer Id |
string |
Required |
polWithoutQuotes |
Boolean defines whether the result policy should contain quotes information or not |
boolean |
Default value is False |
voidedPolicyIdToInclude |
Voided policy Id to include |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of policies
Collection of SimplePolicyDTOName | Description | Type | Additional information |
---|---|---|---|
EffectiveDate | date |
None. |
|
EffectiveDateString | string |
None. |
|
ExpirationDate | date |
None. |
|
ExpirationDateString | string |
None. |
|
LobId | integer |
None. |
|
LOBDescription | string |
None. |
|
PolicyID | integer |
None. |
|
Quotes | Collection of SimpleQuoteDTO |
None. |
Response Formats
application/json, text/json
Sample:
[ { "EffectiveDate": "2024-11-21T09:51:05.8680714+00:00", "EffectiveDateString": "sample string 2", "ExpirationDate": "2024-11-21T09:51:05.8680714+00:00", "ExpirationDateString": "sample string 4", "LobId": 5, "LOBDescription": "sample string 6", "PolicyID": 7, "Quotes": [ { "QuoteID": 1, "Premium": 2.0, "PremiumString": "sample string 3", "CarrierId": 1, "Carrier": "sample string 4", "MGAId": 1, "MGA": "sample string 5" }, { "QuoteID": 1, "Premium": 2.0, "PremiumString": "sample string 3", "CarrierId": 1, "Carrier": "sample string 4", "MGAId": 1, "MGA": "sample string 5" } ] }, { "EffectiveDate": "2024-11-21T09:51:05.8680714+00:00", "EffectiveDateString": "sample string 2", "ExpirationDate": "2024-11-21T09:51:05.8680714+00:00", "ExpirationDateString": "sample string 4", "LobId": 5, "LOBDescription": "sample string 6", "PolicyID": 7, "Quotes": [ { "QuoteID": 1, "Premium": 2.0, "PremiumString": "sample string 3", "CarrierId": 1, "Carrier": "sample string 4", "MGAId": 1, "MGA": "sample string 5" }, { "QuoteID": 1, "Premium": 2.0, "PremiumString": "sample string 3", "CarrierId": 1, "Carrier": "sample string 4", "MGAId": 1, "MGA": "sample string 5" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfSimplePolicyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies"> <SimplePolicyDTO> <EffectiveDate>2024-11-21T09:51:05.8680714+00:00</EffectiveDate> <EffectiveDateString>sample string 2</EffectiveDateString> <ExpirationDate>2024-11-21T09:51:05.8680714+00:00</ExpirationDate> <ExpirationDateString>sample string 4</ExpirationDateString> <LOBDescription>sample string 6</LOBDescription> <LobId>5</LobId> <PolicyID>7</PolicyID> <Quotes> <SimpleQuoteDTO> <Carrier>sample string 4</Carrier> <CarrierId>1</CarrierId> <MGA>sample string 5</MGA> <MGAId>1</MGAId> <Premium>2</Premium> <PremiumString>sample string 3</PremiumString> <QuoteID>1</QuoteID> </SimpleQuoteDTO> <SimpleQuoteDTO> <Carrier>sample string 4</Carrier> <CarrierId>1</CarrierId> <MGA>sample string 5</MGA> <MGAId>1</MGAId> <Premium>2</Premium> <PremiumString>sample string 3</PremiumString> <QuoteID>1</QuoteID> </SimpleQuoteDTO> </Quotes> </SimplePolicyDTO> <SimplePolicyDTO> <EffectiveDate>2024-11-21T09:51:05.8680714+00:00</EffectiveDate> <EffectiveDateString>sample string 2</EffectiveDateString> <ExpirationDate>2024-11-21T09:51:05.8680714+00:00</ExpirationDate> <ExpirationDateString>sample string 4</ExpirationDateString> <LOBDescription>sample string 6</LOBDescription> <LobId>5</LobId> <PolicyID>7</PolicyID> <Quotes> <SimpleQuoteDTO> <Carrier>sample string 4</Carrier> <CarrierId>1</CarrierId> <MGA>sample string 5</MGA> <MGAId>1</MGAId> <Premium>2</Premium> <PremiumString>sample string 3</PremiumString> <QuoteID>1</QuoteID> </SimpleQuoteDTO> <SimpleQuoteDTO> <Carrier>sample string 4</Carrier> <CarrierId>1</CarrierId> <MGA>sample string 5</MGA> <MGAId>1</MGAId> <Premium>2</Premium> <PremiumString>sample string 3</PremiumString> <QuoteID>1</QuoteID> </SimpleQuoteDTO> </Quotes> </SimplePolicyDTO> </ArrayOfSimplePolicyDTO>