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

# MessageByApgPensionDeclarationId: Loket.nl REST itgen_loketnl_messagebyapgpensiondeclarationid_plural

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `ApgPensionDeclaration`
- Label: itgen_loketnl_messagebyapgpensiondeclarationid_plural

Download the message of a of an APG pension declaration
__Activity name :__ GetMessageByApgPensionDeclarationId  


Download the message of the APG pension declaration (pensioenaangiftebericht) in xml. Please note that this does NOT refer to the response message, but to the initial message i.e. pensioenaangiftebericht.


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/payrolladministrations/apgpensiondeclarations/{apgPensionDeclarationId}/message`
- Operation: `get /providers/employers/payrolladministrations/apgpensiondeclarations/{apgPensionDeclarationId}/message`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `apgPensionDeclarationId` | `` | [x] |  | The unique identifier of the payroll tax return |

## Table Columns

The columns of the table `MessageByApgPensionDeclarationId` 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 |
|---|---|---|:---:|---|---|
| `DOCUMENT` | `blob` | Document | [ ] |  |  |



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

