Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Treatment Type → Get Many

AI-generated

Overview

This node interacts with the Magnet Customer API to retrieve multiple treatment types. It is useful for scenarios where you need to fetch a list of treatment types, such as in healthcare or wellness applications, to display available treatments or to process them further in workflows.

Use Case Examples

  1. Fetching a paginated list of treatment types to display in a user interface.
  2. Retrieving treatment types for reporting or analytics purposes.

Properties

Name Meaning
Authentication Selects the authentication method to use for the API request, either API Token or OAuth2.
Page Specifies the page number of results to retrieve when fetching treatment types.
Limit Specifies the maximum number of treatment type results to return, with a minimum of 15.

Output

JSON

  • _id - Unique identifier of the treatment type.
  • name - Name of the treatment type.
  • description - Description of the treatment type.
  • otherProperties - Additional properties returned by the API for each treatment type.

Dependencies

  • Magnet Customer API

Troubleshooting

  • Ensure the correct authentication method is selected and valid credentials are provided to avoid authentication errors.
  • Verify that the 'Page' and 'Limit' parameters are set within acceptable ranges to prevent request errors.
  • If the API returns an error, check the API token or OAuth2 credentials and the network connection.

Discussion