Out of Office

Add Out of Office

Endpoint to add an out_of_office.

post/business/v2/employees/out-of-office

Headers

X-Soldo-Fingerprintstring required

Advanced authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this endpoint.

Example:{{fingerprint}}
X-Soldo-Fingerprint-Signaturestring required

Advanced authentication: Signature of the X-Soldo-Fingerprint.

Example:{{fingerprint_signature}}

Request body

request_timestampinteger required

The epoch timestamp in millis. This is checked in Soldo. Requests with timestamp older than 5 seconds will be rejected.

delegator_idstring required

The ID of the person assigning the out_of_office.

delegate_idstring required

The ID of the person covering for the delegator.

from_datestring

Defines when the out_of_office entry starts. fromDate included.(i.e. greater than or equal to) (Format: yyyy-MM-dd).

to_datestring

Defines when the out_of_office entry ends. toDate included.(i.e. less than) (Format: yyyy-MM-dd).

featuresDelegationFeature[] required

The features of out_of_office.

Example request

{
  "request_timestamp": 1576850500000,
  "delegator_id": "XMPL1234-000001",
  "delegate_id": "XMPL1234-000002",
  "from_date": "2020-04-06",
  "to_date": "2020-04-06"
}

Response

The result is a single out_of_office.

idstring

A unique identifier for this out_of_office entry.

delegator_idstring

The ID of the person assigning the out_of_office.

delegate_idstring

The ID of the person covering for the delegator.

from_datestring date

Defines when the out_of_office entry starts. fromDate included. (i.e. greater than or equal to) (Format:yyyy-MM-dd).

to_datestring date

Defines when the out_of_office entry ends. toDate included. (i.e. less than) (Format:yyyy-MM-dd).

featuresDelegationFeature[]

The features of out_of_office.

status'ACTIVE' | 'EXPIRED' | 'SCHEDULED' | 'DELETED'

Example response

{
  "id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
  "delegator_id": "XMPL1234-000001",
  "delegate_id": "XMPL1234-000002",
  "from_date": "2025-03-05",
  "to_date": "2025-03-07"
}