POST api/v1/booking/getAvailability
Request Information
URI Parameters
None.
Body Parameters
BookingGetAvailabilityRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ShopId | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| StartDate | date |
None. |
|
| StartTime | time interval |
None. |
|
| EndTime | time interval |
None. |
|
| Minutes | integer |
None. |
|
| Occurences | integer |
None. |
|
| ServicesUid | Collection of globally unique identifier |
None. |
|
| Weeks | integer |
None. |
|
| WithoutAppointment | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ShopId": "c5600fdb-13a2-4e24-ab69-620fe0d5add5",
"CustomerId": "020fca96-749e-472f-890e-0073be8c08c7",
"StartDate": "2025-12-08T02:46:20.5588347+01:00",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"Minutes": 1,
"Occurences": 1,
"ServicesUid": [
"042e01e0-c7d2-4903-926e-c57c8af8fab3",
"f8e8b76e-bb9b-4f7f-96aa-a377ddeb9ca5"
],
"Weeks": 1,
"WithoutAppointment": true
}
application/xml, text/xml
Sample:
<BookingGetAvailabilityRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Area.API.Data">
<CustomerId>020fca96-749e-472f-890e-0073be8c08c7</CustomerId>
<EndTime>PT0.1234567S</EndTime>
<Minutes>1</Minutes>
<Occurences>1</Occurences>
<ServicesUid xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>042e01e0-c7d2-4903-926e-c57c8af8fab3</d2p1:guid>
<d2p1:guid>f8e8b76e-bb9b-4f7f-96aa-a377ddeb9ca5</d2p1:guid>
</ServicesUid>
<ShopId>c5600fdb-13a2-4e24-ab69-620fe0d5add5</ShopId>
<StartDate>2025-12-08T02:46:20.5588347+01:00</StartDate>
<StartTime>PT0.1234567S</StartTime>
<Weeks>1</Weeks>
<WithoutAppointment>true</WithoutAppointment>
</BookingGetAvailabilityRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AjaxBaseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ExitCode | ExitCodes |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ExitCode": 0,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<AjaxBaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Area.API.Data"> <Data /> <ExitCode>Ok</ExitCode> <Message>sample string 1</Message> </AjaxBaseResponse>