An operation (bewerking) within a main operation; sub_operation_id is its code, 1 to 99 within the main operation, never changed. Screens print main and sub code together, such as 0712.

Label in Fledge: Subbewerkingen

URLhttps://odata-api.fledge.nl/v2-8/SubOperations
Keyadministration_idmain_operation_idsub_operation_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISBASISAPPURENPC
Write licensesPRODUCTIEBEHEER
ScopesFLEDGE_PORTALFLEDGE_TERMINAL

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/SubOperations" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=main_operation_id,sub_operation_id,active,billing_rate,setup_operation' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/SubOperations');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'main_operation_id,sub_operation_id,active,billing_rate,setup_operation');
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/SubOperations" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("main_operation_id,sub_operation_id,active,billing_rate,setup_operation"),
    "$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/SubOperations(administration_id=1,main_operation_id={main_operation_id},sub_operation_id={sub_operation_id})

Fields

FieldTypeDescription
administration_idkeyInt32Administratie
main_operation_idkeyInt32Hoofdbewerkingsnummer
sub_operation_idkeyInt32Subbewerkingsnummer
activeBooleanGeeft aan of de bewerking nog actief (courant) is.

False when archived (gearchiveerd). An archived operation can't be booked on any more, but can have older bookings.

billing_rateDecimalDeclarabel tarief

The hourly rate charged (declaratieprijs); on MainOperations the same is billable_rate.

can_be_unmannedBooleanGeeft aan of een machine onbemand kan draaien.
codeStringBewerkingscode bestaande uit hoofdbewerking x(2) + subbewerking x(2).
commercial_rateDecimalTarief commercieel: Commercieel tarief
cost_operations_post_calculationDecimalKostprijstarief
cost_operations_pre_calculationDecimalCalculatietarief
descriptionStringOmschrijving
early_or_lateBooleanReden vl: Geeft aan of de subbewerking gebruikt moet worden als reden te vroeg/laat bij klokken met Benzingterminals. Alleen van toepassing als de uursoort 'Afwezig' is.
is_day_ofBooleanBewerking is snipperuur (J/N)
is_doctors_visitBooleanBewerking geldt als artsbezoek (J/N)
is_due_to_illnessBooleanZiekte uur: Bewerking geldt als ziekte (J/N)
is_man_hoursBooleanGeeft aan of uren geboekt op deze bewerking altijd manuren zijn of dat ze evt niet meedoen om aan ov te ontkomen.
is_travelBooleanBewerking geldt als reisuur (J/N)
maximum_units_planningInt32Max. eenheden: Maximaal aantal eenheden planning
outsourcedBooleanUitbesteding (ja/nee)
planning_thresholdInt32Planningsdrempel. Bij plannen tegen beschikbare cap. worden gaten die kleiner zijn dan de planningsdrempel niet opgevuld.
production_code_idInt32Produktiecodenummer
resource_idInt32Resource
setup_operationBooleanInstelbewerking

A set-up operation (instelbewerking); SubOperationLinks names the operations it prepares.

setup_operation_factor_planningInt32Instelfactor voor planning. Als de verhouding van bewerkingstijd/insteltijd beneden deze factor ligt, dan niet verdelen over meerdere resources.
startupInt32Aanloop
time_remainingBooleanGeeft aan of voor de bewerking tijdens het urenboeken om geschatte resttijd gevraagd moet worden of niet.
typeInt32Bewerkingssoort: Soort subbewerking: productief/ niet-productief/ afwezig /reisuren
  • 1 Productive
  • 2 Not productive
  • 3 Absent
  • 4 Travel
  • 5 Present
weighting_percentageInt32Wegingsfactor subbewerking
wind_downInt32Afloop

Relations

Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.

NavigationEntity set
AdministrationAdministrationsone
MainOperationMainOperationsone
PlanningResourcePlanningResourcesone
ProductionCodeProductionCodesone
EmployeeCompetencesEmployeeCompetencesmany
EmployeeOperationLinksEmployeeOperationLinksmany
PlanningOrderOperationsPlanningOrderOperationsmany
PlanningPlannedCapacitiesPlanningPlannedCapacitiesmany
PreCalculationSubOperationsPreCalculationSubOperationsmany
SubOperationLinksSubOperationLinksmany
Wingman