is there API endpoint for Document to update it in D2 using D2 REST API?
is there API endpoint for Document to updated it in D2 using D2 REST API?
Objective is to search the document name using unique name and get the objectID to update its meta-data. I do not see any API where I can find a objectid using search criteria. is there any examples ? DFS was way better than D2REST ,it is handicapping the whole integration of the Documentum system with other system at this point of time. Assign one developer to provide some documentation, it is not that hard for PRODUCT team to create documentation ,add the documentation STEP in DEVOPS cycle where product cannot be released unless documentation is provided for products. What is the use of half baked products releases. It is not a FIRST release of D2REST ,it is years in the making ,still half baked.
Answers
-
Hi @KSingh ,
This is response from the D2-REST
If I understand the requirement correctly , it’s to update the document metadata and to do so you need its ID but you only have the document name and the document name is unique. If this understanding is correct, you can use the d2Sysobject API (more details can be found here: ). A request similar to the one mentioned below should help.
…./repositories/<reponame>/objects?inline=true&type=dm_document&filter=object_name eq '<your unique filename>'
The id attribute in the response should give you the object’s id which you can use to update the documents metadata/properties
Thanks,
Antony
0
Categories
- All Categories
- 118 Developer Announcements
- 52 Articles
- 150 General Questions
- 137 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 912 Cloud Fax and Notifications
- 82 Digital Asset Management
- 9.3K Documentum
- 30 eDOCS
- 175 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 6 XM Fax