Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Organization → Get Many

AI-generated

Overview

This node interacts with the Magnet Customer API to retrieve multiple organization records. It supports pagination and limiting the number of results returned, making it useful for scenarios where you need to fetch a list of organizations from the Magnet Customer system, such as syncing organization data or generating reports.

Use Case Examples

  1. Fetching the first 15 organizations to display in a dashboard.
  2. Retrieving a specific page of organizations for batch processing or analysis.

Properties

Name Meaning
Authentication Selects the authentication method to use for the API request (API Token or OAuth2).
Page The page number of results to retrieve when getting multiple organizations.
Limit The maximum number of organization records to return in the response.
Resolve Custom Fields If enabled, custom fields in the organization data are resolved from their IDs to their actual names and values instead of returning only IDs.

Output

JSON

  • _id - Unique identifier of the organization.
  • fullname - Full name of the organization.
    customField_ - Resolved custom fields with their actual names and values if 'Resolve Custom Fields' is enabled.
  • docs - Array of organization records when the response is paginated.
  • data - Array of organization records when the response is paginated or wrapped in a data object.

Dependencies

  • Magnet Customer API

Troubleshooting

  • Common issues include authentication failures due to incorrect API token or OAuth2 credentials. Verify credentials and permissions.
  • If the 'Resolve Custom Fields' option is enabled but custom fields fail to resolve, ensure the API has access to custom field metadata and the network connection is stable.
  • Errors may occur if the page or limit parameters are set to invalid values; ensure they are within acceptable ranges.

Discussion