Genesys CTI User Forum > Genesys-related Development

HTCC StatisticsAPI basics / objectId

(1/1)

bence.meszaros:
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?

cwmunn:
You may have found out elsewhere already but an example of objectId would be the id of a user you want statistics for.

cavagnaro:
Database Object ID?

cwmunn:
The id of the user in HTCC. It assigns one separate from the DBID in CME.

Navigation

[0] Message Index

Go to full version