Beauty examples

BatchAvailabilityLookup (page load)

Request

{
   "merchant_id" : "1234",
   "slot_time" : [
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606485600"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606485600"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606486500"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606486500"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82726"
         },
         "service_id" : "5678",
         "start_sec" : "1606491900"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82726"
         },
         "service_id" : "5678",
         "start_sec" : "1606492800"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606500900"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606500900"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606504500"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606506300"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606506300"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606506300"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606507200"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606507200"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606507200"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606508100"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606508100"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606508100"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606509000"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606509000"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606509000"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606509900"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606509900"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606509900"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606510800"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606510800"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606510800"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606510800"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606511700"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606511700"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606511700"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606511700"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82726"
         },
         "service_id" : "5678",
         "start_sec" : "1606512600"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606512600"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606512600"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606512600"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606512600"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82726"
         },
         "service_id" : "5678",
         "start_sec" : "1606513500"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606513500"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606513500"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606513500"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606513500"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606514400"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606514400"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606514400"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606514400"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606515300"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606515300"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606515300"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606515300"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606516200"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606516200"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606516200"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606516200"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606517100"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606517100"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606517100"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606517100"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606518000"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606518000"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606518000"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606518000"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82726"
         },
         "service_id" : "5678",
         "start_sec" : "1606518900"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "103685"
         },
         "service_id" : "5678",
         "start_sec" : "1606518900"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82722"
         },
         "service_id" : "5678",
         "start_sec" : "1606518900"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606518900"
      },
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "528968"
         },
         "service_id" : "5678",
         "start_sec" : "1606518900"
      }
   ]
}

Response

{
   "slot_time_availability" : [
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606485600"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606485600"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606486500"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606486500"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82726"
            },
            "service_id" : "5678",
            "start_sec" : "1606491900"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82726"
            },
            "service_id" : "5678",
            "start_sec" : "1606492800"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606500900"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606500900"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606504500"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606506300"
         }
      },
      {
         "available" : false,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606506300"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606506300"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606507200"
         }
      },
      {
         "available" : false,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606507200"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606507200"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606508100"
         }
      },
      {
         "available" : false,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606508100"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606508100"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606509000"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606509000"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606509000"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606509900"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606509900"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606509900"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606510800"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606510800"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606510800"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606510800"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606511700"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606511700"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606511700"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606511700"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82726"
            },
            "service_id" : "5678",
            "start_sec" : "1606512600"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606512600"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606512600"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606512600"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606512600"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82726"
            },
            "service_id" : "5678",
            "start_sec" : "1606513500"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606513500"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606513500"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606513500"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606513500"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606514400"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606514400"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606514400"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606514400"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606515300"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606515300"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606515300"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606515300"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606516200"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606516200"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606516200"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606516200"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606517100"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606517100"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606517100"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606517100"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606518000"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606518000"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606518000"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606518000"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82726"
            },
            "service_id" : "5678",
            "start_sec" : "1606518900"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "103685"
            },
            "service_id" : "5678",
            "start_sec" : "1606518900"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82722"
            },
            "service_id" : "5678",
            "start_sec" : "1606518900"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606518900"
         }
      },
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "528968"
            },
            "service_id" : "5678",
            "start_sec" : "1606518900"
         }
      }
   ]
}

BatchAvailabilityLookup (slot click)

Request

{
   "merchant_id" : "1234",
   "slot_time" : [
      {
         "duration_sec" : "1800",
         "resource_ids" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : "1606509000"
      }
   ]
}

Response

{
   "slot_time_availability" : [
      {
         "available" : true,
         "slot_time" : {
            "duration_sec" : "1800",
            "resource_ids" : {
               "staff_id" : "82725"
            },
            "service_id" : "5678",
            "start_sec" : "1606509000"
         }
      }
   ]
}

CreateBooking

Request

{
   "idempotency_token" : "11195193155056732768",
   "payment_information" : {
      "prepayment_status" : "PREPAYMENT_NOT_PROVIDED"
   },
   "slot" : {
      "confirmation_mode" : "CONFIRMATION_MODE_SYNCHRONOUS",
      "duration_sec" : "1800",
      "merchant_id" : "1234",
      "resources" : {
         "staff_id" : "82725"
      },
      "service_id" : "5678",
      "start_sec" : "1606509000"
   },
   "user_information" : {
      "email" : "john.smith@gmail.com",
      "family_name" : "Smith",
      "given_name" : "John",
      "telephone" : "+12091111111",
      "user_id" : "1111111111111111111"
   }
}

Response

{
   "booking" : {
      "booking_id" : "890",
      "payment_information" : {
         "prepayment_status" : "PREPAYMENT_NOT_PROVIDED"
      },
      "slot" : {
         "duration_sec" : "1800",
         "merchant_id" : "1234",
         "resources" : {
            "staff_id" : "82725"
         },
         "service_id" : "5678",
         "start_sec" : 1606509000
      },
      "status" : "CONFIRMED",
      "user_information" : {
         "user_id" : "1111111111111111111"
      }
   }
}

UpdateBooking

Request

{
   "booking" : {
      "booking_id" : "890",
      "status" : "CANCELED"
   }
}

Response

{
   "booking" : {
      "booking_id" : "890",
      "status" : "CANCELED"
   }
}