# ApgPensionDeclarationsByPayrollAdministrationId List of APG pension declarations for an administration __Activity name :__ GetApgPensionDeclarationsByPayrollAdministrationId <span style="color:red">========== This endpoint is still under development and cannot be used yet. Subscribe to the newsletter to receive updates. ==========</span> A list of APG pension declarations for an administration Select loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/apgpensiondeclarations Insert loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/apgpensiondeclarations Update loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/apgpensiondeclarations Delete loket.nl (REST) API URL: /providers/employers/payrolladministrations/{payrollAdministrationId}/apgpensiondeclarations Select loket.nl (REST) API Operation: get /providers/employers/payrolladministrations/{payrollAdministrationId}/apgpensiondeclarations - Catalog: `LoketNlRest` - Schema: `ApgPensionDeclaration` - 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 | |---|:---:|:---:|:---:|---| | `payrollAdministrationId` | `guid` | ☑ | | The unique identifier of an administration | ## Columns of Table Function The columns of the table function `ApgPensionDeclarationsByPayrollAdministrationId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `apgPensionDeclarationStatus_key` | `int32` | | ☐ | | | `apgPensionDeclarationStatus_value` | `string` | | ☐ | | | `approvalTime` | `datetime` | | ☐ | The time at which the payroll run was approved by the user | | `approvedBy_formattedName` | `string` | | ☐ | preformated user name for displaying. \<lastname\>\", \"\<initials\>\" \"\<prefix\> | | `approvedBy_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) | | `approvedBy_initials` | `string(6)` | | ☐ | The initials of the user | | `approvedBy_lastName` | `string(25)` | | ☐ | The last name of the user | | `approvedBy_prefix` | `string(10)` | | ☐ | The prefix of the user | | `cancelledBy_formattedName` | `string` | | ☐ | preformated user name for displaying. \<lastname\>\", \"\<initials\>\" \"\<prefix\> | | `cancelledBy_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) | | `cancelledBy_initials` | `string(6)` | | ☐ | The initials of the user | | `cancelledBy_lastName` | `string(25)` | | ☐ | The last name of the user | | `cancelledBy_prefix` | `string(10)` | | ☐ | The prefix of the user | | `cancelledTime` | `datetime` | | ☐ | The time at which the payroll run was Cancelled by the user | | `creationTime` | `datetime` | | ☐ | The time at which the pension message was requested by the user | | `customerGroupNumber` | `int32` | | ☐ | Pension declarations will alway be grouped by its customerGroupNumber (klantgroepnummer). | | `externalParty_key` | `int32` | | ☐ | | | `externalParty_value` | `string` | | ☐ | | | `id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) | | `messageReference` | `string` | | ☐ | The message reference (berichtkenmerk) to recognize the given declaration. | | `methodOfCreation_key` | `int32` | | ☐ | | | `methodOfCreation_value` | `string` | | ☐ | | | `period_periodEndDate` | `datetime` | | ☐ | The end date of the period | | `period_periodId` | `int32` | | ☐ | The periodId of the payroll period. | | `period_periodNumber` | `int32` | | ☐ | The period number of the payroll period for which the pension declaration was created. In case of a yearly tax return this value will be set to 0 | | `period_periodStartDate` | `datetime` | | ☐ | The start date of the period | | `period_periodType_key` | `int32` | | ☐ | | | `period_periodType_value` | `string(50)` | | ☐ | | | `period_year` | `int32` | | ☐ | The year of the period for which the pension declaration was created. | | `removedBy_formattedName` | `string` | | ☐ | preformated user name for displaying. \<lastname\>\", \"\<initials\>\" \"\<prefix\> | | `removedBy_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) | | `removedBy_initials` | `string(6)` | | ☐ | The initials of the user | | `removedBy_lastName` | `string(25)` | | ☐ | The last name of the user | | `removedBy_prefix` | `string(10)` | | ☐ | The prefix of the user | | `removeTime` | `datetime` | | ☐ | The time at which the pay roll run was removed. | | `requestedBy_formattedName` | `string` | | ☐ | preformated user name for displaying. \<lastname\>\", \"\<initials\>\" \"\<prefix\> | | `requestedBy_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) | | `requestedBy_initials` | `string(6)` | | ☐ | The initials of the user | | `requestedBy_lastName` | `string(25)` | | ☐ | The last name of the user | | `requestedBy_prefix` | `string(10)` | | ☐ | The prefix of the user | | `requestTime` | `datetime` | | ☐ | The time at which the run was requested by the user | | `sentTime` | `datetime` | | ☐ | The time at which the pay roll run was sent. | | `withholdingAgentName` | `string` | | ☐ | The withholding agent name (naam inhoudingsplichtige) for this return. |