---
title: "AttachmentsByEntityType (Fortnox)"
description: "Vedh\u00E6ftede filer efter enhedstype"
language: da
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/da/datamodels/fortnox/Fortnox.FileAttachments.AttachmentsByEntityType
original: https://documentation.invantive.eu/en/datamodels/fortnox/Fortnox.FileAttachments.AttachmentsByEntityType
updated: 2026-12-05T02:33:46Z
license: https://documentation.invantive.eu/da/
---

# AttachmentsByEntityType: Fortnox Attachments by Entity Type

`read only` `REST`

- Katalog: `Fortnox`
- Skema: `FileAttachments`
- Label: Attachments by Entity Type

Get attached files on an entity

Kan kun hente data.

## API-kilde

- Endepunkt: `/api/fileattachments/attachments-v1`
- Operation: `get /api/fileattachments/attachments-v1`

## Ydeevneegenskaber

| Karakteristika | Værdi |
|---|---:|
| Gennemsnitlig adgangsforsinkelse (ms) | 356 |
| Antal rækker pr. minut ved fuld scanning | 85,000 |
| Antal Query-rækker pr. minut | 168 |

Resultatet kan gemmes i cachen på klienten.

## Parametre

| Navn | Datatype | Krævet | Standard | Dokumentation |
|---|---|:---:|---|---|
| `entitytype` | `` | [x] |  | type of the entities whose attachments should be fetched (Values: OF, O, F, C, LGR_IO, LGR_IG) |
| `financialyear` | `` | [ ] |  | Selects what financial year that should be used (does not work on every table). |
| `financialyeardate` | `` | [ ] |  | Selects by date, what financial year that should be used (does not work on every table). |
| `fromdate` | `` | [ ] |  | Defines a selection based on a start date.Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). |
| `lastmodified` | `` | [ ] |  | Retrieves all records since the provided timestamp (does not work on every table). |
| `todate` | `` | [ ] |  | Defines a selection based on an end date.Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). |

## Tabelkolonner

Tabellens kolonner `AttachmentsByEntityType` er vist nedenfor. Hver kolonne har en SQL-datatype. Der skal til enhver tid angives en ny ikke-null-værdi for hver krævet kolonne under indsætning og opdatering.

| Navn | Datatype | Etiket | Krævet | Mærker | Dokumentation |
|---|---|---|:---:|---|---|
| `entityId` | `int64` | Enheds-ID | [ ] | filtre på platformen, skrivbar, `entityId` |  |
| `entityType` | `varchar2` | Entitetstype | [ ] | filtre på platformen, skrivbar, `entityType` |  |
| `fileId` | `varchar2` | Fil-id | [ ] | filtre på platformen, skrivbar, `fileId` |  |
| `id` | `guid` | ID | [ ] | filtre på platformen, skrivbar, `id` |  |
| `includeOnSend` | `char` | Medtag ved afsendelse | [ ] | filtre på platformen, skrivbar, `includeOnSend` |  |


## Udgivelsesnoter

Hvilke ændringer der er sket i hver udgivelse med hensyn til driverens tabeller, kolonner, attributter og funktioner:

- [Fortnox](/da/release-notes/drivers/fortnox)
