---
title: "AuditTrailByEmploymentIdAndDocumentId (Loket.nl REST)"
description: "Audit Trail by Employment ID and Document ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.EmploymentDossier.AuditTrailByEmploymentIdAndDocumentId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.EmploymentDossier.AuditTrailByEmploymentIdAndDocumentId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# AuditTrailByEmploymentIdAndDocumentId: Loket.nl REST Audit Trail by Employment ID and Document ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `EmploymentDossier`
- Label: Audit Trail by Employment ID and Document ID

Get audittrail for the document in the employment dossier
__Activity name :__ GetAuditTrailByEmploymentIdAndDocumentId

Get audittrail for the document in the employment dossier.


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/employees/employments/{employmentId}/documents/{documentId}/audittrail`
- Operation: `get /providers/employers/employees/employments/{employmentId}/documents/{documentId}/audittrail`

## Parameters

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

## Table Columns

The columns of the table `AuditTrailByEmploymentIdAndDocumentId` 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 |
|---|---|---|:---:|---|---|
| `attribute` | `varchar2` | itgen_loketnl_attribute | [ ] |  | Qwoater: Kenmerk  |
| `category` | `varchar2` | itgen_loketnl_category | [ ] |  | Qwoater: DocumentType  |
| `dateOfAlert` | `datetime` | itgen_loketnl_dateofalert | [ ] |  | The time the declaration was submitted. Qwoater: Signaleringsdatum  |
| `description` | `varchar2` | Description | [ ] |  | Qwoater: Omschrijving  |
| `endUser` | `varchar2` | itgen_loketnl_enduser | [ ] |  | Qwoater: EndUser  |
| `event` | `varchar2` | itgen_loketnl_event | [ ] |  | Qwoater: Event  |
| `eventDate` | `datetime` | itgen_loketnl_eventdate | [ ] |  | The time the declaration was submitted. Qwoater: AuditEventDate  |
| `role` | `varchar2` | itgen_loketnl_role | [ ] |  | Qwoater: Role  |
| `year` | `varchar2` | Year | [ ] |  | Qwoater: Jaar  |



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

