---
title: "Overtime Export"
method: POST
path: "/overtimes-export"
tags: ["Overtime Export"]
---

# Overtime Export

`POST /overtimes-export`

curl request example
     * curl --location --request POST 'https://hurma.work/api/v1/overtimes-export' \
     * --header 'token: 886308a96833251c04ee18fff519a7aa15073256d6a5460587bd892e40e58c53d0dcab74cdde736' \
     * --header 'personal-token: 886308a96833251c04ee18fff519a7aa15073256d6a5460587bd892e40e58c53d0dcab74cdde736' \
     * --form 'employees[]='1'' \
     * --form 'end_date='31-05-2022'' \
     * --form 'start_date='02-05-2022''

## Query parameters

- `employees[]` string[], required
- `start_period` string, required
- `end_period` string, required

## Headers

- `token` string, required
- `personal-token` string

## Response `200`

ОК

- object[] — OverTimes
  - `sum_shift_in_minutes` integer — Total shift in minutes
  - `sum_shift_out_minutes` integer — Total shift out minutes
  - `sum_overtime_minutes` integer — Total overtime in minutes
  - `user_hash` string — User hash

## Other responses

- `403` — Forbidden
- `422` — Invalid request parameters

---

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