# RelationBranches

> Relatie branches

Subject: Relations.

Relatie branches

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/RelationBranches` |
| Key | `branch_id`, `relation_id`, `sequence` |
| 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/RelationBranches?$select=branch_id,relation_id,sequence,is_main_branch&$top=50
GET https://odata-api.fledge.nl/v2-8/RelationBranches(branch_id='{branch_id}',relation_id={relation_id},sequence={sequence})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `sequence` (key) | Int32, not null | Volgorde |
| `branch_id` (key) | String, not null | Branchekode |
| `relation_id` (key) | Int32 | Relatie |
| `is_main_branch` | Boolean | Hoofd/Sub: Hoofd of sub branche |

## Relations

- `MainBranch` → [MainBranches](https://docs.fledge.nl/en/api/reference/MainBranches.md) (one)
- `Relation` → [Relations](https://docs.fledge.nl/en/api/reference/Relations.md) (one)

---

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