Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Item Stock History → Get Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the "Item Stock History" resource and the "Get Undefined" operation, it retrieves data related to item stock history entries by their unique identifier. This is useful in scenarios where you need to track or audit stock changes for inventory items within the Halo PSA system.

Practical examples include:

  • Fetching detailed stock movement records for a specific item.
  • Auditing historical stock levels for inventory management.
  • Integrating stock history data into other workflows or reporting tools.

Properties

Name Meaning
Id The unique numeric identifier of the item stock history record to retrieve. This property is required.

Output

The node outputs an array of JSON objects, each representing the response from the Halo PSA API for the requested item stock history record. Each output item corresponds to one input item and contains the full JSON data returned by the API for that stock history entry.

If the node encounters an error during the request and "Continue On Fail" is enabled, the output JSON will contain an error field with the error message.

The node does not output binary data.

Dependencies

  • Requires valid credentials for the Halo PSA API, including base URL, tenant identifier, client ID, and client secret.
  • The node uses these credentials to authenticate API requests via HTTP headers.
  • No additional external dependencies are needed beyond the configured API credentials.

Troubleshooting

  • No credentials returned!: This error occurs if the node cannot find or access the required API credentials. Ensure that the API key credential is properly configured in n8n.
  • Resource or Operation not found: If the specified resource or operation is invalid or misspelled, the node will throw an error. Verify that "Item Stock History" and "Get Undefined" are correctly selected.
  • API request errors: Network issues, invalid IDs, or permission problems may cause API request failures. Check the error messages returned in the output JSON for details.
  • JSON parsing errors: If additional parameters are provided as JSON strings, ensure they are well-formed to avoid parsing exceptions.

Links and References

Discussion