curl --request POST \
--url https://sandbox.intermezzo.ai/organizations/{organization_id}/worksites \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"validFrom": "2023-12-25",
"validTo": "2023-12-25",
"name": "<string>",
"address": "<string>",
"correspondenceAddress": "<string>",
"isActive": true,
"isPrimary": true,
"contacts": [
{
"name": "<string>",
"email": "jsmith@example.com",
"phone": {
"phoneNumber": "<string>",
"phoneType": "mobile"
},
"roles": []
}
],
"taxIdentifiers": [],
"insuranceData": [
{
"validFrom": "2023-12-25",
"validTo": "2023-12-25",
"insuranceCountry": "DE",
"worksiteLocationNumber": "98797889",
"accidentInsuranceCompanyNumber": "98797889",
"accidentInsurancePin": "DE-WS-PIN-456",
"payrollServiceProviderNumber": "98797889",
"payrollProcessingLocationNumber": "98797889"
}
]
}'