One employee (medewerker) of the administration. Every employee is also a Relation (the person and address record). A machine can be registered as an employee too (is_machine).

Label in Fledge: Medewerkers

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

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
employee_idkeyInt32Mannummer

The employee number (mannummer).

bank_accountStringBank-/gironummer: Bank- of gironummer medewerker (evt. IBAN)
birthdayDateGeboortedatum medewerker
blood_typeStringBloedgroep
check_in_dateDateKlokdatum: Datum voor klokhandelingen van de medewerker.
classification_1Int32Indeling1

A free grouping (EmployeeGrouping1s) whose meaning the customer decides.

classification_2Int32Indeling2

A free grouping (EmployeeGrouping2s) whose meaning the customer decides.

company_first_aid_numberStringBHV-nummer
company_first_aid_valid_untilDateBHV geldig tot
contract_hoursDecimalContracturen: Contractuele uren

The contract hours (contractuele uren); the unit and period aren't documented.

custom_field_1StringVrij veld 1
custom_field_10StringVrij veld 18
custom_field_11StringVrij veld 19
custom_field_12StringVrij veld 2
custom_field_13StringVrij veld 20
custom_field_14StringVrij veld 3
custom_field_15StringVrij veld 4
custom_field_16StringVrij veld 5
custom_field_17StringVrij veld 6
custom_field_18StringVrij veld 7
custom_field_19StringVrij veld 8
custom_field_2StringVrij veld 10
custom_field_20StringVrij veld 9
custom_field_3StringVrij veld 11
custom_field_4StringVrij veld 12
custom_field_5StringVrij veld 13
custom_field_6StringVrij veld 14
custom_field_7StringVrij veld 15
custom_field_8StringVrij veld 16
custom_field_9StringVrij veld 17
default_operation_idInt32Hoofdbew.: Default hoofdbewerking gekoppeld aan medewerker
default_order_idStringDefault ordernummer gekoppeld aan de medewerker.

The employee's default order, with default_assembly_id, default_operation_id and default_partial_operation_id (main and sub operation), set on the user profile page Urenregistratie.

attendance_order_assembly_idInt32Aanwezigheidsschrapnr.: Schrapnummer van aanwezigheidsorder gekoppeld aan de medewerker.
default_assembly_idInt32Default schrapnummer gekoppeld aan medewerker.
default_partial_operation_idInt32Subbew.: Default subbewerking gekoppeld aan medewerker.
direct_contract_hoursDecimalDirecte uren: Aantal directe contracturen

The direct (productive) part of the contract hours; unit and period aren't documented.

drivers_licence_valid_tillDateRijbewijs geldig t/m
drivers_license_numberStringRijbewijsnummer
emailStringe-mail
employee_function_idInt32Medewerker functienummer

The function (EmployeeFunctions), which holds the hourly rate. An employee has no rate of its own.

entry_parking_dateDateBoekdatum parkeer: Boekdatum van de geparkeerde bewerking of cluster
family_doctorStringHuisarts
family_doctor_telephoneStringTel.huisarts: Telefoon huisarts
finished_employment_dateDateDatum uit dienst

The date the employee left (datum uit dienst); empty while in service.

first_aid_numberStringEHBO-nummer
first_aid_valid_untilDateEHBO geldig t/m
first_nameStringVoornaam medewerker
forklift_certification_numberStringHeftruck certificaat
forklift_certification_valid_untilDateHeftruck geldig t/m: Heftruck certificaat geldig t/m
has_lease_carBooleanLease auto (j/n)
has_permanent_contractBooleanMedewerker is in vaste dienst (J/N)

A permanent contract (vaste dienst); not whether the employee is in service.

has_private_carBooleanPrivegebruik lease auto (j/n)
has_started_shiftBooleanIngeklokt: Ingeklokdt ja/nee

Clocked in right now; current state, not history.

has_webportal_timesheetBooleanUren boeken via webportal (j/n)
identificationStringNummer legitimatiebewijs
identification_typeStringLegitimatietype
identification_valid_tillDateLegitimatie geldig t/m
initialsStringVoorletters
insuranceStringVerzekering
is_employedBooleanStatus: Geeft aan of medewerker nog steeds in dienst is (ja) of niet

