---
title: "Add Out of Office"
method: POST
path: "/business/v2/employees/out-of-office"
tags: ["Out of Office"]
---

# Add Out of Office

`POST /business/v2/employees/out-of-office`

Endpoint to add an `out_of_office`.

## Headers

- `X-Soldo-Fingerprint` string, required — [Advanced authentication](ref:advanced-authentication): `SHA512SUM` of the fingerprint values listed in the fingerprint order for this endpoint.
- `X-Soldo-Fingerprint-Signature` string, required — [Advanced authentication](ref:advanced-authentication): Signature of the `X-Soldo-Fingerprint`.

## Request body

- CreateOutOfOfficeDelegation — Create `out_of_office` JSON parameters.
  - `request_timestamp` integer, required — The epoch timestamp in millis. This is checked in Soldo. Requests with timestamp older than 5 seconds will be rejected.
  - `delegator_id` string, required — The ID of the person assigning the `out_of_office`.
  - `delegate_id` string, required — The ID of the person covering for the delegator.
  - `from_date` string — Defines when the out_of_office entry starts. fromDate included.(i.e. greater than or equal to) (Format: `yyyy-MM-dd`).
  - `to_date` string — Defines when the out_of_office entry ends. toDate included.(i.e. less than) (Format: `yyyy-MM-dd`).
  - `features` DelegationFeature[], required — The features of `out_of_office`.

## Response `200`

The result is a single `out_of_office`.

- OutOfOfficeDelegation
  - `id` string — A unique identifier for this `out_of_office` entry.
  - `delegator_id` string — The ID of the person assigning the `out_of_office`.
  - `delegate_id` string — The ID of the person covering for the delegator.
  - `from_date` string, date — Defines when the out_of_office entry starts. fromDate included. (i.e. greater than or equal to) (Format:`yyyy-MM-dd`).
  - `to_date` string, date — Defines when the out_of_office entry ends. toDate included. (i.e. less than) (Format:`yyyy-MM-dd`).
  - `features` DelegationFeature[] — The features of `out_of_office`.
  - `status` 'ACTIVE' | 'EXPIRED' | 'SCHEDULED' | 'DELETED'

## Other responses

- `400` — Your request has missing arguments or is malformed.
- `404` — One or more resource requested does not exist.

---

[API](https://skmtc.net/soldo/apis/soldo-business-api-v2-0.md) · [All operations](https://skmtc.net/soldo/apis/soldo-business-api-v2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/soldo/soldo-business-api-v2-0/revisions/7be21448a2b3/schema)
