Share all details related to your problem, including any error messages you may have received.
Hi team, by using which API i can count Reqtuest.
Reqtuest Details
Total no. of successfully completed requests.
Total no. of failed requests.
Total no. of requests with approval pending.
Query options and Filter - as mentioned by @ashutosh08
You can directly query the DB
Connection con = context.getJdbcConnection();
//Write the query
String sql = "<Query to fetch the required details from spt_identity_request table>"
//logic to execute the query
If you are able to build QueryOptions which will filter for Requests you want you can just execute context.countObjects(IdentityRequest.class,qo) where qo is you QueryOption with Filter.