curl --location -g --request POST 'https://app.hustro.com/api/v2/project//company' \
--header 'hustro-client: web' \
--header 'hustro-client-version: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"shortLabel": "New company",
"longLabel": "Full name new company",
"taxNumber": "0",
"correspondenceAddress": {
"streetAndNumber": "87",
"postalCode": "labore culpa",
"country": "POL",
"city": "aliquip dolore"
},
"registeredOfficeAddress": {
"streetAndNumber": "26",
"postalCode": "do anim ut irure sint",
"country": "POL",
"city": "aliqua esse"
},
"phone": {
"country": "POL",
"number": "incididunt"
},
"sites": [
"5e417e81cc65ea28d1ff0fac",
"6396dfeca92a10590a6ada9b"
],
"projectInvolvementType": "SUBCONTRACTOR"
}'{
"contracts": [
"5e417e81cc65ea28d1ff0fac",
"6396dfeca92a10590a6ada9b"
],
"deleted": true,
"_id": "5f479169f7ef7fe33b3cca36",
"createdAt": "2020-12-01T11:32:01+01:00",
"createdBy": "5f479169f7ef7fe33b3cca36",
"modifiedAt": "2020-12-01T11:32:01+01:00",
"modifiedBy": "5f479169f7ef7fe33b3cca36",
"shortLabel": "string",
"longLabel": "string",
"taxNumber": "string",
"correspondenceAddress": {
"streetAndNumber": "string",
"postalCode": "string",
"country": "POL",
"city": "string"
},
"registeredOfficeAddress": {
"streetAndNumber": "string",
"postalCode": "string",
"country": "POL",
"city": "string"
},
"phone": {
"country": "POL",
"number": "string"
},
"sites": [
"5e417e81cc65ea28d1ff0fac",
"6396dfeca92a10590a6ada9b"
],
"projectInvolvementType": "SUBCONTRACTOR"
}