---
title: "Get Resource Timeslots"
method: GET
path: "/hours/resourceTimeslots"
tags: ["hours"]
---

# Get Resource Timeslots

`GET /hours/resourceTimeslots`

Retrieve available timeslots for a specific resource URI.

## Query parameters

- `mock` boolean
- `resourceUri` string, required
- `startDateTime` string, date-time, required
- `include` string[]

## Response `200`

Return an array of resource time slots

- object
  - `data` DataResourceTimeslotResponse[], required — Array of data response objects
    - `type` string — Type of resource
    - `id` string — UUID of resource
    - `attributes` object — Attributes of resource
      - `startTime` string, date-time — Start time of timeslot
      - `endTime` string, date-time — End time of timeslot
    - `relationships` object — Relationships
      - `resources` object — Array of related / available resources
        - `data` RelatedResource[]
          - `id` string, uuid — UUID of resource
          - `type` 'locations' | 'users' | 'customers' | 'services' — Type of resource
    - `links` Link — Link object for resource meta data
      - `self` string
  - `links` TimeslotsLinks, required
    - `self` string, required — Link to current page of data response
  - `included` IncludedResource[], required
    - `id` string, uuid — UUID of resource
    - `type` 'locations' | 'users' | 'customers' | 'services' — Type of resource
    - `attributes` object — The attributes of the included resource object
    - `links` Link — Link object for resource meta data
      - `self` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/brickworksoftware/apis/brickwork-software-api.md) · [All operations](https://skmtc.net/brickworksoftware/apis/brickwork-software-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/brickworksoftware/brickwork-software-api/versions/b06aa4f3b83c/schema)
