Terminates an employee in the specified pay run.
POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/payrun/{payRunId}/terminate
Parameter name | Value | Description | Additional |
---|---|---|---|
payRunId | int32 | Required | |
businessId | string | Required |
The request body takes a complete TerminateEmployeeRequest resource, containing the following writable properties:
{
"employeeId": "int32",
"terminationDate": "date-time",
"terminationReason": "string"
}
Name | Type | Description |
---|---|---|
employeeId | int32 | Int32 |
terminationDate | date-time |
Nullable |
terminationReason | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox