POST api/Zapier/InsertPolicyTag

Apply tags against policy.

Request Information

URI Parameters

None.

Body Parameters

TagApplyOnPolicyModel
NameDescriptionTypeAdditional information
tag_name

string

None.

tag_description

string

None.

policy_database_id

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "tag_name": "sample string 1",
  "tag_description": "sample string 2",
  "policy_database_id": "667f0bac-cd29-4a86-b940-db546b60161a"
}

application/xml, text/xml

Sample:
<TagApplyOnPolicyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Integrations.Models">
  <PolicyDatabaseId>667f0bac-cd29-4a86-b940-db546b60161a</PolicyDatabaseId>
  <TagDescription>sample string 2</TagDescription>
  <TagName>sample string 1</TagName>
</TagApplyOnPolicyModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultWithDatabaseId
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "2fbe12e0-6d6f-495c-9965-c20e43ef27a2",
  "status": 0,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<NowCertsApiResultWithDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 2</Message>
  <Status>Error</Status>
  <DatabaseId>2fbe12e0-6d6f-495c-9965-c20e43ef27a2</DatabaseId>
</NowCertsApiResultWithDatabaseId>