Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/consolidated-organization
curl \
--request POST 'https://wyzio.app/api-v1/consolidated-organization' \
--header "Content-Type: application/json" \
--data '{"name":"string","mainLanguage":{"id":42,"code":"string","name":"string","isMain":true},"currency":"string","fiscalYearStart":"string","fiscalYearEnd":"string","organizationIds":[42],"managingCompanyId":42,"id":42}'
Request examples
# Headers
# Payload
{
"name": "string",
"mainLanguage": {
"id": 42,
"code": "string",
"name": "string",
"isMain": true
},
"currency": "string",
"fiscalYearStart": "string",
"fiscalYearEnd": "string",
"organizationIds": [
42
],
"managingCompanyId": 42,
"id": 42
}
Response examples (200)
{
"data": {},
"error": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"errorCode": "string",
"fieldName": "string",
"data": "string",
"isSevere": true
}
]
},
"valid": true
}