UpdateBooking - HopeTill/Server GitHub Wiki

Used to update information about an booking

Required parameter

  • id : int, id of booking to modify

Optional parameter

  • title : string, his title to easy retreive
  • description : string, to describe
  • begin_date : string (dd/MM/yyyy HH:mm:ss), the start time of booking
  • end_date : string (dd/MM/yyyy HH:mm:ss), the end time of booking
  • people_id : int, id of the owner
  • price : string, price to pay
  • add_room_list : array, array of if of room to attach (separated by ';')
  • add_equipment_list : array, array of if of equipment to attach (separated by ';')
  • remove_room_list : array, array of if of room to brush out (separated by ';')
  • remove_equipment_list : array, array of if of equipment to brush out (separated by ';')
  • is_confirmed : string, booking confirmed

Result