# PutProtectedEarningsByProtectedEarningsId Edit the details of an protected earnings record __Activity name :__ PutProtectedEarningsByProtectedEarningsId Update the details of a single protected earnings record __Metadata :__ There is no metadata for this resource Select loket.nl (REST) API URL: /providers/employers/employees/employments/protectedearnings/{protectedEarningsId} Insert loket.nl (REST) API URL: /providers/employers/employees/employments/protectedearnings/{protectedEarningsId} Update loket.nl (REST) API URL: /providers/employers/employees/employments/protectedearnings/{protectedEarningsId} Delete loket.nl (REST) API URL: /providers/employers/employees/employments/protectedearnings/{protectedEarningsId} Select loket.nl (REST) API Operation: put /providers/employers/employees/employments/protectedearnings/{protectedEarningsId} - Catalog: `LoketNlRest` - Schema: `ProtectedEarnings` - 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` | ☑ | | | | `If-Match` | `string` | ☐ | | Input the value acquired in the ETag header for concurrency control. Please note this is optional (and not recommended for most types of integrations). | | `protectedEarningsId` | `guid` | ☑ | | The unique identifier of a record | ## Columns of Table Function The columns of the table function `PutProtectedEarningsByProtectedEarningsId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `endDate` | `datetime` | | ☐ | The end date of the record | | `id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) | | `startDate` | `datetime` | | ☐ | Start date of this record A (broken chain)[./#section/Data/Date-chains] is maintained within this resource. __NOTE :__ at the moment of performing a payroll run it will be checked what record is applicable for protected earning (based on the start- and enddate, not based on the payroll period of the payroll run). | | `threshold` | `double` | | ☐ | The total amount of net wage that is protected. |