Add get ticket type api