Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Cookie Scanner → Create Custom Field

AI-generated

Overview

This node interacts with the Commanders Act API to create a new custom field in the Cookie Scanner resource. It is useful for users who want to programmatically manage cookie scanner custom fields, such as adding new metadata or attributes to cookies tracked by the Commanders Act platform. For example, a user can automate the creation of custom fields to categorize cookies based on specific criteria or compliance requirements.

Use Case Examples

  1. Automate the creation of custom fields for cookie categorization in a privacy compliance workflow.
  2. Integrate with Commanders Act to dynamically add custom fields based on user input or external data sources.

Properties

Name Meaning
Query Parameters Optional query parameters to customize the API request, such as filters, pagination, sorting, and other parameters supported by the Commanders Act API for cookie scanner custom fields.
Request Body JSON object representing the custom field data to be created in the Cookie Scanner resource.

Output

JSON

  • json - The JSON response from the Commanders Act API representing the created custom field or any other response data.

Dependencies

  • Commanders Act API with API token and site ID credentials

Troubleshooting

  • Ensure that the API credentials (site ID and token) are correctly configured and provided; missing credentials will cause an error.
  • Verify that the required parameters such as the request body are correctly formatted JSON; invalid JSON will cause request failures.
  • Check that the custom field ID is not required for creation but is required for update or delete operations; providing unnecessary IDs may cause errors.
  • Common error messages include missing required parameters (e.g., 'Custom Field ID is required' for operations that need it) and HTTP errors from the API; review the error message and stack trace for details.

Discussion