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.

CompanyId

string

None.

AgencyId

string

None.

LegalEntityCode

string

None.

NoOfMemberAndManagers

integer

None.

TaxCode

string

None.

EducationLevelId

integer

None.

CountryId

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PolicyNamedInsuredID": 1,
    "PolicyQuoteID": 2,
    "NamedInsured": "sample string 3",
    "ListOrder": 64,
    "CompanyId": "sample string 5",
    "AgencyId": "sample string 6",
    "LegalEntityCode": "sample string 7",
    "NoOfMemberAndManagers": 1,
    "TaxCode": "sample string 8",
    "EducationLevelId": 1,
    "CountryId": "sample string 9"
  },
  {
    "PolicyNamedInsuredID": 1,
    "PolicyQuoteID": 2,
    "NamedInsured": "sample string 3",
    "ListOrder": 64,
    "CompanyId": "sample string 5",
    "AgencyId": "sample string 6",
    "LegalEntityCode": "sample string 7",
    "NoOfMemberAndManagers": 1,
    "TaxCode": "sample string 8",
    "EducationLevelId": 1,
    "CountryId": "sample string 9"
  }
]

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>
    <AgencyId>sample string 6</AgencyId>
    <CompanyId>sample string 5</CompanyId>
    <CountryId>sample string 9</CountryId>
    <EducationLevelId>1</EducationLevelId>
    <LegalEntityCode>sample string 7</LegalEntityCode>
    <ListOrder>64</ListOrder>
    <NamedInsured>sample string 3</NamedInsured>
    <NoOfMemberAndManagers>1</NoOfMemberAndManagers>
    <PolicyNamedInsuredID>1</PolicyNamedInsuredID>
    <PolicyQuoteID>2</PolicyQuoteID>
    <TaxCode>sample string 8</TaxCode>
  </PolicyNamedInsuredDTO>
  <PolicyNamedInsuredDTO>
    <AgencyId>sample string 6</AgencyId>
    <CompanyId>sample string 5</CompanyId>
    <CountryId>sample string 9</CountryId>
    <EducationLevelId>1</EducationLevelId>
    <LegalEntityCode>sample string 7</LegalEntityCode>
    <ListOrder>64</ListOrder>
    <NamedInsured>sample string 3</NamedInsured>
    <NoOfMemberAndManagers>1</NoOfMemberAndManagers>
    <PolicyNamedInsuredID>1</PolicyNamedInsuredID>
    <PolicyQuoteID>2</PolicyQuoteID>
    <TaxCode>sample string 8</TaxCode>
  </PolicyNamedInsuredDTO>
</ArrayOfPolicyNamedInsuredDTO>