Statistical Data

  • URL/GetStatisticalData/{API_KEY}
  • MethodGET

Request Parameters

Parameter Type Required Required
API_KEY string Yes Key used for authentication

Request Example

sh
curl -X GET -k $API_URL/GetStatisticalData/$API_KEY

Successful Response

Example of successful response code:

json
{ "List": [ { "Checked": "1784 of 1783", "Created": "2024-05-24 21:51:12", "Gate": "Coco2", "Uuid": "3b56b4c4-2be6-4e68-a33c-1c164bbe278f", "Valid": "463 (25%)" }, { "Checked": "19 of 19", "Created": "2024-05-24 22:27:21", "Gate": "Coco2", "Uuid": "e187261c-c4e6-4759-bab8-458d249fb263", "Valid": "11 (57%)" }, { "Checked": "189 of 189", "Created": "2024-05-24 22:39:34", "Gate": "Coco2", "Uuid": "dcf3ba50-d411-424a-8217-3c560790b5da", "Valid": "86 (45%)" } ], "errorMsg": null, "status": "success" }

Error Response

Example of error response code:

json
{ "List": null, "errorMsg": "No statistical data available for this key", "status": "error" }

Response Parameter Description

Attribute Name Type Description
status string success or error
Uuid string API ID
Created int Time of creation
Gate string Detector used
Checked string Total number of checks
Valid string Number and percentage of valid checks
Logout
Are you sure you want to log out?