cURL
curl --request PATCH \ --url https://sandbox.intermezzo.ai/organizations/{organization_id}/worksites/{worksite_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "address": "<string>", "correspondenceAddress": "<string>", "isActive": true, "isPrimary": true } '
{ "name": "<string>", "address": "<string>", "isActive": true, "isPrimary": true, "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "validFrom": "2023-12-25", "validTo": "2023-12-25", "correspondenceAddress": "<string>", "orgId": "<string>", "contacts": [ { "name": "<string>", "id": "<string>", "email": "[email protected]", "phone": { "phoneNumber": "<string>", "phoneType": "mobile" }, "roles": [] } ], "taxIdentifiers": [], "insuranceData": [] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes
mobile
home
work
"GB"
Sole Trader
Partnership
Limited Company
Public Limited Company
Limited Liability Partnership
Community Interest Company
"DE"
DE: BBNRVU
"98797889"
DE: BBNR UV
DE: UV PIN
"DE-WS-PIN-456"
DE: BBNR AS
DE: BBNR LB
Was this page helpful?