AnalyticsByProduct
A product’s sales and, when asked for, its attendance and scans.
type AnalyticsByProduct implements AttendanceTotalsInterface, CapacityTotalsInterface, ScansPerMinuteInterface { allocated: Int! byEntrances: [TotalsByEntrance!]! byPackages: [TotalsByPackage!]! bySegments: [TotalsBySegment!]! capacity: Int failedAttended: Int id: Guid! lastScanTime: LocalDateTime occupancy: Float product: BasicProduct reserved: Int! scansPerMinute: [ScansPerMinute!] sold: Int! soldValue: Money! successfullyAttended: Int totalAttended: Int}Fields
Section titled “Fields”allocated ● Int!non-nullscalar
Section titled “allocated ● Int! ”Tickets allocated. Cancelled tickets are not counted.
byEntrances ● [TotalsByEntrance!]!non-nullobject
Section titled “byEntrances ● [TotalsByEntrance!]! ”The issued tickets and attendance by entrance.
The sales by package that the product sold in. A null package is the sales outside a package.
The sales and attendance by segment. Only with includeAttendance.
The capacity: places with no hold, or in a hold that counts as capacity.
Failed attendances: attendances found invalid later. An example is scans in at two entrances while offline.
id ● Guid!non-nullscalar
Section titled “id ● Guid! ”The product that the figures are for.
The minute of the last scan, in the acting organisation’s time zone. Null: no scans.
All attendances as a fraction of capacity: 0.5 is half full. Null: no capacity.
The product that the figures are for.
reserved ● Int!non-nullscalar
Section titled “reserved ● Int! ”Tickets reserved. Cancelled tickets are not counted.
The scans in each minute that has scans. Only with includeScans.
sold ● Int!non-nullscalar
Section titled “sold ● Int! ”Tickets sold. Cancelled tickets are not counted.
soldValue ● Money!non-nullscalar
Section titled “soldValue ● Money! ”The value of the tickets sold.
Successful attendances: tickets that attended with no conflict.
All attendances, successful and failed.
Interfaces
Section titled “Interfaces”Attendance figures: successful, failed and in total.
A capacity figure.
Scan figures, minute by minute.
Returned By
Section titled “Returned By”analytics.byProduct query

