Reporting

Hosts

Routes

HTTP VerbRouteDescription
GET/api/reporting/tokencountReturns a count (int) of all tokens for your Company.
GET/api/reporting/apiusageReturns usage stats for each TokenEx ID within your Company.

Examples

GET Request (Token Count)

GET /api/reporting/tokencount HTTP/1.1
Host: test-my.tokenex.com
Content-Type: application/json
Authorization: {Your Authorization Value}

GET Response (Token Count)

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 27

11500

GET Request (API Usage)

GET /api/reporting/apiusage HTTP/1.1
Host: test-my.tokenex.com
Content-Type: application/json
Authorization: {Your Authorization Value}

GET Response (API Usage)

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 208

[{"date":"1/1/2001 12:00:00 AM","count":165,"endpoint":"DeleteToken","tokenExId": "{Your TokenEx Id}"},{"date":"1/1/2001 12:00:00 AM","count":165,"endpoint":"Detokenize","tokenExId": "{Your TokenEx Id}"},{"date":"1/1/2001 12:00:00 AM","count":330,"endpoint":"Tokenize","tokenExId": "{Your TokenEx Id}"}]