---
title: "List ShiftTemplate records"
method: GET
path: "/resource/ShiftTemplate"
tags: ["ShiftTemplate"]
---

# List ShiftTemplate records

`GET /resource/ShiftTemplate`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api/v1`
- URL: `https://your-subdomain.deputy.deputy.com/api/v1/resource/ShiftTemplate`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://once.deputy.com/my/oauth/login`
    - Token URL: `https://once.deputy.com/my/oauth/access_token`

Returns ShiftTemplate records the authenticated caller is permitted to see. For large tables prefer POST /QUERY with pagination.

## Response `200`

Success

- ShiftTemplate[]
  - `Id` integer, required
  - `Name` string, required
  - `TotalTime` number, double
  - `Slots` string
  - `Schedule` integer, required
  - `Active` boolean, required
  - `AutoCommitBreak` boolean, required
  - `BlockEarlyBreakEnd` boolean, required
  - `BlockEarlyBreakStart` boolean, required
  - `AdditionalConfig` string
  - `Country` integer
  - `Creator` integer
  - `Created` string, date-time
  - `Modified` string, required
  - `ScheduleObject` object
  - `CountryObject` object

## Other responses

- `400`: Bad request
- `401`: Authentication required or invalid token
- `403`: Forbidden — token lacks access to this resource
- `404`: Resource not found

---

[API](https://skmtc.dev/deputy/apis/deputy-v1-resource-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v1-resource-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v1-resource-api/revisions/5d8e44000786?raw)
