response.response.hash[:envelope][:body][:get_schedule_items_response][:get_schedule_items_result][:staff_members][:appointments]
=> bunch of appointments
(expected behavior)
Weird stuff:
The MindBody::Staff model contains no Appointments attribute. I would think this explains the bad behavior, except:
For a couple of staff members the first code works fine.
For all staff members the first code works fine if the StartDate and EndDate in the request are the same.
Request:
Bad behavior:
Workaround:
(expected behavior)
Weird stuff:
MindBody::Staff
model contains no Appointments attribute. I would think this explains the bad behavior, except:StartDate
andEndDate
in the request are the same.