# RelationAddresses

> An address of a relation.

Subject: Relations.

An address of a relation. Which roles it plays (visit, post, delivery, invoice, ...) is not on the address but on RelationAddressTypes. relation_address_id is numbered per relation: join on relation_id and relation_address_id together.

Label in Fledge: Relatie adressen.

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/RelationAddresses?$select=relation_address_id,relation_id,city_1,has_address_or_relation_telephone,house_number&$top=50
GET https://odata-api.fledge.nl/v2-8/RelationAddresses(relation_address_id={relation_address_id},relation_id={relation_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `relation_address_id` (key) | Int32, not null | Adresnummer. Numbered per relation, so not unique on its own. |
| `relation_id` (key) | Int32 | Relatie |
| `area_of_country` | String | Landsdeel |
| `city_1` | String | Plaats. The city. city_2 continues it. |
| `city_2` | String | Plaats |
| `country_code_id` | Int32 | Landkode: verwijzing naar land |
| `delivery_code` | String | Afleverkode |
| `district_id` | Int32 | verwijzing naar tabel rayn (rayon) |
| `email` | String | e-mail |
| `fax_number` | String | Faxnummer |
| `has_address_or_relation_telephone` | Boolean | Eigen nummers: Eigen nummer (telefoon, fax en email) of nummers van prel. Whether the address has its own telephone, fax and email instead of the relation's. |
| `house_number` | Int32 | Straatnummer. The house number, as a number; house_number_addition holds the rest. |
| `house_number_addition` | String | Nummer toevoeging |
| `language_code_id` | Int32 | Taalkode |
| `mailbox` | Boolean | Postbus ja/nee. Whether the address is a PO box (postbus). |
| `postal_code` | String | Eerste deel postcode |
| `route_id` | Int32 | Routekode |
| `sequence` | Int32 | Volgorde |
| `street_name_1` | String | Straat/Postb: Straat. The street. street_name_2 continues it. |
| `street_name_2` | String | Straat |
| `telephone_number` | String | Telefoonnummer |
| `transport_days` | Int32 | Transportdagen |

## Relations

- `CountryCode` → [CountryCodes](https://docs.fledge.nl/en/api/reference/CountryCodes.md) (one)
- `Relation` → [Relations](https://docs.fledge.nl/en/api/reference/Relations.md) (one)
- `Creditors` → [Creditors](https://docs.fledge.nl/en/api/reference/Creditors.md) (many)
- `Debtors` → [Debtors](https://docs.fledge.nl/en/api/reference/Debtors.md) (many)
- `RelationAddressTypes` → [RelationAddressTypes](https://docs.fledge.nl/en/api/reference/RelationAddressTypes.md) (many)

---

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