AnsweredAssumed Answered

How to learn TotalHits in search/query (for Evant Frame)?

Question asked by Gabov on Feb 15, 2019
Latest reply on Feb 18, 2019 by gregor

Hi!

I have a quiry of a look

https://[PI_WebAPI]/eventframes/search?databaseWebId=[databaseWebId]&query=Start:>*-2d&maxCount=1

1. In difference from an example from documentation of

https://techsupport.osisoft.com/Documentation/PI-Web-API/help/controllers/search/actions/query.html

I have no field "TotalHits"

2. Not the count of results in the reference Last , but startIndex=-1:

https://[PI_WebAPI]/eventframes/search?databaseWebId=[databaseWebId]&query=Start:>*-2d&maxCount=1&startIndex=-1

 

How to learn how many events correspond to my quiry?

Outcomes