eRS Actions icon

eRS Actions

Interact with the Ers App API

Booking → Delete

AI-generated

Summary

Deletes a single booking in eRS by its ID, optionally also removing related recurring bookings. The source pack shows only signatures, so request details come from the declared properties.

Inputs

  • Authentication — Credential type used for the request: OAuth2 (recommended, default) or Access Token.
  • Booking ID (required) — Unique ID of the booking to delete.
  • Additional Fields > Delete Connected Bookings — How to handle recurring bookings. Options: All Related Bookings (1), Future Bookings Only (2), This Booking Only (4, default). Sent as the query parameter delete_connected_bookings.
  • Request Options — Node settings for the HTTP request: Batching (items per batch, default 50; batch interval in ms, default 1000), Ignore SSL Issues, Proxy URL, and Timeout in ms (default 10000).

Output shape

The eRS API response for the delete call, returned as n8n output items. The exact body isn't visible in the provided source.

The source pack has only function signatures with no bodies, so the response shape and the HTTP method and endpoint are not confirmed. Deletion is likely irreversible. Choosing All Related Bookings or Future Bookings Only removes more than the one booking.

Examples

Example 1: Delete one booking when a cancellation arrives from another system.

Resource Booking, Operation Delete, Booking ID set to an expression such as {{$json.bookingId}}, leave Delete Connected Bookings at This Booking Only.

Example 2: Cancel the rest of a recurring series from a given booking onward.

Booking ID set to the booking where the series should end, Additional Fields > Delete Connected Bookings set to Future Bookings Only.

Links

Discussion