InfoArchive - get record by id using REST API
Hello.
I'm using InfoArchive REST API to retrive the records. I'm doing it using search-composition (Services->Tenant->Application->Search->Search-Composition->Execute).
On below image is the result of doing POST HTTP on search composition -> execute. The results have the ids.
How can I make the request to get the specific result using it's id?
I tried adding the id in the url POST search composistion -> execute but it wasn't working, the response returns all records.
Best Answer
-
Hello,
To search using a criteria, you have to create it in search composition as Text field to map it with your field in Database.
Once it is done and you know which name it has, you can use it on "Body" with 'raw' format, something like:
<data><criterion><name>ID</name><operator>EQUAL</operator><value>your Value</value></criterion></data>
0
Answers
-
Hello,
To search using a criteria, you have to create it in search composition as Text field to map it with your field in Database.
Once it is done and you know which name it has, you can use it on "Body" with 'raw' format, something like:
<data><criterion><name>ID</name><operator>EQUAL</operator><value>your Value</value></criterion></data>
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