Hello guys,
I would like to know how to specify duration when making booking via API.
Thanks in advance for your support.
Request:
{
“timeZone”: “US/Central”,
“startsAt”: “2022-06-14T09:00:00”,
“units”: 1,
“numberOfSlots”: 1,
“answers”: [
{
“code”: “EMAIL”,
“string”: “test-2@testmail.com”
},
{
“code”: “FNAME”,
“string”: “test”
},
{
“code”: “LNAME”,
“string”: “test”
}
]
}
Response:
{
“code”: “ycbm_api_booking_invalid_duration_too_short”,
“message”: “Booking duration is shorter than required”,
“type”: “YcbmApiException”,
“errors”: ,
“httpCode”: 400
}