---
title: "AttachmentCountByEntityType (Fortnox)"
description: "Liitteiden lukum\u00E4\u00E4r\u00E4 entiteettityypeitt\u00E4in"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/fortnox/Fortnox.FileAttachments.AttachmentCountByEntityType
original: https://documentation.invantive.eu/en/datamodels/fortnox/Fortnox.FileAttachments.AttachmentCountByEntityType
updated: 2026-12-05T01:41:02Z
license: https://documentation.invantive.eu/fi/
---

# AttachmentCountByEntityType: Fortnox Attachment Count by Entity Type

`read only` `REST`

- Luettelo: `Fortnox`
- Kaavio: `FileAttachments`
- Label: Attachment Count by Entity Type

List number of attachments

Voi hakea vain tietoja.

## API-lähde

- Päätepiste: `/api/fileattachments/attachments-v1/numberofattachments`
- Toiminto: `get /api/fileattachments/attachments-v1/numberofattachments`

## Suorituskykyominaisuudet

| Ominaisuus | Arvo |
|---|---:|
| Keskimääräinen yhteysviive (ms) | 356 |
| Täysskannausrivit minuutissa | 85,000 |
| Query-rivien määrä minuutissa | 168 |

Tulos voidaan tallentaa välimuistiin asiakaspuolella.

## Parametrit

| Nimi | Tietotyyppi | Tarvitaan | Oletus | Dokumentaatio |
|---|---|:---:|---|---|
| `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). |

## Taulukon sarakkeet

Taulukon `AttachmentCountByEntityType` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `entityId` | `int64` | Entiteetin tunniste | [ ] | alustan suodattimet, kirjoitettavissa, `entityId` |  |
| `numberOfAttachments` | `int64` | Liitteiden lukumäärä | [ ] | alustan suodattimet, kirjoitettavissa, `numberOfAttachments` |  |


## Julkaisutiedot

Mitä muutoksia ajurien taulukoissa, sarakkeissa, attribuuteissa ja ominaisuuksissa on tapahtunut kunkin julkaisun yhteydessä:

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