api to manage reservations