Returns list of time slots, including information about their availability.
Query string parameters
Name | Type | Description |
---|---|---|
minDate | date (ISO string) | Minimum |
maxDate | date (ISO string) |
Request
curl --location --request GET 'https://ombori-queue-prod-uae.azure-api.net/api/organizations/{organizationName}/queues/{queueId}/timeslots?minDate=2020-12-01T10:00:00.000Z&maxDate=2020-12-01T20:00:00.000Z' \ --header 'Content-Type: application/json'
Response
[ { "start": "2020-12-01T10:00:00.000Z", "end": "2020-12-01T10:30:00.000Z", "available": true, "availableCapacity": 50 }, { "start": "2020-12-01T10:30:00.000Z", "end": "2020-12-01T11:00:00.000Z", "available": true, "availableCapacity": 50 } ]