Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Treatment → Get

AI-generated

Overview

This node interacts with the Magnet Customer API to retrieve information about a specific Treatment resource. It is useful in scenarios where you need to fetch detailed data about a treatment by its ID, such as in healthcare or wellness applications that manage treatment records. For example, you can use this node to get treatment details for patient management or reporting purposes.

Use Case Examples

  1. Retrieve treatment details by providing the Treatment ID to integrate with patient management systems.
  2. Fetch treatment information to display in a healthcare dashboard or application.

Properties

Name Meaning
Authentication Selects the authentication method to use for the API request (API Token or OAuth2).
Treatment ID The unique identifier of the treatment to retrieve. This is a required field when performing the 'Get' operation on the Treatment resource.

Output

JSON

  • _id - The unique identifier of the treatment.
  • name - The name of the treatment.
  • description - A description of the treatment.
  • duration - The duration of the treatment.
  • price - The price of the treatment.
  • customFields - Custom fields associated with the treatment, if any.

Dependencies

  • Magnet Customer API

Troubleshooting

  • Ensure the Treatment ID provided is valid and exists in the Magnet Customer system to avoid 'not found' errors.
  • Verify that the selected authentication method is correctly configured with valid credentials.
  • If the node fails to retrieve data, check network connectivity and API endpoint availability.

Discussion