# EmploymentPayrollDataAuditTrailByPayrollAdministrationId
Download the audit trail for the employment payroll data
__Activity name :__ GetEmploymentPayrollDataAuditTrailByPayrollAdministrationId
Returns the changes that were made in the payroll data for the employments.
This includes resources such as (allmost all payroll related resources except `payroll period data` which has its own audit trail download):
- Wage
- Working hours
- Bennefits and deductions
- Employment
- Fiscal properties
- Organizational entity
Select loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/employmentPayrollDataAuditTrail
Insert loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/employmentPayrollDataAuditTrail
Update loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/employmentPayrollDataAuditTrail
Delete loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/employmentPayrollDataAuditTrail
Select loket.nl (REST) API Operation: get /providers/employers/payrolladministrations/{payrollAdministrationId}/employmentPayrollDataAuditTrail
- Catalog: `LoketNlRest`
- Schema: `AuditTrailPayrollRun`
- Field Selection Method: NotRequired
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 `EmploymentPayrollDataAuditTrailByPayrollAdministrationId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `DOCUMENT` | `byte[]` | | ☐ | |