# FreeTableLinks

> The value of a free field (vrije tabel), a field the customer added.

Subject: Documents.

The value of a free field (vrije tabel), a field the customer added. table_name names the field (its definition is in FreeTableDefinitionLinks); key_1 and key_2 are the row. For a sales order key_1 is the order and key_2 empty, for a line key_2 is the line number; a key_1 with a slash is an order confirmation copy.

Label in Fledge: Koppeling vrije tabellen: Koppelingstabel vrije tabellen.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/FreeTableLinks` |
| Key | `administration_id`, `free_table_definitions_id`, `key_1`, `key_2`, `table_name` |
| Administration-specific | yes: always filter on `administration_id` |
| 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/FreeTableLinks?$filter=administration_id eq 1&$select=free_table_definitions_id,key_1,key_2,table_name,value&$top=50
GET https://odata-api.fledge.nl/v2-8/FreeTableLinks(administration_id=1,free_table_definitions_id={free_table_definitions_id},key_1='{key_1}',key_2='{key_2}',table_name='{table_name}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `key_1` (key) | String, not null | Sleutelveld 1 |
| `key_2` (key) | String, not null | Sleutelveld 2 |
| `table_name` (key) | String, not null | Naam van de vrije tabel |
| `free_table_definitions_id` (key) | Int32, not null | Volgnummer |
| `value` | String | Waarde |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `SalesQuotationHeader` → [SalesQuotationHeaders](https://docs.fledge.nl/en/api/reference/SalesQuotationHeaders.md) (one)

---

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