Loading...
Define the APIs expected from the system. This is your chance to analyze and define the read and write paths so that you can come up with the high-level design...
getShows(String locationId) - get the shows in a location
getShows(String showName) - get the shows by showName
getAvailableSeats(showId) - get available seats for a show
lockSeat(seatId) - lock seat on selection for 10 min
bookSeat(seatId) - book the seat permanently
cancel(seatId) - cancel the seat and mark as available
pay(seatId) - pay for the seat and return ticket
Describe the overall system architecture. Identify the main components needed to solve the problem end-to-end. Use the diagramming tool to create a block diagram.