Hi there,
I recently tried to create business workspaces with this rest api call:
POST api/v2/businessworkspaces/
The documentation specifies the body as a JSON string as this example:
{
"template_id": 23234,
"name": "Test",
"parent_id": 23235,
"description": "",
"categories": {
"23228": {
"23228_2": "5654",
"23228_3": ""
}
}
}
This would never work for me until I debugged Content Server to what went wrong.
The "categories" is only processed, when it is nested into "roles", which does not make sense to me.
With this JSON as body, it does work:
{
"template_id": 23234,
"name": "Test",
"parent_id": 23235,
"description": "",
"roles": {
"categories": {
"23228": {
"23228_2": "5654",
"23228_3": ""
}
}
}
}
The Content Server version is 16.2.10.
Does anybody experience the same issue?
Best regards,
Steffen