# RelationDocuments

> Relatie documenten

Subject: Relations.

Relatie documenten

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/RelationDocuments` |
| Key | `relation_contact_person_id`, `relation_document_id`, `relation_id` |
| Administration-specific | no |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS, BASISAPP |
| Write licenses | BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/RelationDocuments?$select=relation_contact_person_id,relation_document_id,relation_id,file_name,creation_date,description&$top=50
GET https://odata-api.fledge.nl/v2-8/RelationDocuments(relation_contact_person_id={relation_contact_person_id},relation_document_id={relation_document_id},relation_id={relation_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `relation_id` (key) | Int32, not null | Relatie |
| `relation_contact_person_id` (key) | Int32, not null | Kontaktpers.: Kontakt persoon nummer |
| `relation_document_id` (key) | Int32, not null | Document |
| `user_id` | Int32 | Gebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel |
| `relation_activity_id` | Int32 | Activiteit: Acitiviteiten nummer |
| `relation_address_id` | Int32 | Adresnummer |
| `department_id` | String | Afdelingscode |
| `document_type_id` | Int32 | Documentnummer |
| `is_completed` | Boolean | Afgewerkt |
| `authorization_level` | Int32 | Autorisatieniveau |
| `file_name` | String | Bestandsnaam |
| `attachment` | String | Bijlage |
| `creation_date` | Date | Datum aanmaak |
| `memo` | String | Memo |
| `description` | String | Omschrijving |
| `initials` | String | Paraaf |
| `reference` | String | Referentie |
| `reference_2` | String | Referentie 2 |
| `delivery_method` | Int32 | Verzenden via: Verzending van document via (post, fax, enz) |

---

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