Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Timesheet Event → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform operations on various resources, including Timesheet Events. Specifically, the Delete Undefined operation for the Timesheet Event resource allows users to delete a timesheet event by its unique identifier.

Typical use cases include automating the removal of obsolete or incorrect timesheet entries in Halo PSA as part of workflow automation. For example, a user might trigger this node to delete a timesheet event that was created in error or is no longer relevant, helping maintain accurate time tracking data.

Properties

Name Meaning
Id The unique numeric identifier of the Timesheet Event to delete. This property is required.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output item contains:

  • json: The response from the Halo PSA API after attempting to delete the specified timesheet event.
    • On success, this typically includes confirmation details from the API about the deletion.
    • On failure, if "Continue On Fail" is enabled, the output will contain an error field with the error message.

No binary data output is produced by this operation.

Dependencies

  • Requires valid credentials for the Halo PSA API, including:

    • Base URL of the Halo PSA instance
    • Tenant identifier
    • Client ID and Client Secret for authentication
  • The node uses these credentials to authenticate API requests via HTTP headers.

  • No additional external dependencies beyond the Halo PSA API are needed.

Troubleshooting

  • Common Issues:

    • Invalid or missing credentials will cause authentication failures.
    • Providing an invalid or non-existent Timesheet Event Id will result in an API error.
    • Network connectivity issues can prevent successful API calls.
  • Error Messages:

    • "No credentials returned!": Indicates that the node could not retrieve the necessary API credentials. Verify that credentials are properly configured in n8n.
    • API errors returned from Halo PSA (e.g., "Not Found", "Unauthorized") will be passed through in the output if "Continue On Fail" is enabled; otherwise, they will stop execution.
  • Resolution Tips:

    • Ensure the Timesheet Event Id exists and is correct.
    • Confirm that the API credentials have sufficient permissions to delete timesheet events.
    • Check network connectivity and API endpoint accessibility.

Links and References

Discussion