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": "454137a9-aefe-4b92-a1a6-ee71684c2eb0",
"CustomerId": "7491d97d-6893-479e-9ecc-93b289a400d8",
"StartDate": "2026-03-01T13:57:22.2706872+01:00",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"Minutes": 1,
"Occurences": 1,
"ServicesUid": [
"fa032ef8-8a51-47bd-9d17-a5858f32ee7a",
"9b187beb-92a7-4a3f-b4e5-015dd43f49ff"
],
"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>7491d97d-6893-479e-9ecc-93b289a400d8</CustomerId>
<EndTime>PT0.1234567S</EndTime>
<Minutes>1</Minutes>
<Occurences>1</Occurences>
<ServicesUid xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>fa032ef8-8a51-47bd-9d17-a5858f32ee7a</d2p1:guid>
<d2p1:guid>9b187beb-92a7-4a3f-b4e5-015dd43f49ff</d2p1:guid>
</ServicesUid>
<ShopId>454137a9-aefe-4b92-a1a6-ee71684c2eb0</ShopId>
<StartDate>2026-03-01T13:57:22.2706872+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>