add_locked_date
Add a locked date period for an organisation, department, or user to block absences or modifications during the specified dates.
Instructions
Add a locked date period.
Args:
from_date: Start of the locked period (ISO 8601 date-time).
to_date: End of the locked period (ISO 8601 date-time).
reason: Reason for the lock (1–2000 chars).
record_type: Scope of the lock: Organisation, Department or
User. Higher-level locks supersede lower-level ones.
record_id: The organisation, department or user ID the lock targets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| to_date | Yes | ||
| from_date | Yes | ||
| record_id | Yes | ||
| record_type | Yes |