mindbody-api icon indicating copy to clipboard operation
mindbody-api copied to clipboard

Implement remaining service endpoints

Open wingrunr21 opened this issue 10 years ago • 7 comments

AppointmentService

  • [ ] add_or_update_appointments
  • [ ] add_or_update_availabilities
  • [ ] get_active_session_times
  • [ ] get_appointment_options

ClassService

  • [ ] update_client_visits
  • [ ] get_enrollments
  • [ ] add_clients_to_classes
  • [ ] remove_clients_from_classes
  • [ ] add_clients_to_enrollments
  • [ ] remove_from_waitlist
  • [ ] get_semesters
  • [ ] get_courses
  • [ ] get_waitlist_entries

ClientService

  • [ ] get_client_formula_notes
  • [ ] add_client_formula_note
  • [ ] delete_client_formula_note
  • [ ] get_client_referral_types

SaleService

  • [ ] checkout_shopping_cart
  • [ ] update_services
  • [ ] update_products
  • [ ] redeem_spa_finder_wellness_card

wingrunr21 avatar Mar 25 '14 00:03 wingrunr21

I was looking at forking to help with the dev of this stuff. Just need some clarity on the required pieces.

psulightning avatar Mar 25 '14 00:03 psulightning

The operations need to be defined on the appropriate service class and manually tested to make sure they are working. Manual testing is required because MindBody's docs are inaccurate as to what parameters are required and how they are supposed to be sent.

wingrunr21 avatar Mar 25 '14 00:03 wingrunr21

For ClassService: (something like this?) operation :add_clients_to_classes, required:[:client_ids,:class_ids]

Based on Docs

psulightning avatar Mar 25 '14 00:03 psulightning

Hi, I'm interested in contributing some of these services as well. Is this list still accurate?

jonlunsford avatar Sep 27 '14 05:09 jonlunsford

@jonlunsford I haven't seen any progress on any of these, so I would say go for it.

psulightning avatar Sep 29 '14 12:09 psulightning

I haven't had time to make any progress, no. Feel free to implement and submit a PR. The whole API is too big for me to test thoroughly anyway.

wingrunr21 avatar Sep 29 '14 13:09 wingrunr21

Thanks for the update. I'll give the AppointmentService calls a shot and submit a PR soon.

jonlunsford avatar Sep 29 '14 15:09 jonlunsford