# PlanningPlannedCapacities

> Geplande capaciteit binnen dag: Planning geplande capaciteit binnen de dag

Subject: Planning.

Geplande capaciteit binnen dag: Planning geplande capaciteit binnen de dag

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/PlanningPlannedCapacities` |
| Key | `administration_id`, `planning_order_header_id`, `planning_order_operation_id`, `planning_planned_capacity_id`, `production_order_assembly_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/PlanningPlannedCapacities?$filter=administration_id eq 1&$select=planning_order_header_id,planning_order_operation_id,planning_planned_capacity_id,production_order_assembly_id,end_date,shift_schedule_date,start_date&$top=50
GET https://odata-api.fledge.nl/v2-8/PlanningPlannedCapacities(administration_id=1,planning_order_header_id={planning_order_header_id},planning_order_operation_id={planning_order_operation_id},planning_planned_capacity_id={planning_planned_capacity_id},production_order_assembly_id={production_order_assembly_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `planning_planned_capacity_id` (key) | Int32, not null | Volgnummer |
| `planning_order_operation_id` (key) | Int32, not null | Bewerkingsnummer |
| `planning_order_header_id` (key) | Int32, not null | Planningsordernummer: Ordernummer van planningsheader |
| `production_order_assembly_id` (key) | Int32, not null | Schrapnummer |
| `capacity` | Int32 | Hoeveelheid capaciteit die door deze plei vertegenwoordigd wordt. |
| `end` | Int32 | Eindtijd abs.: Absolute eindtijd: het aantal seconden dat verstreken is van 01-01-2001 tot aan het eindtijdstip van dit record |
| `end_date` | Date | Einddatum |
| `end_time` | Int32 | Eindtijd bewerkingsinterval (in sec.) |
| `fixed` | Boolean | Geeft aan of het bewerkingsinterval is vastgezet of niet. |
| `is_locked` | Boolean | Gelocked |
| `is_outsourced` | Boolean | Uitbesteding |
| `is_simulation` | Boolean | Simulatie (ja/nee) |
| `is_stacked` | Boolean | Geeft aan of de plei gestapeld is of niet. |
| `main_operation_id` | Int32 | Hoofdbewerkings nummer |
| `operation_sequence` | Int32 | Geleidingsnummer: Bewerkings volgorde |
| `planning_resource_group_id` | Int32 | Resourcegroep |
| `planning_resource_id` | Int32 | Resource |
| `pre_calculation_sub_operation_id` | Int32 | Volgnummer |
| `production_order_header_id` | String | Order nummer |
| `shift_schedule_date` | Date | Schemadatum: Datum van het werkschema waarbinnen deze capaciteit zich bevindt. |
| `start` | Int32 | Begintijd abs.: Absolute begintijd: het aantal seconden dat verstreken is van 01-01-2001 tot aan het begintijdstip van dit record |
| `start_date` | Date | Begindatum |
| `start_time` | Int32 | Begintijd bewerkingsinterval (in sec.) |
| `status` | Int32 | Status (1=actief, 2=niet-actief) |
| `sub_operation_id` | Int32 | Subbewerkingsnummer |
| `type` | Int32 | Type normaal, vast, simulatie, gestapeld, uitbesteding) |
| `units` | Decimal | Het aantal eenheden van de resource. |
| `user_id` | Int32 | Gebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `MainOperation` → [MainOperations](https://docs.fledge.nl/en/api/reference/MainOperations.md) (one)
- `PlanningOrderHeader` → [PlanningOrderHeaders](https://docs.fledge.nl/en/api/reference/PlanningOrderHeaders.md) (one)
- `PlanningResource` → [PlanningResources](https://docs.fledge.nl/en/api/reference/PlanningResources.md) (one)
- `PlanningResourceGroup` → [PlanningResourceGroups](https://docs.fledge.nl/en/api/reference/PlanningResourceGroups.md) (one)
- `PreCalculationSubOperation` → [PreCalculationSubOperations](https://docs.fledge.nl/en/api/reference/PreCalculationSubOperations.md) (one)
- `ProductionOrderAssemblies` → [ProductionOrderAssemblies](https://docs.fledge.nl/en/api/reference/ProductionOrderAssemblies.md) (one)
- `ProductionOrderHeader` → [ProductionOrderHeaders](https://docs.fledge.nl/en/api/reference/ProductionOrderHeaders.md) (one)
- `SubOperation` → [SubOperations](https://docs.fledge.nl/en/api/reference/SubOperations.md) (one)
- `User` → [Users](https://docs.fledge.nl/en/api/reference/Users.md) (one)

---

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