POST
/
organizations
/
{organization_id}
/
insurance-data
Create Organization Insurance Data
curl --request POST \
  --url https://sandbox.intermezzo.ai/organizations/{organization_id}/insurance-data \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "validFrom": "2023-12-25",
  "validTo": "2023-12-25",
  "companyNumber": "<string>",
  "unrs": "<string>",
  "accidentInsuranceCompanyNumber": "<string>",
  "accidentInsurancePin": "<string>",
  "payrollServiceProviderNumber": "<string>",
  "payrollProcessingLocationNumber": "<string>",
  "u1Selected": false,
  "u2Selected": false,
  "u3Selected": false,
  "agencyId": 123,
  "alternateAgencyId": 123,
  "contactId": "con_01h455vb4pex5vsknk084sn02q"
}'
{
  "validFrom": "2023-12-25",
  "validTo": "2023-12-25",
  "companyNumber": "<string>",
  "unrs": "<string>",
  "accidentInsuranceCompanyNumber": "<string>",
  "accidentInsurancePin": "<string>",
  "payrollServiceProviderNumber": "<string>",
  "payrollProcessingLocationNumber": "<string>",
  "u1Selected": false,
  "u2Selected": false,
  "u3Selected": false,
  "agencyId": 123,
  "alternateAgencyId": 123,
  "contactId": "con_01h455vb4pex5vsknk084sn02q",
  "id": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

organization_id
string
required

TypeID with prefix 'org'

Example:

"org_01h455vb4pex5vsknk084sn02q"

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.