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": [
    "0334684f-9ed1-4aa0-b0a8-ca705f79c012",
    "6a43b4f2-7760-4d6e-88d9-b68b21053405"
  ]
}

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>0334684f-9ed1-4aa0-b0a8-ca705f79c012</d2p1:guid>
    <d2p1:guid>6a43b4f2-7760-4d6e-88d9-b68b21053405</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": "da20e4ec-6b4d-4a08-82cd-870c5d84b75a",
  "locationName": "sample string 2",
  "locationBusinessName": "sample string 3",
  "policyDatabaseId": "8b7bc2b5-36d5-461c-bf96-abecad16de31"
}

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>da20e4ec-6b4d-4a08-82cd-870c5d84b75a</DatabaseId>
  <LocationBusinessName>sample string 3</LocationBusinessName>
  <LocationName>sample string 2</LocationName>
  <PolicyDatabaseId>8b7bc2b5-36d5-461c-bf96-abecad16de31</PolicyDatabaseId>
</PolicyAgencyLocation>