Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Update Time Off

PUT /tenants/{tenant}/time-off/{code}

Full replacement of one period of time off. Changing someone else's needs Time Off Update.

Open to any signed-in user of the tenant: Your own time off needs no permission; anyone else's needs the Time Off permission, checked in the use case

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string

Request Body*

{
  "tenantUserCode": "string",
  "startDate": "2024-01-01",
  "endDate": "2024-01-01",
  "type": "Holiday",
  "minutesPerDay": 1
}

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden
404 Not Found