POST api/Policy/PolicyAgents

Policy agents list 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": [
    "ee15a5e2-931f-4ea2-8172-a0e21c2b48fd",
    "36c8c985-72d4-4773-8838-f8a740d62e97"
  ]
}

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>ee15a5e2-931f-4ea2-8172-a0e21c2b48fd</d2p1:guid>
    <d2p1:guid>36c8c985-72d4-4773-8838-f8a740d62e97</d2p1:guid>
  </PolicyDataBaseId>
</PolicyDataBaseIds>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

List of PolicyAgentsCSRS against given policies database Ids.

PolicyAgentsCSRS
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

FirstName

string

None.

LastName

string

None.

Order

integer

None.

PolicyDatabaseId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "fbb141ed-0b35-49e2-a569-e01f0e30445c",
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "order": 4,
  "policyDatabaseId": "2d9cf7d8-9fe2-4f8f-83c2-e43d5f604198"
}

application/xml, text/xml

Sample:
<PolicyAgentsCSRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <DatabaseId>fbb141ed-0b35-49e2-a569-e01f0e30445c</DatabaseId>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <Order>4</Order>
  <PolicyDatabaseId>2d9cf7d8-9fe2-4f8f-83c2-e43d5f604198</PolicyDatabaseId>
</PolicyAgentsCSRS>