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

URLhttps://odata-api.fledge.nl/v2-8/OperationClusters
Keyadministration_idoperation_cluster_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASIS
Write licensesPRODUCTIE
ScopesFLEDGE_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

FieldTypeDescription
administration_idkeyInt32Administratienummer
operation_cluster_idkeyStringBewerkingsclusternummer
date_createdDateDatum aanmaak bewerkingscluster
maximum_dateDateDatum max.: Grootste datum in bewerkingscluster

The last date of the cluster's operations.

minimum_dateDateDatum min.: Kleinste datum in bewerkingscluster

The first date of the cluster's operations.

date_updatedDateDatum wijziging: Datum laatste wijziging
debtor_idInt32Debiteurnummer

The customer, when the cluster is for one.

total_durationInt32Duut: Totale duur bewerkingscluster

The total time of the cluster; the unit isn't documented.

created_by_user_idInt32Gebruiker aanmaak
updated_by_user_idInt32Gebruiker wijziging
main_operation_idInt32Hoofdbewerkings nummer
descriptionStringOmschrijving
sub_operation_idInt32Subbewerkingsnummer
Wingman