Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: bence.meszaros on May 23, 2018, 09:50:05 AM
-
Hello There,
I am trying to invoke [url=https://docs.genesys.com/Documentation/HTCC/8.5.1/API/StatisticsAPI]https://docs.genesys.com/Documentation/HTCC/8.5.1/API/StatisticsAPI[/url] REST API but I have no idea what objectId is.
"You can use the following request retrieve the most recent statistic values for a specific object ID:
GET api/v1/stats/{objectId}
For example:
GET api/v1/stats/e653a99ae8a74dd5bfb5c7be57bd8c65"
I suspect /api/v1/stats/ should return all object ids but maybe I am wrong.
Currently I get this json back:
{
"statusCode": 0,
"totalCount": 0,
"statistics": {}
}
Could anyone help how to go on please?
-
You may have found out elsewhere already but an example of objectId would be the id of a user you want statistics for.
-
Database Object ID?
-
The id of the user in HTCC. It assigns one separate from the DBID in CME.