Changing BusinessWorkspace Names via REST
HI guys, hopefully a simple question. I am doing some tests with the REST and i am able to create a Business Workspace with all the necessary attributes. That worked. Now I want to change the Name of the Business workspace via Rest. Does that work, I guess yes, but which call?
To be more concrete:
I created the BWS with POST: api/v2/businessworkspaces
<p>{"name":"ViaRESTch","type":"848","parent_id":"13312650","template_id":"13313771","roles":{"categories":{"13312173":{"13312173_2":"09041947"}}}<span>}</span><br></p>
Now I want to change this Name "name":"ViaRESTch"
Is there a way? Or do you have an valid example?
Cheers Christian
0
Comments
-
Can you share your solution?
0 -
Dear @Héctor Mendoza as i mentioned above. A PUT will work.
As example: Here as a NodeJs requestvar request = require('request'); var options = { 'method': 'PUT', 'url': 'https://your.server.name/OTCS/cs.exe/api/v2/nodes/16326857', 'headers': { 'otcsticket': 'yourticketid' }, formData: { 'name': 'New name for BWS' }};request(options, function (error, response) { if (error) throw new Error(error); console.log(response.body);});
Or in a postman Call, please see the pic
The API you need is this one api/v2/nodes/{id}
Please finde more information in the API Reference
Cheers
Mchoeti1
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management