The API of a generic ticketing System