---
title: "DocumentVersionsById (Notubiz)"
description: "itgen_nbz_document_versions_by_id"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/notubiz/Notubiz.Documents.DocumentVersionsById
original: https://documentation.invantive.eu/en/datamodels/notubiz/Notubiz.Documents.DocumentVersionsById
updated: 2026-11-23T21:53:00Z
license: https://documentation.invantive.eu/en/
---

# DocumentVersionsById: Notubiz itgen_nbz_document_versions_by_id

`read only` `REST`

- Catalog: `Notubiz`
- Schema: `Documents`
- Primary Keys: `document_id, version`
- Label: itgen_nbz_document_versions_by_id

Can only retrieve data.

## Summary

The versions of one document; every version can be read with DocumentFileById. One request per call; an id Notubiz does not know answers no rows.

## API Source

- Endpoint: `/document/{id}`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Estimated rows | 2 |
| Average access latency (ms) | 180 |
| Full scan rows per minute | 12,000 |
| Point query rows per minute | 120 |

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `document_id` | `number` | [x] |  | The id of the document, such as a document_id of AgendaItemDocuments. |

## Table Columns

The columns of the table `DocumentVersionsById` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `document_id` | `int64` | itgen_nbz_document_id | [x] | filters on the platform, writable | The document. |
| `file_name` | `varchar2` | itgen_nbz_file_name | [ ] | filters on the platform, writable | The name of the file. |
| `file_size` | `int64` | itgen_nbz_file_size | [ ] | filters on the platform, writable | The size in bytes. |
| `is_current` | `char` | itgen_nbz_is_current | [x] | filters on the platform, writable | Whether it is the current version. |
| `mime_type` | `varchar2` | itgen_nbz_mime_type | [ ] | filters on the platform, writable | The kind of file. |
| `type` | `varchar2` | itgen_nbz_type | [ ] | filters on the platform, writable | file for a file. |
| `version` | `int32` | itgen_nbz_version | [x] | filters on the platform, writable | The version. |

