GET v1/Policies/{policyID}/PolicyLines

Get the policy line summaries for lines under a Policy ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
policyID

Id of the policy

string

Required

Body Parameters

None.

Response Information

Resource Description

List of line summaries for lines under a policy id

PageOfOfPolicyLineSummaryDTO
NameDescriptionTypeAdditional information
Data

Collection of PolicyLineSummaryDTO

None.

PageNumber

integer

None.

PagesTotal

integer

None.

TotalItems

integer

None.

IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

DisplayMessage

string

None.

Links

Collection of PageLink

None.

Href

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "PolicyLineID": 1,
      "LOBID": 2,
      "CarrierID": 1,
      "PolicyQuoteID": 3,
      "PolicyNumber": "sample string 4",
      "PolicyDetailID": 5,
      "LOB": {
        "AcordCode": "sample string 1",
        "InternalCode": "sample string 2",
        "HasDetails": true,
        "IsPackage": true,
        "LOBDetailsGroup": "sample string 5",
        "ID": 6,
        "Name": "sample string 7",
        "Code": "sample string 8"
      },
      "CustomerID": 6
    },
    {
      "PolicyLineID": 1,
      "LOBID": 2,
      "CarrierID": 1,
      "PolicyQuoteID": 3,
      "PolicyNumber": "sample string 4",
      "PolicyDetailID": 5,
      "LOB": {
        "AcordCode": "sample string 1",
        "InternalCode": "sample string 2",
        "HasDetails": true,
        "IsPackage": true,
        "LOBDetailsGroup": "sample string 5",
        "ID": 6,
        "Name": "sample string 7",
        "Code": "sample string 8"
      },
      "CustomerID": 6
    }
  ],
  "PageNumber": 1,
  "PagesTotal": 2,
  "TotalItems": 3,
  "IsSuccess": true,
  "ErrorCode": "sample string 5",
  "ErrorMessage": "sample string 6",
  "DisplayMessage": "sample string 7",
  "Links": [
    {
      "Rel": "sample string 1",
      "Href": "sample string 2"
    },
    {
      "Rel": "sample string 1",
      "Href": "sample string 2"
    }
  ],
  "Href": "sample string 8"
}

application/xml, text/xml

Sample:
<PageOfPolicyLineSummaryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
    <d2p1:PolicyLineSummaryDTO>
      <d2p1:CarrierID>1</d2p1:CarrierID>
      <d2p1:CustomerID>6</d2p1:CustomerID>
      <d2p1:LOB xmlns:d4p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
        <Code>sample string 8</Code>
        <ID>6</ID>
        <Name>sample string 7</Name>
        <d4p1:AcordCode>sample string 1</d4p1:AcordCode>
        <d4p1:HasDetails>true</d4p1:HasDetails>
        <d4p1:InternalCode>sample string 2</d4p1:InternalCode>
        <d4p1:IsPackage>true</d4p1:IsPackage>
        <d4p1:LOBDetailsGroup>sample string 5</d4p1:LOBDetailsGroup>
      </d2p1:LOB>
      <d2p1:LOBID>2</d2p1:LOBID>
      <d2p1:PolicyDetailID>5</d2p1:PolicyDetailID>
      <d2p1:PolicyLineID>1</d2p1:PolicyLineID>
      <d2p1:PolicyNumber>sample string 4</d2p1:PolicyNumber>
      <d2p1:PolicyQuoteID>3</d2p1:PolicyQuoteID>
    </d2p1:PolicyLineSummaryDTO>
    <d2p1:PolicyLineSummaryDTO>
      <d2p1:CarrierID>1</d2p1:CarrierID>
      <d2p1:CustomerID>6</d2p1:CustomerID>
      <d2p1:LOB xmlns:d4p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
        <Code>sample string 8</Code>
        <ID>6</ID>
        <Name>sample string 7</Name>
        <d4p1:AcordCode>sample string 1</d4p1:AcordCode>
        <d4p1:HasDetails>true</d4p1:HasDetails>
        <d4p1:InternalCode>sample string 2</d4p1:InternalCode>
        <d4p1:IsPackage>true</d4p1:IsPackage>
        <d4p1:LOBDetailsGroup>sample string 5</d4p1:LOBDetailsGroup>
      </d2p1:LOB>
      <d2p1:LOBID>2</d2p1:LOBID>
      <d2p1:PolicyDetailID>5</d2p1:PolicyDetailID>
      <d2p1:PolicyLineID>1</d2p1:PolicyLineID>
      <d2p1:PolicyNumber>sample string 4</d2p1:PolicyNumber>
      <d2p1:PolicyQuoteID>3</d2p1:PolicyQuoteID>
    </d2p1:PolicyLineSummaryDTO>
  </Data>
  <DisplayMessage>sample string 7</DisplayMessage>
  <ErrorCode>sample string 5</ErrorCode>
  <ErrorMessage>sample string 6</ErrorMessage>
  <Href>sample string 8</Href>
  <IsSuccess>true</IsSuccess>
  <Links>
    <PageLink>
      <Href>sample string 2</Href>
      <Rel>sample string 1</Rel>
    </PageLink>
    <PageLink>
      <Href>sample string 2</Href>
      <Rel>sample string 1</Rel>
    </PageLink>
  </Links>
  <PageNumber>1</PageNumber>
  <PagesTotal>2</PagesTotal>
  <TotalItems>3</TotalItems>
</PageOfPolicyLineSummaryDTO>