/getTurnover

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Description:

With this function you can retrieve the turnover, discount and the number of tickets sold during a selected period. Use the startDate and endDate parameters to select a period.

Note

  • The maximum period per request is restricted to one month.
  • TicketTurnoverTotal is the total turnover of ticketsales before discounts
  • TurnoverDiscount is the total discount given during the requested turnover period
  • TurnoverTotal is the total ticketTurnoverTotal minus the turnoverDiscount
  • PosId (PLU-code) is a unique identifier that can be set within the ticketing system to match products to external systems.

HMAC calculation:
Base64 encode - SHA256(apiKey + startDate + endDate)

Form Data
string
required

Your public apiKey needs to be included in every request

date
required

Startdate of the period for which turnover is requested (yyyy-mm-dd)

date
required

enddate of the period for which turnover is requested (yyyy-mm-dd)

string
required

The HMACKey is calculated based on the input fields

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json