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": [
    "42c922d7-464e-4514-ae5a-688c40896cbb",
    "cb4fb275-6636-4b73-be60-1ac1a4cd83e5"
  ]
}

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>42c922d7-464e-4514-ae5a-688c40896cbb</d2p1:guid>
    <d2p1:guid>cb4fb275-6636-4b73-be60-1ac1a4cd83e5</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": "4137a585-f457-4688-b70d-2c23418a6bdd",
  "locationName": "sample string 2",
  "locationBusinessName": "sample string 3",
  "policyDatabaseId": "b8850440-1c0a-4279-b6a4-771349d37dff"
}

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>4137a585-f457-4688-b70d-2c23418a6bdd</DatabaseId>
  <LocationBusinessName>sample string 3</LocationBusinessName>
  <LocationName>sample string 2</LocationName>
  <PolicyDatabaseId>b8850440-1c0a-4279-b6a4-771349d37dff</PolicyDatabaseId>
</PolicyAgencyLocation>