Delegation consists of choosing a someone to delegate to and the delegation period :
only during manager’s holidays, this is the default strategy
permanently, if I never have time to validate the requests of my collaborators
from date to date, for a one-off delegation not related to my holidays
Here are the properties of the delegation resource:
Owner: the one who delegates
Delegatee: the user targeted by the delegation, the one to whom we delegate
StartsOn: for a date-to-date delegation, the start date (included)
EndsOn: for a date-to-date delegation, the end date (inclusive)
OnlyDuringHolidays: Boolean that allows you to indicate that you only want to delegate during your holidays & absences
IsActive: indicates the state of the delegation, allows if necessary to temporarily deactivate the delegation without losing its information (delegate, strategy)
NB: The delegation does not have a unique ID, so it is a resource available under the ‘users’ resource.
For a permanent delegation, set startsOn and endsOn to NULL. You can also set only the startsDate so that the permanent delegation strarts from a specific date.