Skip to main content
POST
/
worksites
/
{worksite_id}
/
insurance-details
Create Worksite Insurance Details
curl --request POST \
  --url https://sandbox.intermezzo.ai/worksites/{worksite_id}/insurance-details \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "validFrom": "2023-12-25",
  "validTo": "2023-12-25",
  "insuranceCountry": "DE",
  "worksiteLocationNumber": "98797889",
  "accidentInsuranceCompanyNumber": "98797889",
  "accidentInsurancePin": "DE-WS-PIN-456",
  "payrollServiceProviderNumber": "98797889",
  "payrollProcessingLocationNumber": "98797889"
}
'
{
  "id": 123,
  "validFrom": "2023-12-25",
  "validTo": "2023-12-25",
  "insuranceCountry": "DE",
  "worksiteLocationNumber": "98797889",
  "accidentInsuranceCompanyNumber": "98797889",
  "accidentInsurancePin": "DE-WS-PIN-456",
  "payrollServiceProviderNumber": "98797889",
  "payrollProcessingLocationNumber": "98797889"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

worksite_id
required

Body

application/json
validFrom
string<date> | null
validTo
string<date> | null
insuranceCountry
string
default:DE
Allowed value: "DE"
worksiteLocationNumber
string | null

DE: BBNRVU

Example:

"98797889"

accidentInsuranceCompanyNumber
string | null

DE: BBNR UV

Example:

"98797889"

accidentInsurancePin
string | null

DE: UV PIN

Example:

"DE-WS-PIN-456"

payrollServiceProviderNumber
string | null

DE: BBNR AS

Example:

"98797889"

payrollProcessingLocationNumber
string | null

DE: BBNR LB

Example:

"98797889"

Response

Successful Response

id
integer
required
validFrom
string<date> | null
validTo
string<date> | null
insuranceCountry
string
default:DE
Allowed value: "DE"
worksiteLocationNumber
string | null

DE: BBNRVU

Example:

"98797889"

accidentInsuranceCompanyNumber
string | null

DE: BBNR UV

Example:

"98797889"

accidentInsurancePin
string | null

DE: UV PIN

Example:

"DE-WS-PIN-456"

payrollServiceProviderNumber
string | null

DE: BBNR AS

Example:

"98797889"

payrollProcessingLocationNumber
string | null

DE: BBNR LB

Example:

"98797889"