Hello everyone, we are trying to test a request where we update a category attribute for a Business Workspace, we saw in the API documentation for BW REST 21.4 that they show an example for "updating" a late business workspace with the POST Create BW request.
We tried this request:
{
"name": "Solicitation A1",
"description": "Workspace Solicitation A1",
"parent_id": "126992",
"ibo_workspace_id": "191000",
"template_id": "126334",
"roles": {
"categories": {
"127212": {
"127212_4": "102"
}
}
}
}
We wanted to add the number "102" in an attribute that represents something like a registration number. (We also tried a request that holds every single attribute from all categories already applied to this Workspace but with one attribute changed to what we wanted and it still didn't do the update).
parent_id
is the folder that holds the Workspace, and ibo_workspace_id
is the Node ID of the Workspace, and template_id
is for the template that we used to make the Workspace.
Weirdly enough, this request doesn't return an error, but it doesn't do anything. This is our response:
{
"links": {
"data": {
"self": {
"body": "",
"content_type": "",
"href": "/api/v2/businessworkspaces/",
"method": "POST",
"name": ""
}
}
},
"results": {
"direct_open": true,
"id": 191000,
"sub_folder_id": 0
}
}
I see that in their example the request that they make for an update also holds ID's for Business Objects, we don't have any BO's for this Workspace.
Is there a parameter that we have to include/exclude in order to make this request work? Has anyone else had problems updating a Workspace?
Thank you!