NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

Management → Get custom fields policy condition

AI-generated

Summary

Retrieve details of a specific custom fields policy condition by providing its policy ID and condition ID.

Inputs

  • policy_id (required) — The identifier of the policy to retrieve the custom field condition from.
  • condition_id (required) — The identifier of the custom fields policy condition to retrieve.
  • options — Optional parameters to customize the request, including custom JSON body overrides, custom HTTP headers, query-string filters, batching controls, debugging, pagination settings, and request timeout.

Output shape

a single object representing the custom fields policy condition associated with the given policy and condition IDs

The output includes the API response data for the specified custom fields policy condition. If debugging is enabled, additional metadata about the request URL, headers, query parameters, and body is included. Pagination settings are available but typically not applicable for single-item retrieval.

Examples

Example 1: Use policy_id 123 and condition_id 'abc-456' to fetch the custom fields policy condition details.

Set 'Policy Id' to 123, 'Condition Id' to 'abc-456', optionally add custom headers or query filters, and execute the node to get the condition data.

Links

Discussion