GET v1/Policies/{policyId}/Quotes

Get all of the quotes for the specified policy

Request Information

URI Parameters

NameDescriptionTypeAdditional information
policyId

Policy Id to get quotes for

string

Required

Body Parameters

None.

Response Information

Resource Description

List of Quotes

Collection of QuoteDTO
NameDescriptionTypeAdditional information
QuoteID

integer

None.

PolicyID

integer

None.

QuoteNumber

string

None.

QuoteStatus

string

None.

QuoteSubStatus

string

None.

QuoteType

string

None.

CarrierID

integer

None.

MGAID

integer

None.

QuoteDate

date

None.

QuoteExpirationDate

date

None.

QuotedByID

integer

None.

Conditions

string

None.

BasePremium

decimal number

None.

IsDeleted

boolean

None.

Preferred

boolean

None.

QuoteCarrierFees

Collection of QuoteCarrierFeeDTO

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "QuoteID": 1,
    "PolicyID": 2,
    "QuoteNumber": "sample string 3",
    "QuoteStatus": "sample string 4",
    "QuoteSubStatus": "sample string 5",
    "QuoteType": "sample string 6",
    "CarrierID": 1,
    "MGAID": 1,
    "QuoteDate": "2024-11-21T09:56:17.2589365+00:00",
    "QuoteExpirationDate": "2024-11-21T09:56:17.2589365+00:00",
    "QuotedByID": 7,
    "Conditions": "sample string 8",
    "BasePremium": 1.0,
    "IsDeleted": true,
    "Preferred": true,
    "QuoteCarrierFees": [
      {
        "QuoteID": 1,
        "CarrierFeeID": 2,
        "AmountIsPercent": true,
        "Amount": 4.0
      },
      {
        "QuoteID": 1,
        "CarrierFeeID": 2,
        "AmountIsPercent": true,
        "Amount": 4.0
      }
    ]
  },
  {
    "QuoteID": 1,
    "PolicyID": 2,
    "QuoteNumber": "sample string 3",
    "QuoteStatus": "sample string 4",
    "QuoteSubStatus": "sample string 5",
    "QuoteType": "sample string 6",
    "CarrierID": 1,
    "MGAID": 1,
    "QuoteDate": "2024-11-21T09:56:17.2589365+00:00",
    "QuoteExpirationDate": "2024-11-21T09:56:17.2589365+00:00",
    "QuotedByID": 7,
    "Conditions": "sample string 8",
    "BasePremium": 1.0,
    "IsDeleted": true,
    "Preferred": true,
    "QuoteCarrierFees": [
      {
        "QuoteID": 1,
        "CarrierFeeID": 2,
        "AmountIsPercent": true,
        "Amount": 4.0
      },
      {
        "QuoteID": 1,
        "CarrierFeeID": 2,
        "AmountIsPercent": true,
        "Amount": 4.0
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuoteDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <QuoteDTO>
    <BasePremium>1</BasePremium>
    <CarrierID>1</CarrierID>
    <Conditions>sample string 8</Conditions>
    <IsDeleted>true</IsDeleted>
    <MGAID>1</MGAID>
    <PolicyID>2</PolicyID>
    <Preferred>true</Preferred>
    <QuoteCarrierFees>
      <QuoteCarrierFeeDTO>
        <Amount>4</Amount>
        <AmountIsPercent>true</AmountIsPercent>
        <CarrierFeeID>2</CarrierFeeID>
        <QuoteID>1</QuoteID>
      </QuoteCarrierFeeDTO>
      <QuoteCarrierFeeDTO>
        <Amount>4</Amount>
        <AmountIsPercent>true</AmountIsPercent>
        <CarrierFeeID>2</CarrierFeeID>
        <QuoteID>1</QuoteID>
      </QuoteCarrierFeeDTO>
    </QuoteCarrierFees>
    <QuoteDate>2024-11-21T09:56:17.2589365+00:00</QuoteDate>
    <QuoteExpirationDate>2024-11-21T09:56:17.2589365+00:00</QuoteExpirationDate>
    <QuoteID>1</QuoteID>
    <QuoteNumber>sample string 3</QuoteNumber>
    <QuoteStatus>sample string 4</QuoteStatus>
    <QuoteSubStatus>sample string 5</QuoteSubStatus>
    <QuoteType>sample string 6</QuoteType>
    <QuotedByID>7</QuotedByID>
  </QuoteDTO>
  <QuoteDTO>
    <BasePremium>1</BasePremium>
    <CarrierID>1</CarrierID>
    <Conditions>sample string 8</Conditions>
    <IsDeleted>true</IsDeleted>
    <MGAID>1</MGAID>
    <PolicyID>2</PolicyID>
    <Preferred>true</Preferred>
    <QuoteCarrierFees>
      <QuoteCarrierFeeDTO>
        <Amount>4</Amount>
        <AmountIsPercent>true</AmountIsPercent>
        <CarrierFeeID>2</CarrierFeeID>
        <QuoteID>1</QuoteID>
      </QuoteCarrierFeeDTO>
      <QuoteCarrierFeeDTO>
        <Amount>4</Amount>
        <AmountIsPercent>true</AmountIsPercent>
        <CarrierFeeID>2</CarrierFeeID>
        <QuoteID>1</QuoteID>
      </QuoteCarrierFeeDTO>
    </QuoteCarrierFees>
    <QuoteDate>2024-11-21T09:56:17.2589365+00:00</QuoteDate>
    <QuoteExpirationDate>2024-11-21T09:56:17.2589365+00:00</QuoteExpirationDate>
    <QuoteID>1</QuoteID>
    <QuoteNumber>sample string 3</QuoteNumber>
    <QuoteStatus>sample string 4</QuoteStatus>
    <QuoteSubStatus>sample string 5</QuoteSubStatus>
    <QuoteType>sample string 6</QuoteType>
    <QuotedByID>7</QuotedByID>
  </QuoteDTO>
</ArrayOfQuoteDTO>