Nuvem Solution icon

Nuvem Solution

Interact with Nuvem Solution API

Actions120

Máquina → Get

AI-generated

Overview

The node "Nuvem Solution" integrates with the Nuvem Solution API, providing access to a wide range of business-related resources and operations. Specifically, for the resource Máquina (Machine) with the operation Get, this node retrieves detailed information about a specific machine associated with a particular vehicle.

This functionality is useful in scenarios where you need to fetch machine data linked to vehicles, such as in fleet management, equipment tracking, or maintenance scheduling systems. For example, a user might want to get the details of a machine installed on a vehicle to check its status, specifications, or usage history.

Properties

Name Meaning
Maquina ID The unique identifier (ID) of the machine to retrieve.
Veiculo ID The unique identifier (ID) of the vehicle associated with the machine.

These properties are required inputs when performing the "Get" operation on the "Máquina" resource.

Output

The output of the node is a JSON object containing the machine data retrieved from the Nuvem Solution API. The structure corresponds to the response from the endpoint:

GET {baseUrl}/erp/maquinas/consulta
Headers:
  maquinaId: <Maquina ID as string>
  veiculoId: <Veiculo ID as string>

The JSON output will include all relevant details about the machine linked to the specified vehicle, such as identification, specifications, status, and other metadata provided by the API.

The node does not output binary data for this operation.

Dependencies

  • Requires an API key credential for authentication with the Nuvem Solution API.
  • The node uses OAuth-like token-based authentication, obtaining an access token via a POST request to the authentication endpoint using credentials: software key, secret, user ID, and user key.
  • The base URL for the API and credentials must be configured in the node's credentials settings.
  • The node depends on n8n's HTTP request helper methods to communicate with the API.

Troubleshooting

  • Authentication failures: If the node throws errors related to authentication, verify that the software key, secret, user ID, and user key are correctly set and valid. Also, ensure the API base URL is correct.
  • Invalid IDs: Providing invalid or non-existent maquinaId or veiculoId may result in errors or empty responses. Confirm these IDs exist in the system.
  • Network issues: Ensure that the n8n instance has network access to the Nuvem Solution API endpoint.
  • API changes: If the API changes endpoints or parameters, the node may fail. Check for updates or contact the API provider.

Links and References


This summary focuses on the "Máquina" resource with the "Get" operation as requested, based on static analysis of the provided source code and input property definitions.

Discussion