# OperationClusters

> One operation cluster (bewerkingscluster): operations of several production orders that are done together.

Subject: Planning.

One operation cluster (bewerkingscluster): operations of several production orders that are done together. Made in the old ERP. Its operations are the PreCalculationSubOperations with this operation_cluster_id, ordered by cluster_sequence; there is no navigation.

Label in Fledge: Bewerkingsclusters.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/OperationClusters` |
| Key | `administration_id`, `operation_cluster_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/OperationClusters?$filter=administration_id eq 1&$select=operation_cluster_id,maximum_date,minimum_date,debtor_id&$top=50
GET https://odata-api.fledge.nl/v2-8/OperationClusters(administration_id=1,operation_cluster_id='{operation_cluster_id}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32, not null | Administratienummer |
| `operation_cluster_id` (key) | String, not null | Bewerkingsclusternummer |
| `date_created` | Date | Datum aanmaak bewerkingscluster |
| `maximum_date` | Date | Datum max.: Grootste datum in bewerkingscluster. The last date of the cluster's operations. |
| `minimum_date` | Date | Datum min.: Kleinste datum in bewerkingscluster. The first date of the cluster's operations. |
| `date_updated` | Date | Datum wijziging: Datum laatste wijziging |
| `debtor_id` | Int32 | Debiteurnummer. The customer, when the cluster is for one. |
| `total_duration` | Int32 | Duut: Totale duur bewerkingscluster. The total time of the cluster; the unit isn't documented. |
| `created_by_user_id` | Int32 | Gebruiker aanmaak |
| `updated_by_user_id` | Int32 | Gebruiker wijziging |
| `main_operation_id` | Int32 | Hoofdbewerkings nummer |
| `description` | String | Omschrijving |
| `sub_operation_id` | Int32 | Subbewerkingsnummer |

---

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