---
title: "EmployeeDataAuditTrailByEmployerId (Loket.nl REST)"
description: "Employee Data Audit Trail by Employer ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.AuditTrail.EmployeeDataAuditTrailByEmployerId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.AuditTrail.EmployeeDataAuditTrailByEmployerId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# EmployeeDataAuditTrailByEmployerId: Loket.nl REST Employee Data Audit Trail by Employer ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `AuditTrail`
- Label: Employee Data Audit Trail by Employer ID

Get the employee data audit trail
__Activity name :__ GetEmployeeDataAuditTrailByEmployerId

Get the mutations for the all the tables linked to the employee (this includes employment and underlying entities).


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/{employerId}/auditTrail/employeeData`
- Operation: `get /providers/employers/{employerId}/auditTrail/employeeData`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `employerId` | `` | [x] |  | The unique identifier of the employer |
| `endDate` | `` | [x] |  | The end date |
| `startDate` | `` | [x] |  | The start date |

## Table Columns

The columns of the table `EmployeeDataAuditTrailByEmployerId` 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 |
|---|---|---|:---:|---|---|
| `employee_employeeNumber` | `int32` | itgen_loketnl_employee_employeenumber | [ ] |  | The employee number to uniquely identify a employee within an employer. |
| `employee_id` | `guid` | Employee ID | [ ] |  | The unique identifier (GUID/UUID) |
| `employee_name` | `varchar2(25)` | itgen_loketnl_employee_name | [ ] |  | The name of the employee |
| `employer_companyName` | `varchar2(70)` | itgen_loketnl_employer_companyname | [ ] |  | Name of the company |
| `employer_employerNumber` | `int32` | itgen_loketnl_employer_employernumber | [ ] |  | The employer number is used in various overviews and exports to identify a specific employer in Loket (please note: this is not the identifier used in the REST API). |
| `employer_id` | `guid` | itgen_loketnl_employer_id | [ ] |  | The unique identifier (GUID/UUID) |
| `employment_id` | `guid` | Employment ID | [ ] |  | The unique identifier (GUID/UUID) |
| `employment_startDate` | `datetime` | itgen_loketnl_employment_startdate | [ ] |  | The date on which this employment starts. |
| `entity_key` | `int32` | itgen_loketnl_entity_key | [ ] |  | The key of the entity |
| `field_key` | `int32` | itgen_loketnl_field_key | [ ] |  | The key of the field |
| `field_value` | `varchar2(50)` | itgen_loketnl_field_value | [ ] |  | Description of the field |
| `identification_description` | `varchar2(255)` | itgen_loketnl_identification_description | [ ] |  | Extra identifying information for the mutation |
| `mutationOrigin_key` | `int32` | itgen_loketnl_mutationorigin_key | [ ] |  | The key of the mutationOrigin |
| `mutationOrigin_value` | `varchar2(50)` | itgen_loketnl_mutationorigin_value | [ ] |  | Description of the mutationOrigin |
| `mutationType_key` | `int32` | itgen_loketnl_mutationtype_key | [ ] |  | The key of the mutationType |
| `mutationType_value` | `varchar2(50)` | itgen_loketnl_mutationtype_value | [ ] |  | Description of the mutationType |
| `newValue` | `varchar2(250)` | itgen_loketnl_newvalue | [ ] |  | The value of the field after the change.  Incase of an delete the nieuwValue will be NULL. |
| `oldValue` | `varchar2(250)` | itgen_loketnl_oldvalue | [ ] |  | The value befor the change.  Incase of an create the oldValue will be NULL. |
| `performedBy_formattedName` | `varchar2` | itgen_loketnl_performedby_formattedname | [ ] |  | preformatted user name for displaying. \<lastname\>\", \"\<initials\>\" \"\<prefix\> |
| `performedBy_id` | `guid` | itgen_loketnl_performedby_id | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `performedBy_initials` | `varchar2(6)` | itgen_loketnl_performedby_initials | [ ] |  | The initials of the user |
| `performedBy_lastName` | `varchar2(25)` | itgen_loketnl_performedby_lastname | [ ] |  | The last name of the user |
| `performedBy_prefix` | `varchar2(10)` | itgen_loketnl_performedby_prefix | [ ] |  | The prefix of the user |
| `timeStamp` | `datetime` | itgen_loketnl_timestamp | [ ] |  | The time the mutation was performed |



## 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)

