ModuleItemDocuments: Notubiz itgen_nbz_module_item_documents
read only per partition REST
- Catalog:
Notubiz - Schema:
Modules - Primary Keys:
module_item_id, document_id - Label: itgen_nbz_module_item_documents
Can only retrieve data.
Summary
The documents of the entries of the registers. The file is DocumentFileById. Read per register in slices of 500 entries by id: a register of 10 000 entries takes 20 requests. A filter on module_id, on id or on main_date is passed to Notubiz. One request per selected organisation; narrow it with use, for instance use 1550@nbz.
API Source
- Endpoint:
/modules/{module}/items
Performance Characteristics
| Characteristic | Value |
|---|---|
| Estimated rows | 1,000,000 |
| Average access latency (ms) | 3,000 |
| Full scan rows per minute | 10,000 |
| Point query rows per minute | 60 |
Table Columns
The columns of the table ModuleItemDocuments 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_ |
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_ |
int64 |
itgen_nbz_document_id | filters on the platform, writable | The id of the document; the argument of DocumentFileById. | |
document_ |
varchar2 |
itgen_nbz_document_type | filters on the platform, writable | The kind of document, such as Besluitenlijst. | |
field_ |
int64 |
itgen_nbz_field_id | filters on the platform, writable | The field holding the document; empty for an attachment. | |
file_ |
varchar2 |
itgen_nbz_file_name | filters on the platform, writable | The name of the file of the current version. | |
file_ |
int64 |
itgen_nbz_file_size | filters on the platform, writable | The size of the file in bytes. | |
last_ |
datetime |
itgen_nbz_last_modified | filters on the platform, writable | When the document last changed, UTC. | |
mime_ |
varchar2 |
itgen_nbz_mime_type | filters on the platform, writable | The kind of file, such as application/pdf. | |
module_ |
int64 |
itgen_nbz_module_id | filters on the platform, writable | The register. | |
module_ |
int64 |
itgen_nbz_module_item_id | filters on the platform, writable | The entry. | |
organisation_ |
int64 |
itgen_nbz_organisation_id | filters on the platform, writable | The organisation. | |
publication_ |
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. |
Keys
| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
Module |
module_ |
ModuleItems.id |
Key |