How to add a document and adding the category to the content server 16.2 with one Api call?
Comments
-
I don't think the API accepts raw JSON.
0 -
I use this method,best to set Category items to not required for testing.
Enter this into Body Section, as shown in image, change details to match your category,
{
"name": "REST API Test Word.jpg",
"type": 144,
"parent_id": 5645848,
"roles": {
"categories": {
"5646542": {
"5646542_2": "Europe",
"5506675_4": null,
"5506675_5": null,
"5506675_6": null,
"5506675_7": null,
"5506675_8": null,
"5506675_9": null,
"5646542_1": {
"version_number": 1
}
}
},
"classifications": {
"create_id": [],
"id": []
}
}
}0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 160 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories