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

# PayrollPeriodDataAuditTrailByPayrollAdministrationId1: Loket.nl REST Payroll Period Data Audit Trail by Payroll Administration ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `AuditTrail`
- Label: Payroll Period Data Audit Trail by Payroll Administration ID

Get payroll period data audit trail
__Activity name :__ GetPayrollPeriodDataAuditTrailByPayrollAdministrationId

Get the audit trail for the payroll period data. 
This endpoint requires either the set of query parameters `startDate` and `endDate` or the query parameter `payrollPeriodId` to be set. Request with none or all of these three query parameters are not supported.


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/payrolladministrations/{payrollAdministrationId}/auditTrail/PayrollPeriodData`
- Operation: `get /providers/employers/payrolladministrations/{payrollAdministrationId}/auditTrail/PayrollPeriodData`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `endDate` | `` | [ ] |  | The end date |
| `payrollAdministrationId` | `` | [x] |  | The unique identifier of an administration |
| `payrollPeriodId` | `` | [ ] |  | The unique identifier of the payroll period |
| `startDate` | `` | [ ] |  | The start date |

## Table Columns

The columns of the table `PayrollPeriodDataAuditTrailByPayrollAdministrationId1` 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. |
| `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_costCenter_code` | `varchar2` | itgen_loketnl_identification_costcenter_code | [ ] |  |  |
| `identification_costCenter_description` | `varchar2` | itgen_loketnl_identification_costcenter_description | [ ] |  |  |
| `identification_costCenter_key` | `int32` | itgen_loketnl_identification_costcenter_key | [ ] |  |  |
| `identification_costUnit_code` | `varchar2` | itgen_loketnl_identification_costunit_code | [ ] |  |  |
| `identification_costUnit_description` | `varchar2` | itgen_loketnl_identification_costunit_description | [ ] |  |  |
| `identification_costUnit_key` | `int32` | itgen_loketnl_identification_costunit_key | [ ] |  |  |
| `identification_description` | `varchar2(255)` | itgen_loketnl_identification_description | [ ] |  | Extra identifying information for the mutation |
| `identification_distributionUnit_code` | `int32` | itgen_loketnl_identification_distributionunit_code | [ ] |  |  |
| `identification_distributionUnit_description` | `varchar2` | itgen_loketnl_identification_distributionunit_description | [ ] |  |  |
| `identification_distributionUnit_key` | `guid` | itgen_loketnl_identification_distributionunit_key | [ ] |  | The unique identifier of an object (GUID/UUID)  |
| `identification_id` | `guid` | itgen_loketnl_identification_id | [ ] |  | The ID of the entity record that was changed |
| `identification_payrollPeriod_periodEndDate` | `datetime` | itgen_loketnl_identification_payrollperiod_periodenddate | [ ] |  | The last day of the period to which the payroll period data applies  |
| `identification_payrollPeriod_periodNumber` | `int32` | itgen_loketnl_identification_payrollperiod_periodnumber | [ ] |  | The period (month [1 to 12] , 4 weeks [1 to 13] or week [1 to 53]) of the payroll period in which the payroll data is to be processed.  |
| `identification_payrollPeriod_periodStartDate` | `datetime` | itgen_loketnl_identification_payrollperiod_periodstartdate | [ ] |  | The first day of the period to which the payroll period data applies  |
| `identification_payrollPeriod_year` | `int32` | itgen_loketnl_identification_payrollperiod_year | [ ] |  | The year of the payroll period in which the payroll data is to be processed  |
| `identification_payslipType_key` | `int32` | itgen_loketnl_identification_paysliptype_key | [ ] |  |  |
| `identification_payslipType_value` | `varchar2` | itgen_loketnl_identification_paysliptype_value | [ ] |  |  |
| `identification_shift_bonusPercentage` | `decimal` | itgen_loketnl_identification_shift_bonuspercentage | [ ] |  | The bonus percentage used in wage calculations for the hours made in this shift.  |
| `identification_shift_fullTimeHoursPerWeek` | `decimal` | itgen_loketnl_identification_shift_fulltimehoursperweek | [ ] |  | The full time hours for an employment that is linked to this shift.  |
| `identification_shift_shiftNumber` | `int32` | itgen_loketnl_identification_shift_shiftnumber | [ ] |  | The number for the shift. Loket.nl supports a maximum of 5 shifts per payroll administration.  |
| `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. |
| `payrollAdministration_clientNumber` | `int32` | itgen_loketnl_payrolladministration_clientnumber | [ ] |  | The client number is a unique number for administrations that are used for payrolling. This field has no value if the administration is not used for payrolling. |
| `payrollAdministration_id` | `guid` | Payroll Administration ID | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `payrollAdministration_name` | `varchar2(70)` | Payroll Administration Name | [ ] |  | Name of the administration |
| `payrollComponentCategory_key` | `int32` | itgen_loketnl_payrollcomponentcategory_key | [ ] |  |  |
| `payrollComponentCategory_value` | `varchar2` | itgen_loketnl_payrollcomponentcategory_value | [ ] |  |  |
| `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)

