Skip to content

Get Active Session Times

jonlunsford edited this page Oct 15, 2014 · 3 revisions

Session times as they pertain to MINDBODY are the times are available for booking.

This will go much smoother if you've already activated your developer account / app. See getting started. The API testing site isn't kept up to date, I've found that there are features missing and that particular site is very error prone. The official MINDBODY docs can be found here (need to be logged in to view).

Get All Appointment session times

MindBody::Services::AppointmentService.get_active_session_times({"ScheduleType" => "Appointment"})

Get session time by id

params = {
  "ScheduleType" => "Appointment",
  "SessionTypeIDs" => { "int" => [1]}
} 

MindBody::Services::AppointmentService.get_active_session_times(params)

Notes and caveats

  • ScheduleType or SessionTypeIDs are required
  • In general hashes must match the SOAP structure exactly