# PatchLeaveRequestsByLeaveRequestIds
Change the status of leave requests
__Activity name :__ PatchLeaveRequestsByLeaveRequestIds
This endpoints changes the status of the list of leave requests provided in the request body to the provided status. The leave requests are processed one by one. The leave requests that had no error's will be commited to the database while those with an error will be skipped. If an error occured the service will return a 400 bad request with a message explaining what error occured for what ID (GUID). The leave requests that where processed succesfully will not be returned in te response.
Select loket.nl (REST) API URL: /providers/employers/employees/employments/leaverequests
Insert loket.nl (REST) API URL: /providers/employers/employees/employments/leaverequests
Update loket.nl (REST) API URL: /providers/employers/employees/employments/leaverequests
Delete loket.nl (REST) API URL: /providers/employers/employees/employments/leaverequests
Select loket.nl (REST) API Operation: patch /providers/employers/employees/employments/leaverequests
- Catalog: `LoketNlRest`
- Schema: `LeaveRequest`
- 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 `PatchLeaveRequestsByLeaveRequestIds` 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. |