A job function (medewerkerfunctie) with its hourly rate. Every employee has one function; the rate of an employee is the rate of its function.

Label in Fledge: Medewerker functies

URLhttps://odata-api.fledge.nl/v2-8/EmployeeFunctions
Keyadministration_idemployee_function_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASIS
Write licensesFINANCIEELBEHEER
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/EmployeeFunctions" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=employee_function_id,default_main_operation,default_sub_operation,hourly_rate' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/EmployeeFunctions');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'employee_function_id,default_main_operation,default_sub_operation,hourly_rate');
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/EmployeeFunctions" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("employee_function_id,default_main_operation,default_sub_operation,hourly_rate"),
    "$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/EmployeeFunctions(administration_id=1,employee_function_id={employee_function_id})

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
employee_function_idkeyInt32Medewerker functienummer
default_main_operationInt32Default hoofdbew.: Default hoofdbewerking, gekoppeld aan de medewerkerfunctie.

The main operation booked by default for this function.

default_production_order_assemblyInt32Default schrapnummer gekoppeld aan medewerkerfunctie
default_production_order_headerStringDefault ordernummer gekoppeld aan medewerkerfunctie
default_sub_operationInt32Default Subbew.: Default subbewerking gekoppeld aan de medewerkerfunctie.

The sub operation booked by default for this function.

descriptionStringFunctie omschrijving: Omschrijving functie
hourly_rateDecimalUurtarief medewerker

The hourly rate of the function (uurtarief). Bookings keep a copy of it when they are made.

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
Wingman