# Employees

> One employee (medewerker) of the administration.

Subject: Hours.

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_id`, `employee_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BEHEER, URENPC |
| Write licenses | BASIS, BASISAPP |
| Scopes | FLEDGE_PORTAL, FLEDGE_TERMINAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/Employees?$filter=administration_id eq 1&$select=employee_id,classification_1,classification_2,contract_hours&$top=50
GET https://odata-api.fledge.nl/v2-8/Employees(administration_id=1,employee_id={employee_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `employee_id` (key) | Int32, not null | 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 | e-mail |
| `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. Values: 0 = Uses the control settings; 1 = Time for time (tijd voor tijd); 2 = Employee is a machine |
| `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

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `EmployeeFunction` → [EmployeeFunctions](https://docs.fledge.nl/en/api/reference/EmployeeFunctions.md) (one)
- `EmployeeGrouping1` → [EmployeeGrouping1s](https://docs.fledge.nl/en/api/reference/EmployeeGrouping1s.md) (one)
- `EmployeeGrouping2` → [EmployeeGrouping2s](https://docs.fledge.nl/en/api/reference/EmployeeGrouping2s.md) (one)
- `MainOperation` → [MainOperations](https://docs.fledge.nl/en/api/reference/MainOperations.md) (one)
- `Relation` → [Relations](https://docs.fledge.nl/en/api/reference/Relations.md) (one)
- `Team` → [Teams](https://docs.fledge.nl/en/api/reference/Teams.md) (one)
- `User` → [Users](https://docs.fledge.nl/en/api/reference/Users.md) (one)
- `ApprovedTimesheetLines` → [ApprovedTimesheetLines](https://docs.fledge.nl/en/api/reference/ApprovedTimesheetLines.md) (many)
- `DocumentLinks` → [DocumentLinks](https://docs.fledge.nl/en/api/reference/DocumentLinks.md) (many)
- `EmployeeCompetences` → [EmployeeCompetences](https://docs.fledge.nl/en/api/reference/EmployeeCompetences.md) (many)
- `EmployeeOperationLinks` → [EmployeeOperationLinks](https://docs.fledge.nl/en/api/reference/EmployeeOperationLinks.md) (many)
- `TimesheetEntries` → [TimesheetEntries](https://docs.fledge.nl/en/api/reference/TimesheetEntries.md) (many)

## Actions

- `GET Employees(administration_id=1,employee_id={employee_id})/AttendanceOrder(…)` — returns AttendanceOrderDto

---

Source: https://docs.fledge.nl/en/api/reference/Employees
