# PayrollPeriodDataAuditTrailByPayrollAdministrationId1
Get payroll period data audit trail
__Activity name :__ GetPayrollPeriodDataAuditTrailByPayrollAdministrationId
Get the audit trail for the payroll period data.
Select loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/auditTrail/PayrollPeriodData
Insert loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/auditTrail/PayrollPeriodData
Update loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/auditTrail/PayrollPeriodData
Delete loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/auditTrail/PayrollPeriodData
Select loket.nl (REST) API Operation: get /providers/employers/payrolladministrations/{payrollAdministrationId}/auditTrail/PayrollPeriodData
- Catalog: `LoketNlRest`
- Schema: `AuditTrail`
- Field Selection Method: NotRequired
- Base Path: `_embedded[*]`
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 |
|---|:---:|:---:|:---:|---|
| `endDate` | `string` | ☑ | | The end date |
| `payrollAdministrationId` | `guid` | ☑ | | The unique identifier of an administration |
| `startDate` | `string` | ☑ | | The start date |
## Columns of Table Function
The columns of the table function `PayrollPeriodDataAuditTrailByPayrollAdministrationId1` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `employee_employeeNumber` | `int32` | | ☐ | The employee number to uniquely identify a employee within an employer. |
| `employee_id` | `guid` | | ☐ | The unique identifier (GUID/UUID) |
| `employee_name` | `string(25)` | | ☐ | The name of the employee |
| `employer_companyName` | `string(70)` | | ☐ | Name of the company |
| `employer_employerNumber` | `int32` | | ☐ | 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` | | ☐ | The unique identifier (GUID/UUID) |
| `employment_id` | `guid` | | ☐ | The unique identifier (GUID/UUID) |
| `employment_startDate` | `datetime` | | ☐ | The date on which this employment starts. |
| `field_key` | `int32` | | ☐ | The key of the field |
| `field_value` | `string(50)` | | ☐ | Description of the field |
| `identification_costCenter_code` | `string` | | ☐ | |
| `identification_costCenter_description` | `string` | | ☐ | |
| `identification_costCenter_key` | `int32` | | ☐ | |
| `identification_costUnit_code` | `string` | | ☐ | |
| `identification_costUnit_description` | `string` | | ☐ | |
| `identification_costUnit_key` | `int32` | | ☐ | |
| `identification_description` | `string(255)` | | ☐ | Extra identifying information for the mutation |
| `identification_distributionUnit_code` | `int32` | | ☐ | |
| `identification_distributionUnit_description` | `string` | | ☐ | |
| `identification_distributionUnit_key` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `identification_id` | `guid` | | ☐ | The ID of the entity record that was changed |
| `identification_payrollPeriod_periodEndDate` | `datetime` | | ☐ | The last day of the period to which the payroll period data applies |
| `identification_payrollPeriod_periodNumber` | `int32` | | ☐ | 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` | | ☐ | The first day of the period to which the payroll period data applies |
| `identification_payrollPeriod_year` | `int32` | | ☐ | The year of the payroll period in which the payroll data is to be processed |
| `identification_payslipType_key` | `int32` | | ☐ | |
| `identification_payslipType_value` | `string` | | ☐ | |
| `identification_shift_bonusPercentage` | `decimal` | | ☐ | The bonus percentage used in wage calculations for the hours made in this shift. |
| `identification_shift_fullTimeHoursPerWeek` | `decimal` | | ☐ | The full time hours for an employment that is linked to this shift. |
| `identification_shift_shiftNumber` | `int32` | | ☐ | The number for the shift. Loket.nl supports a maximum of 5 shifts per payroll administration. |
| `mutationOrigin_key` | `int32` | | ☐ | The key of the mutationOrigin |
| `mutationOrigin_value` | `string(50)` | | ☐ | Description of the mutationOrigin |
| `mutationType_key` | `int32` | | ☐ | The key of the mutationType |
| `mutationType_value` | `string(50)` | | ☐ | Description of the mutationType |
| `newValue` | `string(250)` | | ☐ | The value of the field after the change. Incase of an delete the nieuwValue will be NULL. |
| `oldValue` | `string(250)` | | ☐ | The value befor the change. Incase of an create the oldValue will be NULL. |
| `payrollAdministration_clientNumber` | `int32` | | ☐ | 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` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `payrollAdministration_name` | `string(70)` | | ☐ | Name of the administration |
| `payrollComponentCategory_key` | `int32` | | ☐ | |
| `payrollComponentCategory_value` | `string` | | ☐ | |
| `performedBy_formattedName` | `string` | | ☐ | preformated user name for displaying. \<lastname\>\", \"\<initials\>\" \"\<prefix\> |
| `performedBy_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `performedBy_initials` | `string(6)` | | ☐ | The initials of the user |
| `performedBy_lastName` | `string(25)` | | ☐ | The last name of the user |
| `performedBy_prefix` | `string(10)` | | ☐ | The prefix of the user |
| `timeStamp` | `datetime` | | ☐ | The time the mutation was performed |