---
title: "Get rest period violation"
method: GET
path: "/v1/organizations/{orgId}/rest-period-violations/{id}"
tags: ["Rest Period Violations"]
---

# Get rest period violation

`GET /v1/organizations/{orgId}/rest-period-violations/{id}`

## Path parameters

- `orgId` string, required
- `id` string, required

## Response `200`

Rest period violation details

- RestPeriodViolationDto
  - `id` string
  - `contractId` string
  - `user` string
  - `member` Member
    - `uid` string
    - `firstname` string
    - `lastname` string
    - `email` string
    - `employeeId` string
    - `imageUrl` string
    - `deleted` boolean
    - `activity` Activity
      - `projectId` string
      - `projectTitle` string
      - `projectColor` integer
      - `taskId` string
      - `startDateTime` string
      - `endDateTime` string
      - `location` string
      - `running` boolean
    - `displayName` string
    - `initials` string
  - `workEndAt` integer
  - `workStartAt` integer
  - `actualRestMinutes` integer
  - `requiredRestMinutes` integer
  - `deficitMinutes` integer
  - `violationType` string
  - `status` string
  - `acknowledgedBy` string
  - `acknowledgedAt` integer
  - `lastUpdate` integer
  - `created` integer

## Other responses

- `401` — Not authorized

---

[API](https://skmtc.net/timesheet/apis/timesheet-api.md) · [All operations](https://skmtc.net/timesheet/apis/timesheet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/timesheet/timesheet-api/revisions/5bc49bf02dad/schema)
