# DeclarationsWithAttachmentByEmployerId Get a list of declarations with attachment __Activity name :__ GetDeclarationsWithAttachmentByEmployerId Get a list of all declarationId's of declarations that have an attachment to it. The attachment is stored in Qwoater, and thus on the background a call to Qwoater will be performed to check whether an attachment is available for a declaration. If an attachment is available then a call may be performed to the other endpoint to actually start downloading the attachment for this declaration. Select loket.nl (REST) API URL: /providers/employers/{employerId}/employees/employments/declarations/withattachment Insert loket.nl (REST) API URL: /providers/employers/{employerId}/employees/employments/declarations/withattachment Update loket.nl (REST) API URL: /providers/employers/{employerId}/employees/employments/declarations/withattachment Delete loket.nl (REST) API URL: /providers/employers/{employerId}/employees/employments/declarations/withattachment Select loket.nl (REST) API Operation: get /providers/employers/{employerId}/employees/employments/declarations/withattachment - Catalog: `LoketNlRest` - Schema: `DeclarationsAttachments` - 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 | |---|:---:|:---:|:---:|---| | `employerId` | `guid` | ☑ | | The unique identifier of the employer | ## Columns of Table Function The columns of the table function `DeclarationsWithAttachmentByEmployerId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `declarationId` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |