---
title: "DocumentFileById (Notubiz)"
description: "Dokumentfil efter ID"
language: sv
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/sv/datamodels/notubiz/Notubiz.Documents.DocumentFileById
original: https://documentation.invantive.eu/en/datamodels/notubiz/Notubiz.Documents.DocumentFileById
updated: 2026-12-04T07:24:05Z
license: https://documentation.invantive.eu/sv/
---

# DocumentFileById: Notubiz Document File by ID

`read only` `REST`

- Katalog: `Notubiz`
- Schema: `Documents`
- Primärnycklar: `document_id, version`
- Label: Document File by ID

Kan endast hämta data.

## Sammanfattning

The file of one version of a document, mostly a PDF. Fetched once per machine and then answered from the shared disk cache, since a changed document gets a new version: two requests the first time, one afterwards. One request per call; an id Notubiz does not know answers no rows.

## API-källa

- Slutpunkt: `/document/{id}/{version}`

## Prestandakarakteristika

| Egenskap | Värde |
|---|---:|
| Uppskattat antal rader | 1 |
| Genomsnittlig åtkomstfördröjning (ms) | 600 |
| Antal rader per minut vid fullskanning | 12,000 |
| Antal rader per minut i punktfrågor | 30 |

## Parametrar

| Namn | Datatyp | Nödvändigt | Standard | Dokumentation |
|---|---|:---:|---|---|
| `document_id` | `number` | [x] |  | The id of the document. |
| `version` | `number` | [ ] |  | The version; the current one when empty. |

## Tabellkolumner

Tabellens kolumner `DocumentFileById` visas nedan. Varje kolumn har en SQL-datatyp. Ett nytt värde som inte är null måste alltid anges för varje obligatorisk kolumn vid insättning och uppdatering.

| Namn | Datatyp | Etikett | Nödvändigt | Betyg | Dokumentation |
|---|---|---|:---:|---|---|
| `contents` | `blob` | itgen_nbz_contents | [ ] | filtreras på plattformen, skrivbar | The file. |
| `document_id` | `int64` | itgen_nbz_document_id | [x] | filtreras på plattformen, skrivbar | The document. |
| `file_name` | `varchar2` | itgen_nbz_file_name | [ ] | filtreras på plattformen, skrivbar | The name of the file. |
| `file_size` | `int64` | itgen_nbz_file_size | [ ] | filtreras på plattformen, skrivbar | Storleken i byte. |
| `mime_type` | `varchar2` | itgen_nbz_mime_type | [ ] | filtreras på plattformen, skrivbar | The kind of file. |
| `version` | `int32` | itgen_nbz_version | [x] | filtreras på plattformen, skrivbar | The version. |
