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
| URL | https://odata-api.fledge.nl/v2-8/Employees |
|---|---|
| Key | administration_idemployee_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BEHEERURENPC |
| Write licenses | BASISBASISAPP |
| Scopes | FLEDGE_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
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
employee_idkey | Int32 | Mannummer The employee number (mannummer). |
bank_account | String | Bank-/gironummer: Bank- of gironummer medewerker (evt. IBAN) |
birthday | Date | Geboortedatum medewerker |
blood_type | String | Bloedgroep |
check_in_date | Date | Klokdatum: Datum voor klokhandelingen van de medewerker. |
classification_1 | Int32 | Indeling1 A free grouping (EmployeeGrouping1s) whose meaning the customer decides. |
classification_2 | Int32 | Indeling2 A free grouping (EmployeeGrouping2s) whose meaning the customer decides. |
company_first_aid_number | String | BHV-nummer |
company_first_aid_valid_until | Date | BHV geldig tot |
contract_hours | Decimal | Contracturen: Contractuele uren The contract hours (contractuele uren); the unit and period aren't documented. |
custom_field_1 | String | Vrij veld 1 |
custom_field_10 | String | Vrij veld 18 |
custom_field_11 | String | Vrij veld 19 |
custom_field_12 | String | Vrij veld 2 |
custom_field_13 | String | Vrij veld 20 |
custom_field_14 | String | Vrij veld 3 |
custom_field_15 | String | Vrij veld 4 |
custom_field_16 | String | Vrij veld 5 |
custom_field_17 | String | Vrij veld 6 |
custom_field_18 | String | Vrij veld 7 |
custom_field_19 | String | Vrij veld 8 |
custom_field_2 | String | Vrij veld 10 |
custom_field_20 | String | Vrij veld 9 |
custom_field_3 | String | Vrij veld 11 |
custom_field_4 | String | Vrij veld 12 |
custom_field_5 | String | Vrij veld 13 |
custom_field_6 | String | Vrij veld 14 |
custom_field_7 | String | Vrij veld 15 |
custom_field_8 | String | Vrij veld 16 |
custom_field_9 | String | Vrij veld 17 |
default_operation_id | Int32 | Hoofdbew.: Default hoofdbewerking gekoppeld aan medewerker |
default_order_id | String | Default 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_id | Int32 | Aanwezigheidsschrapnr.: Schrapnummer van aanwezigheidsorder gekoppeld aan de medewerker. |
default_assembly_id | Int32 | Default schrapnummer gekoppeld aan medewerker. |
default_partial_operation_id | Int32 | Subbew.: Default subbewerking gekoppeld aan medewerker. |
direct_contract_hours | Decimal | Directe uren: Aantal directe contracturen The direct (productive) part of the contract hours; unit and period aren't documented. |
drivers_licence_valid_till | Date | Rijbewijs geldig t/m |
drivers_license_number | String | Rijbewijsnummer |
email | String | |
employee_function_id | Int32 | Medewerker functienummer The function (EmployeeFunctions), which holds the hourly rate. An employee has no rate of its own. |
entry_parking_date | Date | Boekdatum parkeer: Boekdatum van de geparkeerde bewerking of cluster |
family_doctor | String | Huisarts |
family_doctor_telephone | String | Tel.huisarts: Telefoon huisarts |
finished_employment_date | Date | Datum uit dienst The date the employee left (datum uit dienst); empty while in service. |
first_aid_number | String | EHBO-nummer |
first_aid_valid_until | Date | EHBO geldig t/m |
first_name | String | Voornaam medewerker |
forklift_certification_number | String | Heftruck certificaat |
forklift_certification_valid_until | Date | Heftruck geldig t/m: Heftruck certificaat geldig t/m |
has_lease_car | Boolean | Lease auto (j/n) |
has_permanent_contract | Boolean | Medewerker is in vaste dienst (J/N) A permanent contract (vaste dienst); not whether the employee is in service. |
has_private_car | Boolean | Privegebruik lease auto (j/n) |
has_started_shift | Boolean | Ingeklokt: Ingeklokdt ja/nee Clocked in right now; current state, not history. |
has_webportal_timesheet | Boolean | Uren boeken via webportal (j/n) |
identification | String | Nummer legitimatiebewijs |
identification_type | String | Legitimatietype |
identification_valid_till | Date | Legitimatie geldig t/m |
initials | String | Voorletters |
insurance | String | Verzekering |
is_employed | Boolean | Status: Geeft aan of medewerker nog steeds in dienst is (ja) of niet True while the employee is in service (in dienst). |
is_machine | Boolean | Medewerker is machine en heeft daardoor een 24/7 urenverwerkingsmodel A machine registered as an employee, with a 24/7 hours model. |
is_team_leader | Boolean | Teamleider (j/n) The employee is a team leader. |
job_level_since | Date | Functie sinds: Begindatum huidige functie |
license_plate | String | Kenteken |
memo | String | Memo |
metaal_unie_number | String | MN-nummer: Metaalunie nummer |
name | String | Achternaam medewerker The surname (achternaam). The full name is first_name, prefix and name. |
attendance_order_header_id | String | Aanwezigheidsordernr: 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_leader | Int32 | Medewerkernummer van teamleider The employee_id of the employee's team leader. |
parked | Boolean | Parkeren: Geeft aan of laatste bewerking geparkeerd moet worden of niet. |
password | String | Password medewerker |
photo | String | Foto |
place_of_birth | String | Geboorteplaats medewerker |
prefix | String | Voorvoegsel |
relation_id | Int32 | Relatie |
remaining_holiday_hours | Decimal | Vakantieuren rest: Resterend aantal vakantieuren Remaining holiday hours; the unit isn't documented. |
safety_pass | String | Veiligheidspas |
safety_pass_valid_till | Date | Veiligheidspas geldig t/m |
search_name | String | Zoeknaam medewerker |
sofi_number | String | Sofinummer medewerker |
started_employment_date | Date | Datum in dienst The date the employee started (datum in dienst). |
suppress_overtime | Boolean | Geeft aan of ov onderdrukt is of niet. Overtime isn't counted for this employee. |
team_id | Int32 | Ploegnummer The current team (ploeg); 0 or empty means none. Its shifts give the work schedule. |
threshold_discount_hours_doctor_visit | Decimal | Drempel artsbezoek: Drempel aftrek artsbezoek (in uren) |
time_for_time_lower_limit | Int32 | TVT ondergrens |
time_for_time_overrun_limit | Decimal | Toeslaggrens TVT (in uren) |
time_for_time_total | Decimal | TVT-stand (in sec.) |
time_for_time_upper_limit | Int32 | TVT bovengrens |
user_id | Int32 | Gebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel The login (Users) of the employee; 0 means none. |
vca_1_certificate_number | String | VCA1-nummer |
vca_1_certificate_valid_till | Date | VCA1 geldig t/m |
vca_2_certificate_number | String | VCA2-nummer |
vca_2_certificate_valid_till | Date | VCA2 geldig t/m |
webportal_password | String | Wachtwoord webportal |
webportal_sign_in_name | String | Gebruikersnaam webportal |
worked_hours_converted | Decimal | Aantal uren overgeheveld (in sec.) |
worked_hours_model | Int32 | Urenverwerkingsmodel van een medewerker
|
worked_hours_parked_id | Int32 | Urennr. geparkeerd: Urennummer van de geparkeerde urenboeking op boekdatum mdwa.mdwa_boekdatum_park |
yearly_holiday_hours | Decimal | Aantal 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.
| Navigation | Entity set | |
|---|---|---|
Administration | Administrations | one |
EmployeeFunction | EmployeeFunctions | one |
EmployeeGrouping1 | EmployeeGrouping1s | one |
EmployeeGrouping2 | EmployeeGrouping2s | one |
MainOperation | MainOperations | one |
Relation | Relations | one |
Team | Teams | one |
User | Users | one |
ApprovedTimesheetLines | ApprovedTimesheetLines | many |
DocumentLinks | DocumentLinks | many |
EmployeeCompetences | EmployeeCompetences | many |
EmployeeOperationLinks | EmployeeOperationLinks | many |
TimesheetEntries | TimesheetEntries | many |
Actions
AttendanceOrder
GET https://odata-api.fledge.nl/v2-8/Employees(administration_id=1,employee_id={employee_id})/AttendanceOrder(…)Returns AttendanceOrderDto