Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions524

Company Webhook → Get Many (Advanced)

AI-generated

Overview

This node operation retrieves multiple company webhook records from the Autotask PSA system using advanced filtering criteria. It is useful for scenarios where you need to fetch a customized list of company webhooks based on specific query filters, such as filtering by status, creation date, or other attributes defined in the Autotask API. For example, you might use this operation to get all active company webhooks or those created within a certain timeframe.

Use Case Examples

  1. Fetch all company webhooks with a specific status using an advanced JSON filter.
  2. Retrieve a limited number of company webhook records matching complex criteria for reporting or integration purposes.

Properties

Name Meaning
Get All Whether to return all results or only up to a given limit (maxRecords).
Max Records Maximum number of company webhook records to return when 'Get All' is false, with a range of 1 to 500.
Advanced Filter A JSON string containing a 'filter' array with Autotask API query criteria to filter the company webhook records.
Add Picklist Labels Whether to automatically add '_label' fields for picklist fields with human-readable values in the response.
Add Reference Labels Whether to automatically add '_label' fields for reference fields with human-readable values in the response.
Select Columns Names or IDs. Choose which fields to include in the response. If no fields are selected, all fields will be returned. The ID field is always included regardless of selection.
Flatten User-Defined Fields Whether to bring user-defined fields up to the top level of each object instead of nesting them in the userDefinedFields array.

Output

JSON

  • id - Unique identifier of the company webhook record.
  • name - Name of the company webhook.
  • url - URL endpoint of the webhook.
  • status - Status of the webhook (e.g., active, inactive).
  • createdDate - Date the webhook was created.
  • modifiedDate - Date the webhook was last modified.
  • userDefinedFields - Array of user-defined fields associated with the webhook, if not flattened.
  • _label - Human-readable labels for picklist or reference fields, if enabled.

Dependencies

  • An API key credential for Autotask PSA REST API authentication.

Troubleshooting

  • Ensure the advanced filter JSON is correctly formatted and matches the Autotask API query criteria syntax to avoid query errors.
  • If no records are returned, verify the filter criteria and consider adjusting the 'Get All' and 'Max Records' settings.
  • Authentication errors may occur if the API key credential is invalid or expired; verify credentials in the node settings.
  • If picklist or reference labels are not appearing as expected, check the corresponding boolean settings for adding labels.

Links

Discussion