GET v1/Search/PolicyQuoteList/{customerId}?polWithoutQuotes={polWithoutQuotes}&voidedPolicyIdToInclude={voidedPolicyIdToInclude}

Returns the basic information needed when issuing a policy

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

string

Required

polWithoutQuotes

boolean

Default value is False

voidedPolicyIdToInclude

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SimplePolicyDTO
NameDescriptionTypeAdditional 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": "2017-12-17T08:10:02.1237738+00:00",
    "EffectiveDateString": "sample string 2",
    "ExpirationDate": "2017-12-17T08:10:02.1237738+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": "2017-12-17T08:10:02.1237738+00:00",
    "EffectiveDateString": "sample string 2",
    "ExpirationDate": "2017-12-17T08:10:02.1237738+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>2017-12-17T08:10:02.1237738+00:00</EffectiveDate>
    <EffectiveDateString>sample string 2</EffectiveDateString>
    <ExpirationDate>2017-12-17T08:10:02.1237738+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>2017-12-17T08:10:02.1237738+00:00</EffectiveDate>
    <EffectiveDateString>sample string 2</EffectiveDateString>
    <ExpirationDate>2017-12-17T08:10:02.1237738+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>