Add a categorie with attributes
Options
I know the function "/nodes/{id}/categories" to add a categorie. But, how can I add a categorie to an object AND set some attributes at the same time? I'm asking this because I'm trying to add a categorie that contains required fileds. There is no "attribute_key" that can be passed as parameter like in an update Ex: {"1234_4": "blablabla"}.
Regards.
Tagged:
0
Comments
-
Yes, you can. Just mix the attribute keys with the other properties in the request body:
POST .../api/v1/nodes/611261/categories { "id": 611261, "category_id": 186356, "186356_2": "2016-05-11T00:00:00", "186356_3": "Happy", "186356_4": "" }
You can get the schema of the category to add by
.../api/v1/forms/nodes/categories/create??id={node_id}&category_id={category_id}
0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 102 General Questions
- 123 Services
- 40 OpenText Hackathon
- 33 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 901 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 127 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax