Tripjack interview question

Can you write a basic structure related to rest API for a ticket system?