# PatchJournalRunByJournalRunId
Change the status of a journal run
__Activity name :__ PatchJournalRunByJournalRunId
Update the status of a journal run
* Action 'markAsSuccessfullyExported'; will change the status of the journal run to 'exported'. Please note this action will not perform an actual export, but simply allows the user the manage status to match their actualities.</br>
* Action 'MarkAsProcessingFailed'; will change the status of the journal run to 'export failed'. Please note this action will not perform an actual export, but simply allows the user the manage status to match their actualities.
Select loket.nl (REST) API URL: /providers/employers/payrolladministrations/journalruns/{journalrunId}
Insert loket.nl (REST) API URL: /providers/employers/payrolladministrations/journalruns/{journalrunId}
Update loket.nl (REST) API URL: /providers/employers/payrolladministrations/journalruns/{journalrunId}
Delete loket.nl (REST) API URL: /providers/employers/payrolladministrations/journalruns/{journalrunId}
Select loket.nl (REST) API Operation: patch /providers/employers/payrolladministrations/journalruns/{journalrunId}
- Catalog: `LoketNlRest`
- Schema: `JournalRun`
- 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.
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `body` | `string` | ☑ | | Change the status of a journal run |
| `journalrunId` | `guid` | ☑ | | The unique identifier of the payroll run |
## Columns of Table Function
The columns of the table function `PatchJournalRunByJournalRunId` 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. |