v1
latestSwagger 2.02026-08-043765135.6 KBhours
Get Resource Timeslots
Retrieve available timeslots for a specific resource URI.
get/hours/resourceTimeslots
Query parameters
mockboolean
Return mock data
resourceUristring required
startDateTimestring date-time required
includestring[]
Resource types to include
Response
Return an array of resource time slots
Example response
{
"data": [
{
"type": "resourceTimeslots",
"id": "2018-02-03T10:00:00Z/2018-02-03T10:30:00Z",
"attributes": {
"startTime": "2018-02-03T10:00:00Z",
"endTime": "2018-02-03T10:30:00Z"
},
"relationships": {
"resources": {
"data": [
{
"id": "f6cbc9c9-86f0-4f08-b525-392034b4ac26",
"type": "locations"
},
{
"id": "f6cbc9c9-86f0-4f08-b525-3920jdfjs777",
"type": "services"
}
]
}
}
}
],
"included": [
{
"id": "f759af6a-2d8d-42b4-8a63-a17582404a9d",
"type": "services"
}
]
}