Get Scanning stats for an event
GET/event/:guid/scanningstats
Retrieve scanning statistiscs for an Event.
Request
Path Parameters
The guid of the Event.
Responses
- 200
- 404
The scanning statistics found.
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
Array [
]
]
tickets
object[]
:ticket_guid
object
The guid of the Ticket Type scanned.
Name of the Ticket Type.
The sold amount of this Ticket Type.
The amount scanned of this Ticket Type.
products
object[]
Products scanned.
:product_guid
object
The guid of the Product Type scanned.
Name of the Product Type.
The sold amount of this Product Type.
The amount scanned of this Product Type.
scannertypes
object
scanners
object
:scanner_guid
object
The guid of the Scanner.
The name of the Scanner.
The guid of the ScannerType.
The name of the ScannerType.
When the scanner was last seen online.
Battery level.
Status of the battery, i.e. charging, discharing.
scan_chart
object
:ticket_guid
object[]
The guid of the Ticket Type.
When the Ticket Type was scanned.
The amount of Ticket Types that were scanned.
[
{
"tickets": [
{
":ticket_guid": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"sold_count": 0,
"scanned_count": 0,
"date_info": [
null
]
}
}
],
"products": [
{
":product_guid": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"sold_count": 0,
"scanned_count": 0,
"date_info": [
null
]
}
}
],
"scannertypes": {
":scanner_type_guid": [
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"company_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"username": "string",
"password": "string",
"visibility": 115,
"scan_types": 68719476735,
"expires_at": "string",
"QR": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": "string",
"scanner_count": 0,
"scanners": [
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"scanner_type_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"visibility": 0,
"scan_types": 0,
"app_version": "string",
"ccna_version": "string",
"platform": "ios",
"platform_version": "string",
"expires_at": "string",
"created_at": "string",
"updated_at": "string",
"pings": {
"scanner_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "string",
"submitted_at": "string",
"name": "string",
"battery_percentage": 0,
"battery_status": "charging",
"network_quality": 0,
"network_type": "wifi",
"latitude": 0,
"longitude": 0,
"precision": 0,
"max_scanner_id": "string",
"max_created_at": "string"
}
}
]
}
]
},
"scanners": {
":scanner_guid": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"scanner_type_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"scanner_type_name": "string",
"last_seen": "string",
"battery_percentage": 0,
"battery_status": "string"
}
},
"scan_chart": {
":ticket_guid": [
{
"ticket_id": "string",
"hour": "string",
"scan_count": 0
}
]
}
}
]
Event not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}