Prepare Leave Liability Report job.
POST https://apisg.yourpayroll.io/api/v2/business/{businessId}/report/leaveliability/preparation
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required |
The request body takes a complete ReportLeaveLiabilityRequestModel resource, containing the following writable properties:
{
"asAtDate": "date-time",
"employingEntityId": "int32",
"filterType": "string",
"groupBy": "string",
"includeApprovedLeave": "boolean",
"jobId": "uuid",
"leaveTypeId": "int32",
"leaveTypeIds": [
"int32"
],
"locationId": "int32",
"payRunId": "int32"
}
Name | Type | Description |
---|---|---|
asAtDate | date-time |
Nullable |
employingEntityId | int32 |
Nullable |
filterType | string |
DateTypeEnum
Possible values are:
|
groupBy | string |
Nullable Possible values are:
|
includeApprovedLeave | boolean | Boolean |
jobId | uuid |
Nullable |
leaveTypeId | int32 | Int32 |
leaveTypeIds[] | array of int32 | |
locationId | int32 | Int32 |
payRunId | int32 |
Nullable |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
ReportLeaveLiabilityPreparationResponse |
Powered by DapperDox