---
title: "DeclarationAuditTrailByDeclarationId (Loket.nl REST)"
description: "itgen_loketnl_declarationaudittrailbydeclarationid_plural"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Declarations.DeclarationAuditTrailByDeclarationId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Declarations.DeclarationAuditTrailByDeclarationId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# DeclarationAuditTrailByDeclarationId: Loket.nl REST itgen_loketnl_declarationaudittrailbydeclarationid_plural

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `Declarations`
- Label: itgen_loketnl_declarationaudittrailbydeclarationid_plural

Audit trail of a declaration
__Activity name :__ GetDeclarationAuditTrailByDeclarationId

Get the audit trail of a declaration


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/employees/employments/declarations/{declarationId}/audittrail`
- Operation: `get /providers/employers/employees/employments/declarations/{declarationId}/audittrail`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `declarationId` | `` | [x] |  | The unique identifier of the declaration |

## Table Columns

The columns of the table `DeclarationAuditTrailByDeclarationId` 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 |
|---|---|---|:---:|---|---|
| `comment` | `varchar2(4000)` | Comment | [ ] |  | The comment for the action |
| `id` | `guid` | ID | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `performedBy_formattedName` | `varchar2` | itgen_loketnl_performedby_formattedname | [ ] |  | preformated 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 |
| `performedOn` | `datetime` | itgen_loketnl_performedon | [ ] |  | The date-time to which the action was performed |
| `status_key` | `int32` | Status Key | [ ] |  |  |
| `status_value` | `varchar2` | Status Value | [ ] |  |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Loket.nl REST](/en/release-notes/drivers?driver=loket-nl-rest)

