GET
/
organizations
/
{organization_id}
/
employees
/
{employee_id}
/
job-details
Get Employee Job Details
curl --request GET \
  --url https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/job-details \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/job-details"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/job-details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/job-details",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/job-details"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/job-details")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/job-details")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "employee_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "employment_country": "DE",
  "is_seasonal_worker": true,
  "job_title": "<string>",
  "job_description": "<string>",
  "occupation_code": "<string>",
  "contracted_weekly_hours": 40,
  "contracted_weekdays": [],
  "contracted_to_other_company": false,
  "worksite_id": "<string>",
  "department": "<string>",
  "other_jobs": [
    {
      "employment_country": "DE",
      "employer_name": "<string>",
      "employment_start_date": "2023-12-25",
      "monthly_gross_income": "<string>"
    }
  ],
  "valid_from": "2023-12-25",
  "valid_to": "2023-12-25"
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}

Authorizations

Authorization
string
header
required

Get token from Auth0 and paste it here

Path Parameters

organization_id
required
employee_id
required

Response

Successful Response

Response model for job details with metadata fields.

employee_id
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
id
required
employment_country
string
default:DE
Allowed value: "DE"
job_type
enum<string> | null

Employment types recognized in Germany.

Available options:
Full Time Indefinite Term,
Full Time Fixed Term,
Part Time Indefinite Term,
Part Time Fixed Term
employment_status
enum<string> | null

Employee types recognized in Germany.

Available options:
Employee,
Mini Jobber,
Midi Jobber,
Apprentice,
Intern,
Werkstudent,
Temporary Worker
is_seasonal_worker
boolean | null
job_title
string | null
job_description
string | null
school_education
enum<string> | null

Highest school education completed. 6th digit in Tagesschlüssel.

Available options:
Ohne Schulabschluss,
Haupt-/Volksschulabschluss,
Mittlere Reife oder gleichwertiger Abschluss,
Abitur / Fachabitur,
Abschluss unbekannt
professional_education
enum<string> | null

Highest vocational education completed. 7th digit in Tagesschlüssel.

Available options:
Ohne beruflichen Ausbildungsabschluss,
Abschluss einer anerkannten Berufsausbildung,
Meister-/Techniker- oder gleichwertiger Fachschulabschluss,
Bachelor,
Diplom/Magister/Master/Staatsexamen,
Promotion,
Abschluss unbekannt
occupation_code
string | null
contracted_weekly_hours
integer | null
default:40
contracted_weekdays
enum<string>[] | null

Days of the week.

Available options:
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
Sunday
contracted_to_other_company
boolean
default:false

EN: Contracted to another company | DE: Vertrag mit anderem

worksite_id
string | null
department
string | null
other_jobs
MultipleJobDetails · object[] | null
valid_from
string<date>

EN: Valid from date | DE: Gültig ab Datum

valid_to
string<date> | null

EN: Valid to date | DE: Gültig bis Datum