GET api/v{version}/Wonder/GetWonderTimeSlots?key={key}&departmentId={departmentId}
Retrieves available online timeslots for a specific department.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
The API key. |
string |
Required |
departmentId |
The ID of the department to fetch timeslots for. |
integer |
Required |
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
A list of containing available timeslots.
Collection of TimeslotDayDtoName | Description | Type | Additional information |
---|---|---|---|
Date | date |
None. |
|
AmountSlots | integer |
None. |
|
Slots | Collection of SlotDto |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Date": "2025-07-15T04:13:52.7872613+02:00", "AmountSlots": 2, "Slots": [ { "SlotId": 1, "Start": "00:00:00.1234567", "End": "00:00:00.1234567" }, { "SlotId": 1, "Start": "00:00:00.1234567", "End": "00:00:00.1234567" } ] }, { "Date": "2025-07-15T04:13:52.7872613+02:00", "AmountSlots": 2, "Slots": [ { "SlotId": 1, "Start": "00:00:00.1234567", "End": "00:00:00.1234567" }, { "SlotId": 1, "Start": "00:00:00.1234567", "End": "00:00:00.1234567" } ] } ]