POST api/Policy/PolicyAgencyLocation

Policy agency location endpoint.

Request Information

URI Parameters

None.

Body Parameters

List of policies database Ids.

PolicyDataBaseIds
NameDescriptionTypeAdditional information
PolicyDataBaseId

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "policyDataBaseId": [
    "811513ea-19f2-4078-9bce-b10813e2f0ff",
    "31440791-728d-4f55-80b8-6faf10cf4bc2"
  ]
}

application/xml, text/xml

Sample:
<PolicyDataBaseIds xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.OData">
  <PolicyDataBaseId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>811513ea-19f2-4078-9bce-b10813e2f0ff</d2p1:guid>
    <d2p1:guid>31440791-728d-4f55-80b8-6faf10cf4bc2</d2p1:guid>
  </PolicyDataBaseId>
</PolicyDataBaseIds>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

List of PolicyAgencyLocation against given policies database Ids.

PolicyAgencyLocation
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

LocationName

string

None.

LocationBusinessName

string

None.

PolicyDatabaseId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "a6388763-1c10-418d-ae28-1ccbb2bd31b9",
  "locationName": "sample string 2",
  "locationBusinessName": "sample string 3",
  "policyDatabaseId": "b987e0fc-819e-47ef-b1b2-635aa6baa7a5"
}

application/xml, text/xml

Sample:
<PolicyAgencyLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <DatabaseId>a6388763-1c10-418d-ae28-1ccbb2bd31b9</DatabaseId>
  <LocationBusinessName>sample string 3</LocationBusinessName>
  <LocationName>sample string 2</LocationName>
  <PolicyDatabaseId>b987e0fc-819e-47ef-b1b2-635aa6baa7a5</PolicyDatabaseId>
</PolicyAgencyLocation>