I saw this topic, however I have a number of calendars, that had 1 calendar associated with, then I have a fix duration of 3 hours, the display is in 1 Hour, allowing 2 bookings for each slot.
This is the code that I am posting, which it work in the past during testing
{
“startsAt”: “2023-07-21T08:00:00”,
“numberOfSlots”: 2,
“timeZone”: “America/Chicago”,
“units”: 1,
“answers”: [
{
“code”: “Q2”,
“string”: “sample 1”
},
{
“code”: “Q4”,
“string”: “sample 2”
},
{
“code”: “Q3”,
“string”: “0000000000000”
},
{
“code”: “EMAIL”,
“string”: “sample@gmail.com”
},
{
“code”: “Q8”,
“string”: “-”
}
]
}
This comes back
{
“code”: “ycbm_api_booking_invalid_duration_too_short”,
“errors”: ,
“httpCode”: 400,
“message”: “Booking duration is shorter than required”,
“type”: “YcbmApiException”
}
Please help