SubscribeBooking - HopeTill/Server GitHub Wiki

Used to subscribe an booking

Required parameter

  • title : string, his title to easy retreive
  • 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 : float, price to pay
  • room_list : array, array of id of room to attach (separated by ';')

Optional parameter

  • description : string, to describe
  • is_confirmed : string, booking confirmed ? By default set to false
  • equipment_list : array, array of if of equipment to attach (separated by ';')

Result

  • result_code : values
  • id : int, id of the created entity