Bulk apply leave requests
POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/payrun/{payRunId}/bulkapplyleaverequests
Parameter name | Value | Description | Additional |
---|---|---|---|
payRunId | int32 | Required | |
businessId | string | Required |
The request body takes a complete BulkApplyLeaveRequestModel resource, containing the following writable properties:
{
"alignToPayRunPeriod": "boolean",
"leaveRequestIds": [
"int32"
]
}
Name | Type | Description |
---|---|---|
alignToPayRunPeriod | boolean | Boolean |
leaveRequestIds[] | array of int32 |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
ApplyLeaveRequestResult |
Powered by DapperDox