# DocumentCategoryLinks

> Puts a document in a category; a document can be in several.

Subject: Documents.

Puts a document in a category; a document can be in several.

Label in Fledge: Koppeling document met documentcategorie.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/DocumentCategoryLinks` |
| Key | `administration_id`, `document_category_id`, `document_registration_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS, URENPC |
| Write licenses | BASIS |
| Scopes | FLEDGE_PORTAL, FLEDGE_TERMINAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/DocumentCategoryLinks?$filter=administration_id eq 1&$select=document_category_id,document_registration_id,creation_date&$top=50
GET https://odata-api.fledge.nl/v2-8/DocumentCategoryLinks(administration_id=1,document_category_id='{document_category_id}',document_registration_id={document_registration_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `document_category_id` (key) | String | Documentcategorie code |
| `document_registration_id` (key) | Int32, not null | Nummer |
| `created_by` | Int32 | Gebruiker aanmaak |
| `creation_date` | Date | Datum aanmaak |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `DocumentCategory` → [DocumentCategories](https://docs.fledge.nl/en/api/reference/DocumentCategories.md) (one)
- `DocumentRegistration` → [DocumentRegistrations](https://docs.fledge.nl/en/api/reference/DocumentRegistrations.md) (one)

---

Source: https://docs.fledge.nl/en/api/reference/DocumentCategoryLinks
