# PatchPayrollrunsByPayrollRunIds
Change the status of payrollruns
__Activity name :__ PatchPayrollrunsByPayrollRunIds
This action may only be performed succesfully of the following requirements are met;
* The payroll run is ready for approval (status 1)
Update the status of one or more payrollruns
Select loket.nl (REST) API URL: /providers/employers/payrolladministrations/payrollruns
Insert loket.nl (REST) API URL: /providers/employers/payrolladministrations/payrollruns
Update loket.nl (REST) API URL: /providers/employers/payrolladministrations/payrollruns
Delete loket.nl (REST) API URL: /providers/employers/payrolladministrations/payrollruns
Select loket.nl (REST) API Operation: patch /providers/employers/payrolladministrations/payrollruns
- Catalog: `LoketNlRest`
- Schema: `ReviewPayrollRun`
- Field Selection Method: NotRequired
- Base Path: `content`
This is a read-only table function. The loket.nl (REST) API may not support changing the data or the Invantive SQL driver for loket.nl (REST) does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the loket.nl (REST) API.
## Columns of Table Function
The columns of the table function `PatchPayrollrunsByPayrollRunIds` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `DUMMY` | `string(1)` | | ☑ | Default column added since the specification specifies that no data is returned. |