Added function makeReservation to the RestTaskFactory.