# DeclarationAuditTrailByDeclarationId
Audit trail of a declaration
__Activity name :__ GetDeclarationAuditTrailByDeclarationId
Get the audit trail of a declaration
Select loket.nl (REST) API URL: /providers/employers/employees/employments/declarations/{declarationId}/audittrail
Insert loket.nl (REST) API URL: /providers/employers/employees/employments/declarations/{declarationId}/audittrail
Update loket.nl (REST) API URL: /providers/employers/employees/employments/declarations/{declarationId}/audittrail
Delete loket.nl (REST) API URL: /providers/employers/employees/employments/declarations/{declarationId}/audittrail
Select loket.nl (REST) API Operation: get /providers/employers/employees/employments/declarations/{declarationId}/audittrail
- Catalog: `LoketNlRest`
- Schema: `Declarations`
- 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 |
|---|:---:|:---:|:---:|---|
| `declarationId` | `guid` | ☑ | | The unique identifier of the declaration |
## Columns of Table Function
The columns of the table function `DeclarationAuditTrailByDeclarationId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `comment` | `string(4000)` | | ☐ | The comment for the action |
| `id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `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 |
| `performedOn` | `datetime` | | ☐ | The date-time to which the action was performed |
| `status_key` | `int32` | | ☐ | |
| `status_value` | `string` | | ☐ | |