---
title: "AttachmentCountByEntityType (Fortnox)"
description: "Antal vedh\u00E6ftede filer efter entitetstype"
language: da
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/da/datamodels/fortnox/Fortnox.FileAttachments.AttachmentCountByEntityType
original: https://documentation.invantive.eu/en/datamodels/fortnox/Fortnox.FileAttachments.AttachmentCountByEntityType
updated: 2026-12-04T22:17:22Z
license: https://documentation.invantive.eu/da/
---

# AttachmentCountByEntityType: Fortnox Attachment Count by Entity Type

`read only` `REST`

- Katalog: `Fortnox`
- Skema: `FileAttachments`
- Label: Attachment Count by Entity Type

List number of attachments

Kan kun hente data.

## API-kilde

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

## 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  to look for number of attachments on (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 `AttachmentCountByEntityType` 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` |  |
| `numberOfAttachments` | `int64` | Antal vedhæftede filer | [ ] | filtre på platformen, skrivbar, `numberOfAttachments` |  |


## Udgivelsesnoter

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

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