Update a leave request
Path parameters
Request body
The member (employee) UID to associate to the leave can be empty if the memberCode is set
The member (employee) code to associate to the leave can be empty if the memberUId is set
The name of the leave bank associated to the leave. Can be empty if bankCode or bankId is set
The code of the leave bank associated to the leave. Can be empty if bankName or bankId is set
The UID of the leave bank associated to the leave. Can be empty if bankCode or bankName is set.If bankId and bankCode and/or bankName are set, they must all refer to the same bank or else a conflict exception is thrown
The starting date of the leave. In ISO-8601 format.
The ending date of the leave. In ISO-8601 format.
The reason of the leave
When true the leave first day has no specific time range
When true the leave last day has no specific time range
The member (a manager) UID who must approve this leave can be empty if the AssignedManagerId is set
The member (a manager) UID who must approve this leave can be empty if the AssignedManagerCode is set
The total number of hours to withdraw from the employee bank specified by bankName and bankCode
TeamId used to link with integration can be empty. teamId or teamCode can be set to determine team
TeamCode used to link with integration can be empty. teamId or teamCode can be set to determine team
SkillId used to link with integration can be empty skillId. or skillCode can be set to determine skill
SkillCode used to link with integration can be empty. skillId or skillCode can be set to determine skill
LocationId used to link with integration can be empty. locationId or locationCode can be set to determine location
LocationCode used to link with integration can be empty. locationId or locationCode can be set to determine location
this note will be only available for other manager
Example request
{
"fromDate": "2021-01-01T00:00:00.000-05:00",
"toDate": "2021-01-02T00:00:00.000-05:00"
}Response
unique leave id
The approval status of the leave
The UID of the leave bank linked to this leave
The name of the leave bank linked to this leave
The code of the leave bank linked to this leave
The member (employee) UID linked to this leave
The member (employee) code linked to this leave
Contains the member hourly wage specific to the skill of the leave or the member base hourlyWage.
Leave creation date and time. In ISO-8601 format
The member (an employee or manager) UID who created this leave
The member (an employee or manager) code who created this leave
The starting date of the leave. In ISO-8601 format.
The ending date of the leave. In ISO-8601 format.
When true the leave first day has no specific time range
When true the leave last day has no specific time range
The total number of hours to withdraw from the employee bank specified by bankName, bankCode and bankId
The reason of the leave
The reason the manager declined the leave
The leave time zone.
The member (a manager) UID who must approve this leave
The member (a manager) code who must approve this leave
When true the value is banked
The date at which the hours have been banked. In ISO-8601 format.
The team id linked to this leave
The team code linked to this leave
The skill (position) id linked to this leave
The skill (position) code linked to this leave
The location id linked to this leave
The location code linked to this leave
Example response
{
"from": "2021-01-01T00:00:00.000-05:00",
"to": "2021-01-02T00:00:00.000-05:00",
"timeZone": "America/New_York",
"bankedAt": "2021-01-02T00:00:00.000-05:00"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.