---
title: "Create absence vacation"
method: POST
path: "/employees/vacation"
tags: ["Absence"]
---

# Create absence vacation

`POST /employees/vacation`

## Headers

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

## Request body

- EmployeeCreateVacation — Employee create vacation data structure
  - `id` string, required — Id of employee
  - `start_date` string, required — Start date of vacation, format: d.m.Y
  - `end_date` string, required — End date of vacation, format: d.m.Y
  - `full_day` boolean, required — Vacation for the whole day or not
  - `busy_day_checking` boolean, required — Enable\disable check conflicts with vacations
  - `approved` boolean, required — Approve status
  - `start_time` string, nullable — Start time for vacation for part day, format: H:i
  - `end_time` string, nullable — End time for vacation for part day, format: H:i

## Response `200`

ОК

## Other responses

- `403` — Forbidden
- `409` — There are already absences during this period
- `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)
