testing ticket endpoint.
JSON parses the params in the ticket endpoint.

class method for processing all tickets.