Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform operations related to Contract Exclusion Roles, specifically supporting the 'Count' operation. It allows users to count the number of contract exclusion roles that match specified criteria. This is useful for scenarios where you need to quickly determine how many exclusion roles exist under certain conditions, such as filtering by specific fields or attributes.

Properties

Name Meaning
Fields Defines the fields to map and filter on when performing the count operation for contract exclusion roles. This property allows users to specify which fields to include in the query to refine the count result.

Output

JSON

  • count - The total number of contract exclusion roles matching the specified criteria.

Dependencies

  • Requires an API key credential for authenticating with the Autotask REST API.

Troubleshooting

  • If the node throws an error indicating the resource is not supported, verify that the resource parameter is set to 'contractExclusionRoles'.
  • Errors related to authentication usually mean the API key credential is missing or invalid; ensure correct credentials are configured.
  • If the count result is zero unexpectedly, check the fields mapping to ensure the filter criteria are correctly defined.

Discussion