---
title: "Returns all staff clocked date and time for a location"
method: GET
path: "/staff_clocking"
tags: ["TimeTracking"]
---

# Returns all staff clocked date and time for a location

`GET /staff_clocking`

Returns all staff clocked hours and categories 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 Clocking response

- StaffClocking[]
  - StaffClockingResponse[]
    - `date` string
    - `category_name` string
    - `employee_name` string
    - `location_name` string
    - `administrative_duration` number
    - `productive_duration` number
    - `clocking_duration` number
    - `employee_id` integer
    - `employee_mytime_id` integer
    - `start_time` string — DateTime in UTC
    - `end_time` string — DateTime in UTC

## 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)
