api for ticket addition