I am trying to simulate the agent status report that can be exported from Genesys dashboard. I am building my query dynamically by defining the interval (1 week) with new agent ids(around 50). When I make my call to the API I get zero hits for this query.
//psuedo
var response = apiInstance.PostAnalyticsUsersDetailsQuery(body);
When I copy that body into the analytics request I get data for two users back. Total hits of 3219.
It is the same query. One is called in C# service the other is through the online tool with different results. Is there a way to call this endpoint through the service to get data back? If you need anymore information please let me know.
They're the same service, so when you are getting different results back from the same query to the same service you have to look at what the actual differences are between the two requests.
What you've described usually happens because your C# client credentials have lesser permissions than you yourself do, which is what the website is usually using. Check to make sure it includes all the divisions and permissions it should.
I've confirmed that they are the same request. I took a json string from the body used in my C# service and pasted it into the online tool. The credential maybe an issue and I will look into that.
I'm following up on my question over this endpoint. /api/v2/analytics/users/details/query
I am using my own key/secret to call API endpoints via service. I am logged into the API explorer using my own account. I get results using the explorer, but not the API. I am using the same exact query. The only difference is that I am changing my query in the service by adding just 1 user for testing. No results. I then take the body of the query to json and pasted that into the api explorer. I receive results. I am pasting the query below with some values omitted for more information