POST
/
organizations
/
{organization_id}
/
employees
/
{employee_id}
/
job-details
Create Employee Job Details
curl --request POST \
  --url https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/job-details \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
import requests

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

payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};

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 => "POST",
CURLOPT_POSTFIELDS => json_encode([

]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);

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

curl_close($curl);

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

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

func main() {

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

payload := strings.NewReader("{}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

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

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

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://dev.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/job-details")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.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::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

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

Body

application/json

Schema for job-related data of a German employee. Supports both standalone and integrated requests.

employment_country
string
default:DE
Allowed value: "DE"
job_type
enum<string> | null

EN: Employment type | DE: Beschäftigungsart

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

EN: Employee type | DE: Mitarbeitertyp

Available options:
Employee,
Mini Jobber,
Midi Jobber,
Apprentice,
Intern,
Werkstudent,
Temporary Worker
is_seasonal_worker
boolean | null
default:false

EN: Is seasonal worker? | DE: Ist Saisonarbeitnehmer?

job_title
string | null

EN: Job title | DE: Berufsbezeichnung

job_description
string | null

EN: Job description | DE: Stellenbeschreibung

school_education
enum<string> | null

EN: School education | DE: Höchster allgemeinbildender Schulabschluss

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

EN: Professional education | DE:Höchster berufsbildender Ausbildungsabschluss

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

EN: Occupation code | DE: Tätigkeitsschlüssel

contracted_weekly_hours
integer | null
default:40

EN: Contracted weekly hours | DE: Vertraglich vereinbarte Wochenstunden

contracted_weekdays
enum<string>[] | null

EN: Contracted weekdays | DE: Vertraglich vereinbarte Wochentage

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

EN: Work location | DE: Arbeitsort

department
string | null

EN: Department | DE: Abteilung

other_jobs
MultipleJobDetails · object[] | null

EN: Other jobs | DE: Andere Beschäftigungen

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

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