How to search for a document VIA Rest API with a specific field of a category?
I know how to implement it using SQL query in a LLAttrData table since usually the ID of a category is constant and so as the specific field.
The question is how to implement it using REST API request?
I have a document with the name of "A" which has a category named "Cat" and a field name "Field A" which value is "XX".
As an input for the rest call I want to include the "Field A" and "XX" as the parameters. How can I achieve that?
Comments
-
The Search (XML) API which was XML based existed in CS for almost as much as CS itself so how to search
This is a comprehensive CS Link
inside the document, you will find
OpenText Content Server CE 24.3
Search API Programming GuideYou may want to learn the simple HTML examples and then look at Category search once you understand the ?func=search(https://www.tek-tips.com/forums/862/faqs/3552) I am sure you can understand this better
The ?func=search is how Oscript constructs the Query to the search engine …. so almost all the complex query examples that the online help has can be practiced using that…
my gut feel tells me if you just looked at swagger you would be lost to no extent:)
0 -
I would call a WebReport via REST with source a LiveReport with the required SQL statement.0
-
I agree with Hans it may be easier in WR/LR but here's an example
Shown using some screencaps my Category Attribute ID is probably deducible by the screencap complex query
What I am saying to the search engine is based on the category:Attribute ID I am looking for subtype 144
To do the same in POSTMAN I do a post like this and I guess I would have to parse the json objects somehow
0
Categories
- All Categories
- 122 Developer Announcements
- 53 Articles
- 151 General Questions
- 146 Thrust Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 179 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 9 XM Fax
- Follow Categories