The terms of employment can be queried via a JSON interface.
Endpoint API
The endpoint can be reached through the following URLs:
https://<company>.onboard.org/exports/v2/employee_jobs.json
Header
API-KEY
: Mandatory for authorisation. You will receive the API key from our support team on request.
Parameters
page
: Displayed page. Begins at 1.
Example:
https://<company>.onboard.org/en/exports/v2/employee_jobs.json?page=1
Content
The interface provides the following content:
entries
: Employee informationcurrent_page
: Current pageper_page
: Entries displayed per pagetotal_entries
: Total number of entries
The employee information contains the master data as well as any information on the terms of employment:
id
: ID of the terms of employmentemployee_id
: ID of the employeefrom
: Begin in the format YYYY-MM-DDto
: End in the format YYYY-MM-DD. If no end is indicated (zero), the employment is permanent.name
: designation of the terms of employmentnotes
: commentlocation_id
: ID of the locationdepartment_id
: ID of the departmentjob_type
: Contract type. Possible values:unknown
: unknown / not setunlimited
: unlimitedlimited
: limitedlimited_replacement
: limited due to replacementfreelancer
: freelanceron_demand
: on demandjob_sharing
: job sharinghome
: home workcoordinated
: continuous and coordinated cooperationinternship
: internshipsocial
: socially beneficial activity / workscholarship
: work scholarship and other work experienceagency
: agency contractseasonal
: seasonal contractapprenticeship
: traditional apprenticeshipapprenticeship_specialized
: Vocational specialisation apprenticeshipapprenticeship_research
: Higher vocational education teaching and research
time_type
: full-time/part-time. Possible values:unknown
: unknown / not setfull_time
: full-timehorizontal_part_time
: horizontal part-timevertical_part_time
: vertical part timemixed_part_time
: mixed part time
time_table
: timetable (text)classification
: classificationtime_hours
: hours per weektime_percentage
: percent working time
Example of interface response:
{
"entries":[
{
"id": 3,
"employee_id: "RGb11O42",
"from": "2023-01-15",
"to": "2023-06-15",
"job_type":"unlimited",
"location_id":77,
"department_id":9,
"time_type": "full_time",
"time_table": "Mo-Fr 8-16",
"classification": "AB-1",
"time_hours": 37.5,
"time_percentage": 100
}
],
"current_page":1,
"per_page":30,
"total_entries":1
}