avanta icon

avanta

Consume avanta API

Actions57

Company - Contact → Get Many

AI-generated

Overview

This node operation retrieves multiple company contact records from the Avanta API. It is useful for scenarios where you need to fetch a list of contacts associated with companies, such as for CRM integrations, data synchronization, or reporting purposes. For example, you might use it to get all contacts for a company or filter contacts based on specific criteria.

Use Case Examples

  1. Fetch all company contacts with a limit of 50 records.
  2. Fetch all company contacts without limit (return all).
  3. Fetch company contacts using JSON filters to narrow down results.

Properties

Name Meaning
Request Options Options to customize the API request such as enabling debug mode, ignoring SSL certificate issues, and setting a timeout for the request.
Return All Whether to return all results or only up to a specified limit.
Limit Maximum number of results to return when not returning all.
Filter Type of filter to apply to the request, either none or JSON-based filtering.
Filters (JSON) JSON string representing filters to apply to the request, following Magento's filtering guidelines.

Output

JSON

  • data - Array of company contact records retrieved from the API.
  • debug - Optional debug information about the API request if debug mode is enabled.

Dependencies

  • Avanta API with API key credential

Troubleshooting

  • If the node returns no data, check the filter JSON syntax and ensure it matches the API's expected format.
  • Timeout errors may occur if the server is slow or unresponsive; increase the timeout setting if needed.
  • SSL errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this is insecure and should be used cautiously.

Links

Discussion