LockedDates

Add a Locked Date

Creates a new locked date period. Locked dates prevent employees from booking time off during the specified period. You can lock dates at organisation level (all employees), department level, or individual user level. Higher-level locks supersede lower-level locks (e.g., an organisation lock will supersede existing department or user locks).

post/api/lockeddates

Request

  • Base URL: https://app.timetastic.co.uk (the document declares no server; this is the origin it was published from)
  • URL: https://app.timetastic.co.uk/api/lockeddates
  • Auth: none declared

Request body

fromstring date-time required
tostring date-time required
reasonstring required
recordIdinteger required
recordType1 | 2 | 3 required
  • 1 — Organisation
  • 2 — Department
  • 3 — User

Response

The locked date was successfully created

idinteger
createdOverExistingBookingsboolean

Changes

No recorded changes to this operation across all 1 revision of this API.