---
title: "ProtectedEarningsByEmploymentId (Loket.nl REST)"
description: "Protected Earnings by Employment ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.ProtectedEarnings.ProtectedEarningsByEmploymentId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.ProtectedEarnings.ProtectedEarningsByEmploymentId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# ProtectedEarningsByEmploymentId: Loket.nl REST Protected Earnings by Employment ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `ProtectedEarnings`
- Label: Protected Earnings by Employment ID

Get a list of protected earnings records
__Activity name :__ GetProtectedEarningsByEmploymentId

Get a list of protected earnings records


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/employees/employments/{employmentId}/protectedearnings`
- Operation: `get /providers/employers/employees/employments/{employmentId}/protectedearnings`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `employmentId` | `` | [x] |  | The unique identifier of the employment |

## Table Columns

The columns of the table `ProtectedEarningsByEmploymentId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `endDate` | `datetime` | End Date | [ ] |  | The end date of the record  |
| `id` | `guid` | ID | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `startDate` | `datetime` | Start Date | [ ] |  | 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` | itgen_loketnl_threshold | [ ] |  | The total amount of net wage that is protected. |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Loket.nl REST](/en/release-notes/drivers/loket-nl-rest)

