---
title: "DocumentPdfById (Open Besluitvorming)"
description: "Document PDF by ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/openbesluitvorming/OpenBesluitvorming.Files.DocumentPdfById
original: https://documentation.invantive.eu/en/datamodels/openbesluitvorming/OpenBesluitvorming.Files.DocumentPdfById
updated: 2026-11-06T16:29:41Z
license: https://documentation.invantive.eu/en/
---

# DocumentPdfById: Open Besluitvorming Document PDF by ID

`read only` `REST`

- Catalog: `OpenBesluitvorming`
- Schema: `Files`
- Primary Keys: `entity_id`
- Label: Document PDF by ID

Can only retrieve data.

## Summary

The file of one document, mostly a PDF. Fetched once per machine and then answered from the shared disk cache, since a stored file does not change under its address. A file withdrawn later at the source can stay in that cache. One request per call; a removed or unknown id answers no rows.

## API Source

- Endpoint: `/api/entities`

## Performance Characteristics

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

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `entity_id` | `varchar2` | [x] |  | The id of the document, such as an entity_id of the schema Export or of SearchResults. |

## Table Columns

The columns of the table `DocumentPdfById` 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 |
|---|---|---|:---:|---|---|
| `content_type` | `varchar2` | Content Type | [ ] | filters on the platform, writable | The kind of file. |
| `contents` | `blob` | Contents | [ ] | filters on the platform, writable | The file. |
| `entity_id` | `varchar2` | ID | [x] | filters on the platform, writable | The document. |
| `file_name` | `varchar2` | File Name | [ ] | filters on the platform, writable | The name of the file. |
| `file_url` | `varchar2` | File URL | [ ] | filters on the platform, writable | Where the file was read from. |
| `size_bytes` | `int64` | Size (Bytes) | [ ] | filters on the platform, writable | The size in bytes. |

