---
title: "Get all staff schedule for a location"
method: GET
path: "/staff_schedule"
tags: ["StaffSchedule"]
---

# Get all staff schedule for a location

`GET /staff_schedule`

Returns all staff schedule for a date range, location and staff

## Query parameters

- `employee_partner_id` string
- `employee_mytime_id` integer
- `location_partner_id` string
- `location_mytime_id` integer
- `start_date` string, required
- `end_date` string, required

## Headers

- `X-Subdomain` string

## Response `200`

Staff Schedule response

- StaffSchedule[]
  - `schedule` StaffScheduleResponse[]
    - `employee_name` string
    - `employee_id` integer
    - `employee_mytime_id` integer
    - `avatar_url` string
    - `difference_question` string
    - `training_question` string
    - `worked_time` integer
    - `schedule_dates` ScheduleDates[]
      - `date` string
      - `schedule_hours` string

## Other responses

- `401` — Unauthorized
- `422` — Invalid parameters
- `500` — Internal Server Error
- `504` — Gateway Timeout

---

[API](https://skmtc.net/mytime/apis/mytime-partners-api.md) · [All operations](https://skmtc.net/mytime/apis/mytime-partners-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mytime/mytime-partners-api/versions/65d3a27fcb1a/schema)
