Skip to main content

Machine-readable Spektrix Data

As well as providing tools which enable developers to integrate clients’ websites with our platform, we provide various different ways of accessing data held in client databases, in both human and machine-readable formats.

Machine-readable formats available within the Spektrix platform over and above our current API comprise these main components:

  1. Raw, row-level Spektrix data
  2. This same data grouped and aggregated (to deduplicate rows, and provide total figures)
  3. “Templated”, formatted, transformed data (to rename raw field names and values, and perform more bespoke groupings and aggregations)

Available data formats

The data formats in which this machine-readable data is available in are:

  1. For raw and simply-aggregated data
    • XML
    • CSV
    • .xls and .xlsx Excel files
  2. For templated data
    • .xls Excel files
    • While not truly machine-readable, PDF outputs of this same data are possible

Access methods

There are several means available for accessing reports within Spektrix, all of which are available for all of the report types and formats mentioned above:

  1. Manually running reports from within the “Insights & Mailings Interface” of the Spektrix system

    • This requires a user account which is authorised to access all features of the Insights & Mailings interface, and as such is generally only suited to being accessed by the staff of our clients rather than Partners and other third parties
  2. Manually running reports from within the “Partner Companies Interface”

    • This is similar to the way reports can be manually run from the Insights & Mailings interface
  3. Receiving reports via scheduled emails

    • These can be setup to run hourly, daily, weekly or monthly, with reports being sent as either attachments or links where reports can be downloaded.

Raw data

Various different report types are available in Spektrix which can output data from different areas of the system, such as Events, Customers, and transactions.

When these reports are output in their raw forms, the names given to the columns are the same across all Spektrix client databases. For example, ticket prices are given the column name of “Price” in CSV/Excel format reports, and “OrderItems_Price” in XML format reports.

The raw data in these reports can be aggregated, for example by showing a sum of the price of all tickets rather than one row per ticket, or a count of all available seats.

If reports are needed with different column names or aggregations/groupings, then this can often be achieved via a templated report.

See the below examples and sample files for examples of how raw data is output in Excel/CSV and XML formatted reports.

Event NameEvent Date/TimeSeat StatusTicket TypePriceCommission
Macbeth2020-08-31 19:30SoldAdult121
Macbeth2020-08-31 19:30SoldAdult121
Macbeth2020-08-31 19:30SoldAdult121
Macbeth2020-08-31 19:30SoldAdult121
Macbeth2020-08-31 19:30SoldAdult121
Macbeth2020-08-31 19:30SoldAdult121
Macbeth2020-08-31 19:30SoldAdult121

Download XLS Sample File

<Table1>
<Events_Name>Macbeth</Events_Name>
<EventInstances_Start>2020-08-31T19:30:00+00:00</EventInstances_Start>
<SeatStatuses_Name>Available</SeatStatuses_Name>
</Table1>
<Table1>
<Events_Name>Macbeth</Events_Name>
<EventInstances_Start>2020-08-31T19:30:00+00:00</EventInstances_Start>
<SeatStatuses_Name>Sold</SeatStatuses_Name>
<TicketTypes_Name>Adult</TicketTypes_Name>
<OrderItems_Price>12.00</OrderItems_Price>
<OrderItems_CalculatedCommission>1.00</OrderItems_CalculatedCommission>
</Table1>

Download XML Sample File

Aggregated data

As well as being able to output raw data which is fully granular, it is also possible for that data to be grouped and aggregated at the row level, so that duplicate rows don’t appear, and so that numerical values can be totalled.

See the below screenshots and sample files for examples of how aggregated raw data is output in Excel/CSV and XML formatted reports.

Event NameEvent Date/TimeSeat StatusTicket TypeSum of PriceSum of CommissionCount
Macbeth2020-08-31 19:30Available141
Macbeth2020-08-31 19:30SoldAdult4443737
Macbeth2020-08-31 19:30SoldComp003
Macbeth2020-08-31 19:30SoldOver 607077
Macbeth2020-08-31 19:30SoldStudent1201212

Download XLSX Sample File

<Table1>
<Events_Name>Macbeth</Events_Name>
<EventInstances_Start>2020-08-31T19:30:00+00:00</EventInstances_Start>
<SeatStatuses_Name>Available</SeatStatuses_Name>
<SeatReportBase_>141</SeatReportBase_>
</Table1>
<Table1>
<Events_Name>Macbeth</Events_Name>
<EventInstances_Start>2020-08-31T19:30:00+00:00</EventInstances_Start>
<SeatStatuses_Name>Sold</SeatStatuses_Name>
<TicketTypes_Name>Adult</TicketTypes_Name>
<OrderItems_Price>444.00</OrderItems_Price>
<OrderItems_CalculatedCommission>37.00</OrderItems_CalculatedCommission>
<SeatReportBase_>37</SeatReportBase_>
</Table1>
<Table1>
<Events_Name>Macbeth</Events_Name>
<EventInstances_Start>2020-08-31T19:30:00+00:00</EventInstances_Start>
<SeatStatuses_Name>Sold</SeatStatuses_Name>
<TicketTypes_Name>Comp</TicketTypes_Name>
<OrderItems_Price>0.00</OrderItems_Price>
<OrderItems_CalculatedCommission>0.00</OrderItems_CalculatedCommission>
<SeatReportBase_>3</SeatReportBase_>
</Table1>

Download XML Sample File

Templated reports

If reports are needed with different types of groupings or aggregations, or with columns named differently than in the raw data then Spektrix clients are able to request a bespoke “templated” report.

These templated reports can be output in PDF or Excel (specifically .xls) formats.

See the below sample files for examples of how templated reports output in Excel and PDF formatted reports.

Download XLS Sample File

Download PDF Sample File