GET v1/Policies/{policyId}/NamedInsured

Gets the named insured for the specified policy

Request Information

URI Parameters

NameDescriptionTypeAdditional information
policyId

Id of the policy

string

Required

Body Parameters

None.

Response Information

Resource Description

Named insured for the specified policy

Collection of PolicyNamedInsuredDTO
NameDescriptionTypeAdditional information
PolicyNamedInsuredID

integer

None.

PolicyQuoteID

integer

None.

NamedInsured

string

None.

ListOrder

byte

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PolicyNamedInsuredID": 1,
    "PolicyQuoteID": 2,
    "NamedInsured": "sample string 3",
    "ListOrder": 64
  },
  {
    "PolicyNamedInsuredID": 1,
    "PolicyQuoteID": 2,
    "NamedInsured": "sample string 3",
    "ListOrder": 64
  }
]

application/xml, text/xml

Sample:
<ArrayOfPolicyNamedInsuredDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <PolicyNamedInsuredDTO>
    <ListOrder>64</ListOrder>
    <NamedInsured>sample string 3</NamedInsured>
    <PolicyNamedInsuredID>1</PolicyNamedInsuredID>
    <PolicyQuoteID>2</PolicyQuoteID>
  </PolicyNamedInsuredDTO>
  <PolicyNamedInsuredDTO>
    <ListOrder>64</ListOrder>
    <NamedInsured>sample string 3</NamedInsured>
    <PolicyNamedInsuredID>1</PolicyNamedInsuredID>
    <PolicyQuoteID>2</PolicyQuoteID>
  </PolicyNamedInsuredDTO>
</ArrayOfPolicyNamedInsuredDTO>