Skip to main content
PATCH
/
organizations
/
{organization_id}
/
insurance-details
/
{insurance_details_id}
Update Organization Insurance Details
curl --request PATCH \
  --url https://sandbox.intermezzo.ai/organizations/{organization_id}/insurance-details/{insurance_details_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "validFrom": "2023-12-25",
  "validTo": "2023-12-25",
  "insuranceCountry": "DE",
  "companyNumber": "98797889",
  "unrs": "DE987654321",
  "accidentInsuranceCompanyNumber": "98797889",
  "accidentInsurancePin": "12345",
  "payrollServiceProviderNumber": "98797889",
  "payrollProcessingLocationNumber": "98797889",
  "economicSector": 1,
  "u1Selected": false,
  "u2Selected": false,
  "u3Selected": false,
  "agencyId": "<string>",
  "alternateAgencyId": "<string>",
  "contactId": "<string>"
}
'
{
  "id": 123,
  "validFrom": "2023-12-25",
  "validTo": "2023-12-25",
  "insuranceCountry": "DE",
  "companyNumber": "98797889",
  "unrs": "DE987654321",
  "accidentInsuranceCompanyNumber": "98797889",
  "accidentInsurancePin": "12345",
  "payrollServiceProviderNumber": "98797889",
  "payrollProcessingLocationNumber": "98797889",
  "economicSector": 1,
  "u1Selected": false,
  "u2Selected": false,
  "u3Selected": false,
  "agencyId": "<string>",
  "alternateAgencyId": "<string>",
  "contactId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

organization_id
required
insurance_details_id
integer
required

Body

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

DE: BBNR

Example:

"98797889"

unrs
string | null

DE: UNRS

Example:

"DE987654321"

accidentInsuranceCompanyNumber
string | null

DE: BBNR UV

Example:

"98797889"

accidentInsurancePin
string | null

DE: UV PIN

Example:

"12345"

payrollServiceProviderNumber
string | null

DE: BBNRAS

Example:

"98797889"

payrollProcessingLocationNumber
string | null

DE: BBNR LB

Example:

"98797889"

economicSector
enum<integer> | null

DE: Wirtschaftssektor

Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22
u1Selected
boolean
default:false
u2Selected
boolean
default:false
u3Selected
boolean
default:false
agencyId
string | null
alternateAgencyId
string | null
contactId

Response

Successful Response

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

DE: BBNR

Example:

"98797889"

unrs
string | null

DE: UNRS

Example:

"DE987654321"

accidentInsuranceCompanyNumber
string | null

DE: BBNR UV

Example:

"98797889"

accidentInsurancePin
string | null

DE: UV PIN

Example:

"12345"

payrollServiceProviderNumber
string | null

DE: BBNRAS

Example:

"98797889"

payrollProcessingLocationNumber
string | null

DE: BBNR LB

Example:

"98797889"

economicSector
enum<integer> | null

DE: Wirtschaftssektor

Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22
u1Selected
boolean
default:false
u2Selected
boolean
default:false
u3Selected
boolean
default:false
agencyId
string | null
alternateAgencyId
string | null
contactId
string | null