Added index api for tickets