---
title: "DocumentFileById (Notubiz)"
description: "Soubor dokumentu podle ID"
language: cs
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/cs/datamodels/notubiz/Notubiz.Documents.DocumentFileById
original: https://documentation.invantive.eu/en/datamodels/notubiz/Notubiz.Documents.DocumentFileById
updated: 2026-12-04T04:57:45Z
license: https://documentation.invantive.eu/cs/
---

# DocumentFileById: Notubiz Document File by ID

`read only` `REST`

- Katalog: `Notubiz`
- Schéma: `Documents`
- Primární klíče: `document_id, version`
- Label: Document File by ID

Lze načítat pouze data.

## Shrnutí

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.

## Zdroj API

- Koncový bod: `/document/{id}/{version}`

## Provozní charakteristiky

| Charakteristika | Hodnota |
|---|---:|
| Odhadovaný počet řádků | 1 |
| Průměrná latence přístupu (ms) | 600 |
| Počet řádků při úplném skenování za minutu | 12,000 |
| Počet řádků Query za minutu | 30 |

## Parametry

| Jméno | Datový typ | Vyžadováno | Výchozí | Dokumentace |
|---|---|:---:|---|---|
| `document_id` | `number` | [x] |  | The id of the document. |
| `version` | `number` | [ ] |  | The version; the current one when empty. |

## Sloupce tabulky

Sloupce tabulky `DocumentFileById` jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).

| Jméno | Datový typ | Štítek | Vyžadováno | Značky | Dokumentace |
|---|---|---|:---:|---|---|
| `contents` | `blob` | itgen_nbz_contents | [ ] | filtry na platformě, zapisovatelné | The file. |
| `document_id` | `int64` | itgen_nbz_document_id | [x] | filtry na platformě, zapisovatelné | The document. |
| `file_name` | `varchar2` | itgen_nbz_file_name | [ ] | filtry na platformě, zapisovatelné | The name of the file. |
| `file_size` | `int64` | itgen_nbz_file_size | [ ] | filtry na platformě, zapisovatelné | The size in bytes. |
| `mime_type` | `varchar2` | itgen_nbz_mime_type | [ ] | filtry na platformě, zapisovatelné | The kind of file. |
| `version` | `int32` | itgen_nbz_version | [x] | filtry na platformě, zapisovatelné | The version. |
