Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Currency → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Currency resource and the Delete Undefined operation, it deletes a currency entry identified by its ID. This is useful in scenarios where you need to programmatically remove obsolete or incorrect currency records from your system.

Practical examples include:

  • Cleaning up unused or deprecated currencies in your financial system.
  • Automating maintenance tasks that involve removing invalid currency entries based on business rules.

Properties

Name Meaning
Id The unique identifier (number) of the currency to delete. This property is required.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON contains the response from the Halo PSA API after attempting to delete the specified currency. If the deletion is successful, the response typically confirms the removal; if there is an error, the output JSON will contain an error field with the error message.

No binary data output is produced by this operation.

Dependencies

  • Requires valid credentials to access the Halo PSA API, including base URL, tenant identifier, client ID, and client secret.
  • The node uses HTTP requests to communicate with the Halo PSA API endpoints.
  • Proper configuration of these credentials within n8n is necessary for the node to function.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause the node to throw an error "No credentials returned!".
    • Providing an invalid or non-existent currency ID may result in an API error indicating the resource was not found.
    • Network connectivity problems can cause request failures.
  • Error messages and resolutions:

    • "No credentials returned!": Ensure that the API authentication credentials are correctly set up in n8n.
    • "Resource Currency not found" or "Operation Delete Undefined not found for resource Currency": Verify that the resource and operation names are correct and supported.
    • API errors returned in the output JSON under the error key: Check the validity of the currency ID and API permissions.
    • To continue processing other items even if one fails, enable the "Continue On Fail" option in the node settings.

Links and References

Discussion