# Layouts

> A saved layout for stickers or order confirmations, per administration.

Subject: Documents.

A saved layout for stickers or order confirmations, per administration.

Label in Fledge: Layouts.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/Layouts` |
| Key | `administration_id`, `layout_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS, URENPC |
| Write licenses | BEHEER |
| Scopes | FLEDGE_PORTAL, FLEDGE_TERMINAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/Layouts?$filter=administration_id eq 1&$select=layout_id,description,creation_date,modification_date&$top=50
GET https://odata-api.fledge.nl/v2-8/Layouts(administration_id=1,layout_id={layout_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32, not null | Administratienummer |
| `layout_id` (key) | Int32, not null | Volgnummer |
| `description` | String | Layout beschrijving |
| `configuration` | String | Configuratie: JSON object met lijst die gevuld wordt door frontend |
| `creation_date` | DateTimeOffset | Datumtijd aanmaak |
| `modification_date` | DateTimeOffset | Datumtijd gewijzigd: Datumtijd laatste wijziging |
| `is_favorite` | Boolean | Favoriete layout (1 per type mogelijk) |
| `name` | String | Layout naam |
| `type` | Int32 | Type: Enum met (Article, FreeStock, Location, etc..). Values: 1 = Article stickers; 2 = Free stock stickers; 3 = Location stickers; 4 = Order confirmation |
| `created_by` | Int32 | Gebr.aanmaak: Aangemaakt door gebruiker |
| `modified_by` | Int32 | Gebr.wijzig: Gewijzigd door gebruiker |

---

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