POST api/Policy/PolicyTags

Policy tags 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": [
    "60dd053a-f68a-4d4f-ae74-e0ff9dac9976",
    "b90a503f-6cb9-48c8-a1c6-0b150248f6a3"
  ]
}

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>60dd053a-f68a-4d4f-ae74-e0ff9dac9976</d2p1:guid>
    <d2p1:guid>b90a503f-6cb9-48c8-a1c6-0b150248f6a3</d2p1:guid>
  </PolicyDataBaseId>
</PolicyDataBaseIds>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

List of tags against given policies database Ids.

PolicyTags
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

Name

string

None.

Description

string

None.

CategoryName

string

None.

DateApplied

date

None.

Color

string

None.

PolicyDatabaseId

globally unique identifier

None.

TagDatabaseId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "543a3d90-22d1-479b-aded-630c4e6d629d",
  "name": "sample string 2",
  "description": "sample string 3",
  "categoryName": "sample string 4",
  "dateApplied": "2024-12-10T08:09:33.0093943-06:00",
  "color": "sample string 6",
  "policyDatabaseId": "6d9ace73-5ff2-4579-9c2e-1dc6d623c9d6",
  "tagDatabaseId": "63ed25a0-ebc8-454a-b5c6-3ad29f366782"
}

application/xml, text/xml

Sample:
<PolicyTags xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <CategoryName>sample string 4</CategoryName>
  <Color>sample string 6</Color>
  <DatabaseId>543a3d90-22d1-479b-aded-630c4e6d629d</DatabaseId>
  <DateApplied>2024-12-10T08:09:33.0093943-06:00</DateApplied>
  <Description>sample string 3</Description>
  <Name>sample string 2</Name>
  <PolicyDatabaseId>6d9ace73-5ff2-4579-9c2e-1dc6d623c9d6</PolicyDatabaseId>
  <TagDatabaseId>63ed25a0-ebc8-454a-b5c6-3ad29f366782</TagDatabaseId>
</PolicyTags>