GET v1/Policies/ImportPolicy/GetList?contactId={contactId}&activeOnly={activeOnly}&excludePrs={excludePrs}

Get a list of policies for the import list popup

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

Id of the contact

string

Required

activeOnly

Active only

boolean

Required

excludePrs

Exclude prs

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

List of policies for the import list popup

Collection of ImportPolicyListDTO
NameDescriptionTypeAdditional information
PolicyQuoteId

integer

None.

PolicyLineId

integer

None.

PolicyDetailsId

integer

None.

Effective

string

None.

Expiration

string

None.

Lob

string

None.

LobCode

string

None.

WritingCarrier

string

None.

PolicyNumber

string

None.

Status

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PolicyQuoteId": 1,
    "PolicyLineId": 2,
    "PolicyDetailsId": 3,
    "Effective": "sample string 4",
    "Expiration": "sample string 5",
    "Lob": "sample string 6",
    "LobCode": "sample string 7",
    "WritingCarrier": "sample string 8",
    "PolicyNumber": "sample string 9",
    "Status": "sample string 10"
  },
  {
    "PolicyQuoteId": 1,
    "PolicyLineId": 2,
    "PolicyDetailsId": 3,
    "Effective": "sample string 4",
    "Expiration": "sample string 5",
    "Lob": "sample string 6",
    "LobCode": "sample string 7",
    "WritingCarrier": "sample string 8",
    "PolicyNumber": "sample string 9",
    "Status": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfImportPolicyListDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <ImportPolicyListDTO>
    <Effective>sample string 4</Effective>
    <Expiration>sample string 5</Expiration>
    <Lob>sample string 6</Lob>
    <LobCode>sample string 7</LobCode>
    <PolicyDetailsId>3</PolicyDetailsId>
    <PolicyLineId>2</PolicyLineId>
    <PolicyNumber>sample string 9</PolicyNumber>
    <PolicyQuoteId>1</PolicyQuoteId>
    <Status>sample string 10</Status>
    <WritingCarrier>sample string 8</WritingCarrier>
  </ImportPolicyListDTO>
  <ImportPolicyListDTO>
    <Effective>sample string 4</Effective>
    <Expiration>sample string 5</Expiration>
    <Lob>sample string 6</Lob>
    <LobCode>sample string 7</LobCode>
    <PolicyDetailsId>3</PolicyDetailsId>
    <PolicyLineId>2</PolicyLineId>
    <PolicyNumber>sample string 9</PolicyNumber>
    <PolicyQuoteId>1</PolicyQuoteId>
    <Status>sample string 10</Status>
    <WritingCarrier>sample string 8</WritingCarrier>
  </ImportPolicyListDTO>
</ArrayOfImportPolicyListDTO>