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_idoperation_cluster_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| Write licenses | PRODUCTIE |
| Scopes | FLEDGE_PORTAL |
Example requests
A page of rows, with only the fields you need. See Authentication for the token.
curl -G "https://odata-api.fledge.nl/v2-8/OperationClusters" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=operation_cluster_id,maximum_date,minimum_date,debtor_id' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/OperationClusters');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'operation_cluster_id,maximum_date,minimum_date,debtor_id');
url.searchParams.set('$top', '50');
const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();var url = "https://odata-api.fledge.nl/v2-8/OperationClusters" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("operation_cluster_id,maximum_date,minimum_date,debtor_id"),
"$top=" + Uri.EscapeDataString("50"));
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);One row by its key:
GET https://odata-api.fledge.nl/v2-8/OperationClusters(administration_id=1,operation_cluster_id='{operation_cluster_id}')Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
operation_cluster_idkey | String | 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 |