# PlanningOrderHeaders

> Planning orders header

Subject: Planning.

Planning orders header

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/PlanningOrderHeaders?$filter=administration_id eq 1&$select=planning_order_header_id,production_order_header_id,date_valid,description,end_date&$top=50
GET https://odata-api.fledge.nl/v2-8/PlanningOrderHeaders(administration_id=1,planning_order_header_id={planning_order_header_id},production_order_header_id='{production_order_header_id}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `planning_order_header_id` (key) | Int32, not null | Ordernummer |
| `production_order_header_id` (key) | String, not null | Order nummer |
| `date_valid` | Date | Geldig t/m |
| `debtor_id` | Int32 | Debiteurnummer |
| `description` | String | Omschrijving order |
| `end_date` | Date | Einddatum |
| `fixed` | Int32 | Vastgezet |
| `is_finished` | Int32 | Afgewerkt: Status van de order. |
| `is_planned` | Int32 | Gepland |
| `is_simulation` | Boolean | Simulatie order (ja/nee) |
| `planning_priority_id` | Int32 | Prioriteitsnummer |
| `reference` | String | Referentie |
| `source` | Int32 | Bron van de planningsorder. (1 = productieorder; 2 = calculatie). |
| `start_date` | Date | Begindatum |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `PlanningPriority` → [PlanningPriorities](https://docs.fledge.nl/en/api/reference/PlanningPriorities.md) (one)
- `ProductionOrderHeader` → [ProductionOrderHeaders](https://docs.fledge.nl/en/api/reference/ProductionOrderHeaders.md) (one)
- `PlanningOrderAssemblies` → [PlanningOrderAssemblies](https://docs.fledge.nl/en/api/reference/PlanningOrderAssemblies.md) (many)
- `PlanningOrderOperationLinks` → [PlanningOrderOperationLinks](https://docs.fledge.nl/en/api/reference/PlanningOrderOperationLinks.md) (many)
- `PlanningOrderOperations` → [PlanningOrderOperations](https://docs.fledge.nl/en/api/reference/PlanningOrderOperations.md) (many)
- `PlanningPlannedCapacities` → [PlanningPlannedCapacities](https://docs.fledge.nl/en/api/reference/PlanningPlannedCapacities.md) (many)

---

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