Rest Services Getting total count
Hi ,
I would like to get the total count of the results in the response . I am using include-total=true and i am not able to see the total count in the response.
/dctm-rest/repositories/testrepo?dql=select * from dm_user&include-total=true&inline=true&&items-per-page=10&page=1
The documentation says include-total should return the total items.
Best Answer
-
As the API documentation states, DQL Query resource does NOT support the parameter include-total. Here is the screenshot for REST 7.3 RADL documentation.
You can perform an explicit DQL query to get the total count, for instance, dql=select%20count(*)%20%20as%20cnt%20from%20dm_sysobject.
0
Answers
-
As the API documentation states, DQL Query resource does NOT support the parameter include-total. Here is the screenshot for REST 7.3 RADL documentation.
You can perform an explicit DQL query to get the total count, for instance, dql=select%20count(*)%20%20as%20cnt%20from%20dm_sysobject.
0 -
Thank you for the clarification .
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management