POST api/Zapier/InsertPolicyTag
Apply tags against policy.
Request Information
URI Parameters
None.
Body Parameters
TagApplyOnPolicyModelName | Description | Type | Additional 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": "1b67e52c-3c54-4269-9f61-83cb35b313fc" }
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>1b67e52c-3c54-4269-9f61-83cb35b313fc</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
NowCertsApiResultWithDatabaseIdName | Description | Type | Additional information |
---|---|---|---|
DatabaseId | globally unique identifier |
None. |
|
Status | ApiStatus |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "databaseId": "24181205-fd3d-472d-b147-53e1b3c26608", "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>24181205-fd3d-472d-b147-53e1b3c26608</DatabaseId> </NowCertsApiResultWithDatabaseId>