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": "9da7fa31-0896-4db3-b916-8c17454ebc04",
"CustomerId": "8ee9c641-107c-4913-bce6-8df23a8fb76e",
"StartDate": "2026-01-07T08:02:38.3956824+01:00",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"Minutes": 1,
"Occurences": 1,
"ServicesUid": [
"4402a90f-2c51-4cd4-acc5-ab8702412393",
"abf3ee37-99e8-49be-8038-a39acf9672c3"
],
"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>8ee9c641-107c-4913-bce6-8df23a8fb76e</CustomerId>
<EndTime>PT0.1234567S</EndTime>
<Minutes>1</Minutes>
<Occurences>1</Occurences>
<ServicesUid xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>4402a90f-2c51-4cd4-acc5-ab8702412393</d2p1:guid>
<d2p1:guid>abf3ee37-99e8-49be-8038-a39acf9672c3</d2p1:guid>
</ServicesUid>
<ShopId>9da7fa31-0896-4db3-b916-8c17454ebc04</ShopId>
<StartDate>2026-01-07T08:02:38.3956824+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>