# RelationActivities

> Relatie activiteiten

Subject: Relations.

Relatie activiteiten

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/RelationActivities?$select=relation_activity_id,relation_contact_person_id,relation_id,date_created,date_todo,description&$top=50
GET https://odata-api.fledge.nl/v2-8/RelationActivities(relation_activity_id={relation_activity_id},relation_contact_person_id={relation_contact_person_id},relation_id={relation_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `relation_activity_id` (key) | Int32, not null | Activiteit: Acitiviteiten nummer |
| `relation_contact_person_id` (key) | Int32, not null | Kontaktpers.: Kontakt persoon nummer |
| `relation_id` (key) | Int32, not null | Relatie |
| `completed` | Boolean | Afgewerkt |
| `date_created` | Date | Datum aangemaakt |
| `date_todo` | Date | Datum ToDo |
| `department_id` | String | Afdelingscode |
| `description` | String | Omschrijving |
| `info` | String | Memo veld |
| `initials` | String | Initialen |
| `month_finished` | Int32 | Maand afgewerkt |
| `month_planned` | Int32 | Maand planning: Maand gepland |
| `priority` | Int32 | Prioriteit |
| `reference` | String | Referentie |
| `relation_activity_status_id` | String | Statuscode |
| `time_created` | Int32 | Tijd aangemaakt |
| `time_todo` | Int32 | Tijd ToDo |
| `type` | Int32 | Type activiteit |
| `user_id` | Int32 | Gebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel |
| `user_todo` | Int32 | Gebruikernummer voor wie de activeit gepland is |
| `week_finished` | Int32 | Week afgewerkt |
| `week_planned` | Int32 | Week gepland |

## Relations

- `DocumentLinks` → [DocumentLinks](https://docs.fledge.nl/en/api/reference/DocumentLinks.md) (many)

---

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