[#1270] Blocking Entire Date and Time for a Service

Migrated from Redmine #1270 | Author: Alan Miranda
Status: New | Priority: High, I’m very impatient | Created: 2024-09-02


Good morning,

I’m integrating SimplyBook into my API and would like to block an entire date and time when a specific service is booked.

I offer multiple services, but one functions as a “package” that includes other related services. When this “package” is booked, I want to block the entire date and time to prevent other users from booking anything else during that time.

I tried using the Connected Resources option for the “package” service, but when an individual service related to the “package” is booked, it also blocks the entire date and time. How can I prevent this from happening with individual services? I only want the block to occur when the “package” service is booked.

Is there another way to achieve what I need?

Thank you for your assistance.

Redmine Admin wrote:

hi, you can set the necessary date and time to be a time off/breaktime

Alan Miranda wrote:

Redmine Admin wrote:

hi, you can set the necessary date and time to be a time off/breaktime

The block might be due to a reservation, not for a breaktime.

SERVICES:
Package 1
Service 1
Service 2
Service 3

CONNECTED RESOURCES:
Package 1:

  • Service 1
  • Service 2

What I want to achieve is: if Package 1 is booked today at 10:00 AM with a duration of one hour, I want to prevent any other bookings, whether for Package 1 or any individual service, from 10:00 AM to 11:00 AM. However, if only Service 1 is booked, I don’t want to block reservations for the entire package.

The issue I’m facing with my current configuration is that when I book Service 1, it blocks all reservations because it’s linked to Package 1. I only want the block to apply when Package 1 itself is booked.

Redmine Admin wrote:

yes, you can set certain time as a breaktime by API call if Package 1 is booked for this time - it will prevent all bookings.

Alan Miranda wrote:

Redmine Admin wrote:

yes, you can set certain time as a breaktime by API call if Package 1 is booked for this time - it will prevent all bookings.

The issue I’m facing with my current configuration is that when I book Service 1, it blocks all reservations because it’s linked to Package 1. I only want the block to apply when Package 1 itself is booked.

Redmine Admin wrote:

hi, not sure how it is linked such way. Please contact our Live help