POST api/Insured/InsuredAgencyLocation

Insured agency locations list endpoint.

Request Information

URI Parameters

None.

Body Parameters

List of insured database Ids.

InsuredDataBaseIds
NameDescriptionTypeAdditional information
InsuredDataBaseId

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "insuredDataBaseId": [
    "1ae6608d-08a3-4b00-9463-06c22e047580",
    "fc612081-3c4a-4c26-b0a2-aaa91a3414ac"
  ]
}

application/xml, text/xml

Sample:
<InsuredDataBaseIds xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.OData">
  <InsuredDataBaseId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>1ae6608d-08a3-4b00-9463-06c22e047580</d2p1:guid>
    <d2p1:guid>fc612081-3c4a-4c26-b0a2-aaa91a3414ac</d2p1:guid>
  </InsuredDataBaseId>
</InsuredDataBaseIds>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

List of InsuredAgencyLocation against given insured database Ids.

InsuredAgencyLocation
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

LocationName

string

None.

LocationBusinessName

string

None.

InsuredDatabaseId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "afe1c05c-db7d-4d3b-9f0e-3fdd6b05180c",
  "locationName": "sample string 2",
  "locationBusinessName": "sample string 3",
  "insuredDatabaseId": "fc51aa50-dd3a-4d6a-aad7-125f08caaa55"
}

application/xml, text/xml

Sample:
<InsuredAgencyLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <DatabaseId>afe1c05c-db7d-4d3b-9f0e-3fdd6b05180c</DatabaseId>
  <InsuredDatabaseId>fc51aa50-dd3a-4d6a-aad7-125f08caaa55</InsuredDatabaseId>
  <LocationBusinessName>sample string 3</LocationBusinessName>
  <LocationName>sample string 2</LocationName>
</InsuredAgencyLocation>