}
response of this request is here:
{
“success”: false,
“error”: {
“code”: -32053,
“message”: “Selected date start is not available”,
“data”:
}
}
I checked available time on simplybook but everything is fine
I checked date and time for service/provider. its available,
when I wasn’t using admin API it was giving me access denied so that’s why I choose this, using your suggested method which parameters are required because I don’t have batchId and recurringData
I checked date and time for service/provider. its available,
when I wasn’t using admin API it was giving me access denied so that’s why I choose this, using your suggested method which parameters are required because I don’t have batchId and recurringData
If you are using admin API you have to pass parameters for admin API. Otherwise it will not work.
batchId and recurringData are not obliogatory fields.
It depends on your requirements.
Admin API (and REST API) is the same as you book from admin side (it has less limits).
Public API is the same as you book from public site.
i pass the parameter like this book ($eventId, $unitId, $clientId, $startDate, $startTime, $endDate, $endTime, $clientTimeOffset, $additional, $count, $batchId, $recurringData)
i got error: Gender - ‘’ was not found in the haystack,Value is required and can’t be empty
this is my intake form:
{
“id”: 4,
“name”: “623ab80dded6c4ee4f79a9a9636e2097”,
“field_name”: “Gender”,
“field_type”: “select”,
“field_options”: [
“Male”,
“Female”,
“Prefer not to say”
],
“default_value”: “”,
“optional”: false,
“is_visible”: true,
“show_for_all_services”: false
}
can you please tell me how can I pass it in an additional object
https://user-api.simplybook.me/admin/
method :book
“error”: {
“code”: -32070,
“message”: “Gender - ‘’ was not found in the haystack,Value is required and can’t be empty”,
“data”:
}