Add cinema cinemaHall
POST
/cinemaHall ? name = <cinemaHallName> & seatingCapacity = <Integer>
Update seating seatingCapacity of cinemaHall
PUT
/cinemaHall/seatingCapacity ? Id = <cinemaHallId> & seatingCapacity = <Integer>
update CinemaHall Name
PUT
/cinemaHall/name ? Id = <cinemaHallId> & name = <cinemaHallName>
addNewMovie
POST
/movie ? name = <movieName> & durationInMinutes = <Integer>
##MovieShowController API
add New Movie Show
POST
/movieShow ? movieId = <movieId> & hallId = <cinemaHallId> & startTime = <TimeInMilliSeconds>
Payment Status Controller
POST
/paymentStatus ? transactionID = <transactionID> & paymentStatus = <"SUCCESS"/"FAIL"/"INPROGRESS">
openSeatsForBooking
POST
/seatBooking/open ? showID = <Id>
getAllCinemaHall - get all cinema hall details
GET
/cinemaHallViewer
getAllMovieShows - get all movies shows list
GET
/movieShow
getAllMovie - get all movies list
GET
/movieViewer
getSeatStatusForShowById - get seats free / occupied status
GET
/seatBookingHandler/seatStatus ? showID = <Id>
requestBooking - request seats for booking
POST
/seatBookingHandler/request
{
movieShowID : <ID>,
seat : [seatsNOs]
}
Returns - booking ID
bookingStatus - check booking status
GET
/seatBookingHandler/bookingStatus ? bookingId = <ID>
returns "SUCCESS"/"FAIL"/"INPROGRESS"