True while the employee is in service (in dienst).

is_machineBooleanMedewerker is machine en heeft daardoor een 24/7 urenverwerkingsmodel

A machine registered as an employee, with a 24/7 hours model.

is_team_leaderBooleanTeamleider (j/n)

The employee is a team leader.

job_level_sinceDateFunctie sinds: Begindatum huidige functie
license_plateStringKenteken
memoStringMemo
metaal_unie_numberStringMN-nummer: Metaalunie nummer
nameStringAchternaam medewerker

The surname (achternaam). The full name is first_name, prefix and name.

attendance_order_header_idStringAanwezigheidsordernr: Aanwezigheidsordernummer gekoppeld aan medewerker

The employee's own presence order, with attendance_order_assembly_id; empty or not existing means the administration's order (setting order-klok-inuitklok-order). The operation always comes from the setting.

parent_team_leaderInt32Medewerkernummer van teamleider

The employee_id of the employee's team leader.

parkedBooleanParkeren: Geeft aan of laatste bewerking geparkeerd moet worden of niet.
passwordStringPassword medewerker
photoStringFoto
place_of_birthStringGeboorteplaats medewerker
prefixStringVoorvoegsel
relation_idInt32Relatie
remaining_holiday_hoursDecimalVakantieuren rest: Resterend aantal vakantieuren

Remaining holiday hours; the unit isn't documented.

safety_passStringVeiligheidspas
safety_pass_valid_tillDateVeiligheidspas geldig t/m
search_nameStringZoeknaam medewerker
sofi_numberStringSofinummer medewerker
started_employment_dateDateDatum in dienst

The date the employee started (datum in dienst).

suppress_overtimeBooleanGeeft aan of ov onderdrukt is of niet.

Overtime isn't counted for this employee.

team_idInt32Ploegnummer

The current team (ploeg); 0 or empty means none. Its shifts give the work schedule.

threshold_discount_hours_doctor_visitDecimalDrempel artsbezoek: Drempel aftrek artsbezoek (in uren)
time_for_time_lower_limitInt32TVT ondergrens
time_for_time_overrun_limitDecimalToeslaggrens TVT (in uren)
time_for_time_totalDecimalTVT-stand (in sec.)
time_for_time_upper_limitInt32TVT bovengrens
user_idInt32Gebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel

The login (Users) of the employee; 0 means none.

vca_1_certificate_numberStringVCA1-nummer
vca_1_certificate_valid_tillDateVCA1 geldig t/m
vca_2_certificate_numberStringVCA2-nummer
vca_2_certificate_valid_tillDateVCA2 geldig t/m
webportal_passwordStringWachtwoord webportal
webportal_sign_in_nameStringGebruikersnaam webportal
worked_hours_convertedDecimalAantal uren overgeheveld (in sec.)
worked_hours_modelInt32Urenverwerkingsmodel van een medewerker
  • 0 Uses the control settings
  • 1 Time for time (tijd voor tijd)
  • 2 Employee is a machine
worked_hours_parked_idInt32Urennr. geparkeerd: Urennummer van de geparkeerde urenboeking op boekdatum mdwa.mdwa_boekdatum_park
yearly_holiday_hoursDecimalAantal vakantieuren per jaar (in uren)

Holiday hours per year, in hours.

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
EmployeeFunctionEmployeeFunctionsone
EmployeeGrouping1EmployeeGrouping1sone
EmployeeGrouping2EmployeeGrouping2sone
MainOperationMainOperationsone
RelationRelationsone
TeamTeamsone
UserUsersone
ApprovedTimesheetLinesApprovedTimesheetLinesmany
DocumentLinksDocumentLinksmany
EmployeeCompetencesEmployeeCompetencesmany
EmployeeOperationLinksEmployeeOperationLinksmany
TimesheetEntriesTimesheetEntriesmany

Actions

AttendanceOrder

GET https://odata-api.fledge.nl/v2-8/Employees(administration_id=1,employee_id={employee_id})/AttendanceOrder(…)

Returns AttendanceOrderDto

Wingman