LeaveRequestDto
Leave request.
Name | Description | Type | Additional information |
---|---|---|---|
Id | The id of the leave request. This data is returned only and cannot be added or updated when issuing a POST or PUT. | integer |
None. |
CreatedDateUtc | The date and time this resource was created in UTC. This data is returned only and cannot be added or updated when issuing a POST or PUT. | date |
None. |
LastModifiedDateUtc | The date and time this resource was last modified in UTC. This data is returned on GET but required on update (PUT). Used to check concurreny when performing updates. | date |
None. |
LeaveTypePayItemId | The pay item id of the leave / entitlement pay item. For a list of leave / entitlement pay items, see GET /Payroll/Entitlements. | integer |
Required |
EmployeeId | The id/key of the employee / contact record. | integer |
Required |
StartDate | Leave start date. | date |
Required |
EndDate | Leave end date. Must be >= start date. Max duration. 3 months (63 days). | date |
Required |
TotalHours | Total hours in this leave. The sum of all hours in the Items. This data is returned only and cannot be added or updated when issuing a POST or PUT. | decimal number |
None. |
Status | Leave status. Valid values are: "Pending", "Approved", "Rejected". | string |
Required |
Notes | Notes. | string |
None. |
Items | Leave breakdown/allocation by date. Must be provided for approved leave requests. Pay run will pick up hours entered here when processing leaves payment and adjust hours worked accordingly. | Collection of LeaveRequestItemDto |
None. |
_links | Hypermedia links. Contains contextual links to possible next actions related to this resource. Only present in responses. This data is not to be sent to the server. | Collection of Link |
None. |