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": "e04304b1-1450-4e03-bc1e-a22e91b89478",
"CustomerId": "30ec2ae5-de95-4236-951d-2ef9ac9dc6b1",
"StartDate": "2026-06-14T09:02:20.277328+02:00",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"Minutes": 1,
"Occurences": 1,
"ServicesUid": [
"a5281a14-8c0d-484d-bf31-85bf02202e92",
"e413cc11-286c-4c1a-8e88-93cbbb41efd1"
],
"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>30ec2ae5-de95-4236-951d-2ef9ac9dc6b1</CustomerId>
<EndTime>PT0.1234567S</EndTime>
<Minutes>1</Minutes>
<Occurences>1</Occurences>
<ServicesUid xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>a5281a14-8c0d-484d-bf31-85bf02202e92</d2p1:guid>
<d2p1:guid>e413cc11-286c-4c1a-8e88-93cbbb41efd1</d2p1:guid>
</ServicesUid>
<ShopId>e04304b1-1450-4e03-bc1e-a22e91b89478</ShopId>
<StartDate>2026-06-14T09:02:20.277328+02: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>