Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Holidays → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Holidays resource and the Delete Undefined operation, it deletes a holiday entry identified by its unique ID. This is useful in scenarios where you need to programmatically remove holiday records from your PSA system, such as cleaning up outdated or incorrect holiday entries.

Practical examples include:

  • Automating the removal of holidays that are no longer valid.
  • Integrating with HR systems to sync holiday data by deleting obsolete entries.
  • Managing holiday schedules dynamically based on business rules.

Properties

Name Meaning
Id The unique identifier of the holiday to delete. This is a required string input.

Output

The node outputs JSON data representing the response from the Halo PSA API after attempting to delete the specified holiday. The structure typically contains confirmation of deletion or error details if the operation failed.

If an error occurs and the node is configured to continue on failure, the output JSON will contain an error field with the error message.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Halo PSA API.
  • Needs configuration of the base URL, tenant identifier, client ID, and client secret for the Halo PSA service.
  • Uses HTTP requests to communicate with the Halo PSA REST API endpoints.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause authentication failures.
    • Providing an invalid or non-existent holiday ID will result in an error from the API.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • "No credentials returned!": Indicates that the node could not retrieve the necessary API credentials. Ensure credentials are properly set up.
    • "Resource Holidays not found" or "Operation Delete Undefined not found for resource Holidays": Suggests misconfiguration of resource or operation parameters.
    • API error messages returned in the error field of the output JSON provide details on why deletion failed (e.g., "Holiday not found").
  • Resolution tips:

    • Verify that the API credentials are correctly configured and have sufficient permissions.
    • Double-check the holiday ID value to ensure it exists in the Halo PSA system.
    • Enable "Continue On Fail" if you want the workflow to proceed despite individual errors and handle them gracefully.

Links and References

Discussion