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

The unique ID for the .

integer

None.

PolicyQuoteID

The ID of the parent .

integer

None.

NamedInsured

The named insured for the policy.

string

None.

ListOrder

The display Order for the named insured.

byte

None.

CompanyId

The display CompanyId for the named insured.

string

None.

AgencyId

The display AgencyId for the named insured.

string

None.

LegalEntityCode

The display LegalEntityCode for the named insured.

string

None.

NoOfMemberAndManagers

The display count of NoOfMemberAndManagers for the named insured.

integer

None.

TaxCode

The display TaxCode for the named insured.

string

None.

EducationLevelId

The display EducationLevelId for the named insured.

integer

None.

CountryId

The display Country Code for the named insured.

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>