Nuvem Solution icon

Nuvem Solution

Interact with Nuvem Solution API

Actions120

Cliente → Get Veiculos

AI-generated

Overview

The "Get Veiculos" operation under the "Cliente" resource allows users to retrieve a paginated list of vehicles associated with a specific customer (cliente). This node interacts with the Nuvem Solution API to fetch vehicle data linked to a given customer ID. It is useful in scenarios where you need to manage or analyze the fleet of vehicles owned or used by a customer, such as in automotive services, fleet management, or customer relationship management systems.

Practical examples:

  • Fetching all vehicles registered to a customer for maintenance scheduling.
  • Integrating vehicle data into a CRM system to provide detailed customer profiles.
  • Generating reports on customer vehicle usage or history.

Properties

Name Meaning
Cliente ID The unique identifier (number) of the customer whose vehicles are to be retrieved.
Page The page number for pagination (default is 1).
Page Size The number of items per page for pagination (default is 20).

Output

The output is a JSON array containing the list of vehicles associated with the specified customer. Each item in the array represents a vehicle object with details as returned by the Nuvem Solution API's endpoint for customer vehicles.

The structure typically includes vehicle attributes such as identifiers, model, make, year, and other relevant vehicle information, depending on the API response schema.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Nuvem Solution API.
  • Requires credentials including:
    • Base URL of the API.
    • Software key.
    • Secret.
    • User ID.
    • User key.
  • These credentials must be configured in n8n prior to using the node.
  • The node uses bearer token authentication obtained via an internal authentication request before making API calls.

Troubleshooting

  • Authentication errors: If the node fails with authentication errors, verify that the API credentials (software key, secret, user ID, user key) are correct and have not expired.
  • Invalid Cliente ID: Ensure the provided Cliente ID exists in the system; otherwise, the API may return an error or empty results.
  • Pagination issues: If no results appear, check if the page number and page size parameters are set correctly and within valid ranges.
  • API connectivity: Network issues or incorrect base URL configuration can cause request failures.
  • Error messages: The node throws errors like The operation "getVeiculos" is not supported! if the operation name is incorrect or unsupported. Make sure to select the correct operation.

Links and References

Discussion