SearchMovies(keyword, city, lat_log, radius, start_datetime, end_datetime, postal_code, include_spell_check, results_per_page, sorting_order)
[
{
"MovieID": 1,
"ShowID": 1,
"Title": "Cars 2",
"Description": "About cars",
"Duration": 120,
"Genre": "Animation",
"Language": "English",
"ReleaseDate": "8th Oct. 2014",
"Country": "USA",
"StartTime": "14:00",
"EndTime": "16:00",
"Seats": [
{
"Type": "Regular",
"Price": 14.99,
"Status": "Almost Full"
},
{
"Type": "Premium",
"Price": 24.99,
"Status": "Available"
}
]
},
{
"MovieID": 1,
"ShowID": 2,
"Title": "Cars 2",
"Description": "About cars",
"Duration": 120,
"Genre": "Animation",
"Language": "English",
"ReleaseDate": "8th Oct. 2014",
"Country": "USA",
"StartTime": "16:30",
"EndTime": "18:30",
"Seats": [
{
"Type": "Premium",
"Price": 24.99,
"Status": "Almost Full"
},
{
"Type": "Regular",
"Price": 14.99,
"Status": "Full"
}
]
}
]
Here are a few observations about the data we are going to store:
a. ActiveReservationService
ActiveReservationsService keeping track of all active reservations
b) WaitingUsersService