Autotask icon

Autotask

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

Actions524

Configuration Item DNS Record → Get Many

AI-generated

Overview

This node operation retrieves multiple Configuration Item DNS Records from the Autotask PSA system. It supports fetching either all records or a limited number based on user input, with options to customize the output fields and include human-readable labels for picklist and reference fields. This operation is useful for scenarios where users need to bulk fetch DNS record data related to configuration items for reporting, synchronization, or further processing in workflows.

Use Case Examples

  1. Fetch all DNS records for configuration items to synchronize with an external inventory system.
  2. Retrieve a limited set of DNS records to display in a dashboard or report.
  3. Get DNS records with additional human-readable labels for easier interpretation in subsequent workflow steps.

Properties

Name Meaning
returnAll Whether to return all results or only up to a given limit.
maxRecords Maximum number of records to return when returnAll is false, ranging from 1 to 500.
addPicklistLabels Whether to automatically add '_label' fields for picklist fields with human-readable values.
addReferenceLabels Whether to automatically add '_label' fields for reference fields with human-readable values.
selectColumns 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.
flattenUdfs Whether to bring user-defined fields up to the top level of each object instead of being nested in the userDefinedFields array.
fieldsToMap Mapping configuration for fields, allowing definition or auto-mapping of fields for the resource.

Output

JSON

  • id - Unique identifier of the DNS record.
  • name - Name of the DNS record.
  • type - Type of the DNS record (e.g., A, CNAME, MX).
  • value - Value associated with the DNS record.
  • ttl - Time to live for the DNS record.
  • userDefinedFields - Array of user-defined fields related to the DNS record, if not flattened.
  • _label - Human-readable labels for picklist or reference fields, if enabled.

Dependencies

  • An API key credential for Autotask PSA REST API

Troubleshooting

  • Ensure the API credentials are correctly configured and have sufficient permissions to access Configuration Item DNS Records.
  • If the node returns no data, verify that the resource and operation parameters are correctly set to 'Configuration Item DNS Record' and 'Get Many'.
  • Check the maxRecords value when returnAll is false to avoid unintentionally limiting the results.
  • If human-readable labels are not appearing, confirm that addPicklistLabels and addReferenceLabels options are enabled.
  • For issues with user-defined fields, verify the flattenUdfs option to control the structure of UDFs in the output.

Links

Discussion