---
title: "Get Shifts"
method: GET
path: "/staff/v1/businessLocations/{businessLocationId}/shift"
tags: ["Staff"]
---

# Get Shifts

`GET /staff/v1/businessLocations/{businessLocationId}/shift`

## Path parameters

- `businessLocationId` integer, required

## Query parameters

- `page` integer
- `size` integer
- `sort` string[]
- `startTime` string, date-time
- `endTime` string, date-time
- `staffId` integer

## Response `200`

List of shifts with related links.

- object
  - `data` object
    - `shifts` StaffApiShift[]
      - `uuid` string — The unique identifier for the shift.
      - `businessId` integer — The unique identifier for the business.
      - `businessLocationId` integer — The unique identifier for the business location.
      - `deviceId` integer — The unique identifier for the device.
      - `staffId` integer — The unique identifier for the user.
      - `declaredCashTips` string — The declared tips for the shift.
      - `dateInUTC` string, date-time — The timestamp of the last update to the shift.
      - `events` StaffApiEvent[] — List of events during the shift.
        - `uuid` string — The unique identifier for the event.
        - `timestamp` string, date-time — The time of the event.
        - `createdOn` string, date-time — The creation time of the event.
        - `eventType` 'CLOCK_IN' | 'CLOCK_OUT' — The type of event.
  - `links` object
    - `first` object
      - `href` string, uri — The URL for the first page of results.
    - `self` object
      - `href` string, uri — The URL for the current page of results.
    - `next` object
      - `href` string, uri — The URL for the next page of results.
    - `last` object
      - `href` string, uri — The URL for the last page of results.
  - `page` StaffApiPageInfo
    - `page` integer — The current page number.
    - `size` integer — The number of elements in the page.
    - `totalElements` integer — The total number of elements.
    - `totalPages` integer — The total number of pages of results.

---

[API](https://skmtc.net/lightspeed/apis/lightspeed-restaurant-k-series-api.md) · [All operations](https://skmtc.net/lightspeed/apis/lightspeed-restaurant-k-series-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightspeed/lightspeed-restaurant-k-series-api/revisions/81c537153037/schema)
