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": [
    "e96dbc6d-b993-4062-9a54-21afe682060d",
    "579bfd13-f142-48e4-9cb4-cff8e968aeb0"
  ]
}

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>e96dbc6d-b993-4062-9a54-21afe682060d</d2p1:guid>
    <d2p1:guid>579bfd13-f142-48e4-9cb4-cff8e968aeb0</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": "8131d252-ffde-40f4-bc87-db6c86b4f4f0",
  "name": "sample string 2",
  "description": "sample string 3",
  "categoryName": "sample string 4",
  "dateApplied": "2024-11-21T02:49:12.8368055-06:00",
  "color": "sample string 6",
  "policyDatabaseId": "78f46f76-edae-4281-9ad1-35d892f3d48a",
  "tagDatabaseId": "d9f932de-9908-4b62-82bf-0b274174e14f"
}

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>8131d252-ffde-40f4-bc87-db6c86b4f4f0</DatabaseId>
  <DateApplied>2024-11-21T02:49:12.8368055-06:00</DateApplied>
  <Description>sample string 3</Description>
  <Name>sample string 2</Name>
  <PolicyDatabaseId>78f46f76-edae-4281-9ad1-35d892f3d48a</PolicyDatabaseId>
  <TagDatabaseId>d9f932de-9908-4b62-82bf-0b274174e14f</TagDatabaseId>
</PolicyTags>