# MessageByApgPensionDeclarationId Download the message of a of an APG pension declaration __Activity name :__ GetMessageByApgPensionDeclarationId <span style="color:red">========== This endpoint is still under development and cannot be used yet. Subscribe to the newsletter to receive updates. ==========</span> 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. Select loket.nl (REST) API URL: /providers/employers/payrolladministrations/apgpensiondeclarations/{apgPensionDeclarationId}/message Insert loket.nl (REST) API URL: /providers/employers/payrolladministrations/apgpensiondeclarations/{apgPensionDeclarationId}/message Update loket.nl (REST) API URL: /providers/employers/payrolladministrations/apgpensiondeclarations/{apgPensionDeclarationId}/message Delete loket.nl (REST) API URL: /providers/employers/payrolladministrations/apgpensiondeclarations/{apgPensionDeclarationId}/message Select loket.nl (REST) API Operation: get /providers/employers/payrolladministrations/apgpensiondeclarations/{apgPensionDeclarationId}/message - Catalog: `LoketNlRest` - Schema: `ApgPensionDeclaration` - 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 | |---|:---:|:---:|:---:|---| | `apgPensionDeclarationId` | `guid` | ☑ | | The unique identifier of the payroll tax return | ## Columns of Table Function The columns of the table function `MessageByApgPensionDeclarationId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `DOCUMENT` | `byte[]` | | ☐ | |