Skip to content

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
}

Tickets allocated. Cancelled tickets are not counted.

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.

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.

Tickets reserved. Cancelled tickets are not counted.

The scans in each minute that has scans. Only with includeScans.

Tickets sold. Cancelled tickets are not counted.

The value of the tickets sold.

Successful attendances: tickets that attended with no conflict.

All attendances, successful and failed.

Attendance figures: successful, failed and in total.

A capacity figure.

Scan figures, minute by minute.

analytics.byProduct query