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

# DocumentById: Notubiz itgen_nbz_document_by_id

`read only` `REST`

- Catalog: `Notubiz`
- Schema: `Documents`
- Primary Keys: `document_id`
- Label: itgen_nbz_document_by_id

Can only retrieve data.

## Summary

One document without its file. One request per call; an id Notubiz does not know answers no rows.

## API Source

- Endpoint: `/document/{id}`

## Performance Characteristics

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

## 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 `DocumentById` 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 |
|---|---|---|:---:|---|---|
| `case_code` | `varchar2` | itgen_nbz_case_code | [ ] | filters on the platform, writable | The case code of the organisation. |
| `confidential` | `int32` | itgen_nbz_confidential | [ ] | filters on the platform, writable | 0 for public. |
| `description` | `varchar2` | itgen_nbz_description | [ ] | filters on the platform, writable | The description. |
| `document_id` | `int64` | itgen_nbz_document_id | [x] | filters on the platform, writable | The id of the document; the argument of DocumentFileById. |
| `document_type` | `varchar2` | itgen_nbz_document_type | [ ] | filters on the platform, writable | The kind of document, such as Besluitenlijst. |
| `file_name` | `varchar2` | itgen_nbz_file_name | [ ] | filters on the platform, writable | The name of the file of the current version. |
| `file_size` | `int64` | itgen_nbz_file_size | [ ] | filters on the platform, writable | The size of the file in bytes. |
| `last_modified` | `datetime` | itgen_nbz_last_modified | [ ] | filters on the platform, writable | When the document last changed, UTC. |
| `mime_type` | `varchar2` | itgen_nbz_mime_type | [ ] | filters on the platform, writable | The kind of file, such as application/pdf. |
| `publication_date` | `datetime` | itgen_nbz_publication_date | [ ] | filters on the platform, writable | A date Notubiz names publication date; it is the day of reading for most documents, so it says nothing about when the document was published. |
| `title` | `varchar2` | itgen_nbz_title | [ ] | filters on the platform, writable | The title. |
| `url` | `varchar2` | itgen_nbz_url | [ ] | filters on the platform, writable | Where the file of the current version can be downloaded. |
| `version` | `int32` | itgen_nbz_version | [ ] | filters on the platform, writable | The current version; a changed document gets a higher version. |

