---
title: "DocumentFileById (Notubiz)"
description: "ID \u306B\u3088\u308B\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u30D5\u30A1\u30A4\u30EB"
language: ja
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/ja/datamodels/notubiz/Notubiz.Documents.DocumentFileById
original: https://documentation.invantive.eu/en/datamodels/notubiz/Notubiz.Documents.DocumentFileById
updated: 2026-12-04T06:03:10Z
license: https://documentation.invantive.eu/ja/
---

# DocumentFileById: Notubiz Document File by ID

`read only` `REST`

- カタログ：`Notubiz`
- スキーマ: `Documents`
- 主キー：`document_id, version`
- Label: Document File by ID

データの取得のみ可能です。

## 概要

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ソース

- エンドポイント: `/document/{id}/{version}`

## 性能特性

| 特徴 | 値 |
|---|---:|
| 推定行数 | 1 |
| 平均アクセス遅延（ms） | 600 |
| 全件スキャンの毎分行数 | 12,000 |
| ポイントクエリの毎分行数 | 30 |

## パラメータ

| 名前 | データ型 | 必須 | デフォルト | ドキュメント |
|---|---|:---:|---|---|
| `document_id` | `number` | [x] |  | The id of the document. |
| `version` | `number` | [ ] |  | The version; the current one when empty. |

## 表の列

テーブル `DocumentFileById` の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `contents` | `blob` | itgen_nbz_contents | [ ] | プラットフォーム上でフィルタ可能、書き込み可能 | The file. |
| `document_id` | `int64` | itgen_nbz_document_id | [x] | プラットフォーム上でフィルタ可能、書き込み可能 | The document. |
| `file_name` | `varchar2` | itgen_nbz_file_name | [ ] | プラットフォーム上でフィルタ可能、書き込み可能 | The name of the file. |
| `file_size` | `int64` | itgen_nbz_file_size | [ ] | プラットフォーム上でフィルタ可能、書き込み可能 | The size in bytes. |
| `mime_type` | `varchar2` | itgen_nbz_mime_type | [ ] | プラットフォーム上でフィルタ可能、書き込み可能 | The kind of file. |
| `version` | `int32` | itgen_nbz_version | [x] | プラットフォーム上でフィルタ可能、書き込み可能 | The version. |
