Register innehållande samtliga anställda i företaget.
Field |
In response |
POST |
PUT |
Validation POST / PUT |
Filter |
Numeric <,>,between |
Sort |
||||
---|---|---|---|---|---|---|---|---|---|---|---|
id |
X |
|
|
|
X |
X |
X |
||||
role_id |
X |
X |
X |
|
|
X |
|||||
deleted |
X |
|
|
|
X |
X |
|||||
phone |
X |
X |
X |
|
|
X |
|||||
mobile |
X |
X |
X |
|
|
X |
|||||
workphone |
X |
X |
X |
|
|
X |
|||||
|
X |
X |
X |
|
|
X |
|||||
address |
X |
X |
X |
|
|
X |
|||||
co_address |
X |
X |
X |
|
|
X |
|||||
city |
X |
X |
X |
|
|
X |
|||||
salary_hourlyrate |
X |
X |
X |
|
|
X |
|||||
status |
X |
|
|
Optional
|
|
X |
|||||
criminal_records |
X |
X |
X |
|
|
X |
|||||
car |
X |
X |
X |
|
|
X |
|||||
experience |
X |
X |
X |
|
|
X |
|||||
number |
X |
X |
X |
|
|
X |
|||||
employeecontract_id |
X |
X |
X |
|
|
X |
|||||
type_of_employment |
X |
X |
X |
|
|
X |
|||||
payslip_email |
X |
X |
X |
|
|
X |
|||||
contract_date |
X |
|
|
|
|
||||||
latest_appraisal_date |
X |
|
|
|
|||||||
medical_certificate_date |
X |
|
|||||||||
employer_support_date |
X |
|
|||||||||
first_name |
X |
X |
X |
|
X |
X |
|||||
last_name |
X |
X |
X |
|
X |
X |
|||||
personal_number |
X |
X |
X |
|
|
X |
|||||
postal_code |
X |
X |
X |
|
|
X |
X |
||||
employee_startdate |
X |
X |
X |
|
|
X |
|||||
employee_enddate |
X |
X |
X |
|
|
X |
|||||
driver_licenses |
X |
X |
X |
|
|
|
|||||
salary_taxrate |
|
X |
X |
|
|
|
|||||
occupation |
|
X |
X |
|
|
|
|||||
full_time |
|
X |
X |
|
|
|
|||||
hours_per_week |
|
X |
X |
|
|
|
|||||
base_contract
|
X |
|
|
|
|
|
|||||
services
|
X |
|
|
|
X filter[service_id]={value1},{valueN} Not used in FindBy |
X |
|
||||
tags
|
X |
|
|
|
X filter[tags_included]={value1},{valueN} for whereIn filter[tags_excluded]={value1},{valueN} for whereNotIn Not used in FindBy |
|
|||||
workarea_id |
|
|
|
|
X filter[workarea_id]={value1},{valueN} Not used in FindBy |
X |
|
Additional endpoints
Endpoint |
Method |
Field |
Validation |
---|---|---|---|
Relate workarea to employee |
POST |
workarea_id |
|
employee_id |
|
||
Remove related workarea from employee |
DELETE |
workarea_id |
|
employee_id |
|
||
Get related workareas |
GET |
id |
|
name |
|
||
description |
|
||
deleted |
|
||
Set primary workarea to employee |
PUT |
query_param: employees/{employeeId}/workareas/{workareaId}/set |
|
Unset primary wokrarea from employee |
PUT |
query_param: employees/{employeeId}/workareas/{workareaId}/unset |
|
Relate service to employee |
POST |
service_id |
|
employee_id |
|
||
Remove related service from employee |
DELETE |
service_id |
|
employee_id |
|
||
Get employees without tags |
GET |
Mapped employee collection
(similar to employees/filter[tags_excluded]={tagId}) |
|
Get employees with tags |
GET |
Mapped employee collection
(similar to employees/filter[tags_included]={tagId}) |
|
Employee Workarea managers - Client |
GET |
client_id Returns a list of employees that are linked by workareas in clients adress(es) |
|
Employee Workarea managers - Workarea |
GET |
workarea_id Returns a list of employees linked to the workarea. |
|
Postman