mindbody-api-v6 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +357 -0
- data/Rakefile +8 -0
- data/docs/AddAppointmentRequest.md +23 -0
- data/docs/AddAppointmentResponse.md +8 -0
- data/docs/AddArrivalRequest.md +9 -0
- data/docs/AddArrivalResponse.md +9 -0
- data/docs/AddClientRequest.md +61 -0
- data/docs/AddClientResponse.md +8 -0
- data/docs/AddClientToClassRequest.md +17 -0
- data/docs/AddClientToClassResponse.md +8 -0
- data/docs/AddClientToClassVisit.md +28 -0
- data/docs/AddClientToEnrollmentRequest.md +15 -0
- data/docs/AddContactLogRequest.md +16 -0
- data/docs/AddContactLogType.md +9 -0
- data/docs/Amenity.md +9 -0
- data/docs/Appointment.md +24 -0
- data/docs/AppointmentApi.md +460 -0
- data/docs/AppointmentOption.md +11 -0
- data/docs/AssignedClientIndex.md +9 -0
- data/docs/AutopaySchedule.md +10 -0
- data/docs/Availability.md +15 -0
- data/docs/BookingWindow.md +11 -0
- data/docs/CheckoutAppointmentBookingRequest.md +14 -0
- data/docs/CheckoutItem.md +9 -0
- data/docs/CheckoutItemWrapper.md +17 -0
- data/docs/CheckoutPaymentInfo.md +9 -0
- data/docs/CheckoutShoppingCartRequest.md +18 -0
- data/docs/ClassApi.md +589 -0
- data/docs/ClassDescription.md +22 -0
- data/docs/ClassPayrollEvent.md +10 -0
- data/docs/ClassSchedule.md +29 -0
- data/docs/Client.md +61 -0
- data/docs/ClientApi.md +1473 -0
- data/docs/ClientContract.md +16 -0
- data/docs/ClientCreditCard.md +17 -0
- data/docs/ClientDocument.md +10 -0
- data/docs/ClientIndex.md +13 -0
- data/docs/ClientIndexValue.md +10 -0
- data/docs/ClientMembership.md +20 -0
- data/docs/ClientPurchaseRecord.md +16 -0
- data/docs/ClientRelationship.md +10 -0
- data/docs/ClientService.md +18 -0
- data/docs/Color.md +9 -0
- data/docs/ContactLog.md +18 -0
- data/docs/ContactLogComment.md +11 -0
- data/docs/ContactLogSubType.md +8 -0
- data/docs/ContactLogType.md +9 -0
- data/docs/Contract.md +41 -0
- data/docs/ContractItem.md +14 -0
- data/docs/Course.md +17 -0
- data/docs/CreditCardInfo.md +16 -0
- data/docs/CrossRegionalClientAssociation.md +10 -0
- data/docs/CustomClientField.md +10 -0
- data/docs/CustomClientFieldValue.md +11 -0
- data/docs/CustomPaymentMethod.md +9 -0
- data/docs/EnrollmentApi.md +137 -0
- data/docs/FormulaNote.md +12 -0
- data/docs/GetActivationCodeResponse.md +9 -0
- data/docs/GetActiveClientMembershipsRequest.md +11 -0
- data/docs/GetActiveClientMembershipsResponse.md +9 -0
- data/docs/GetActiveSessionTimesRequest.md +13 -0
- data/docs/GetActiveSessionTimesResponse.md +9 -0
- data/docs/GetAppointmentOptionsResponse.md +8 -0
- data/docs/GetBookableItemsRequest.md +16 -0
- data/docs/GetBookableItemsResponse.md +9 -0
- data/docs/GetClassDescriptionsRequest.md +15 -0
- data/docs/GetClassDescriptionsResponse.md +9 -0
- data/docs/GetClassPayrollRequest.md +13 -0
- data/docs/GetClassPayrollResponse.md +9 -0
- data/docs/GetClassSchedulesRequest.md +16 -0
- data/docs/GetClassSchedulesResponse.md +9 -0
- data/docs/GetClassVisitsRequest.md +9 -0
- data/docs/GetClassVisitsResponse.md +8 -0
- data/docs/GetClassesRequest.md +22 -0
- data/docs/GetClassesResponse.md +9 -0
- data/docs/GetClientAccountBalancesRequest.md +12 -0
- data/docs/GetClientAccountBalancesResponse.md +9 -0
- data/docs/GetClientContractsRequest.md +12 -0
- data/docs/GetClientContractsResponse.md +9 -0
- data/docs/GetClientFormulaNotesRequest.md +11 -0
- data/docs/GetClientFormulaNotesResponse.md +9 -0
- data/docs/GetClientIndexesRequest.md +8 -0
- data/docs/GetClientIndexesResponse.md +8 -0
- data/docs/GetClientPurchasesRequest.md +13 -0
- data/docs/GetClientPurchasesResponse.md +9 -0
- data/docs/GetClientReferralTypesRequest.md +8 -0
- data/docs/GetClientReferralTypesResponse.md +8 -0
- data/docs/GetClientServicesRequest.md +20 -0
- data/docs/GetClientServicesResponse.md +9 -0
- data/docs/GetClientVisitsRequest.md +15 -0
- data/docs/GetClientVisitsResponse.md +9 -0
- data/docs/GetClientsRequest.md +13 -0
- data/docs/GetClientsResponse.md +9 -0
- data/docs/GetContactLogsRequest.md +16 -0
- data/docs/GetContactLogsResponse.md +9 -0
- data/docs/GetContractsRequest.md +13 -0
- data/docs/GetContractsResponse.md +9 -0
- data/docs/GetCrossRegionalClientAssociationsRequest.md +11 -0
- data/docs/GetCrossRegionalClientAssociationsResponse.md +9 -0
- data/docs/GetCustomClientFieldsRequest.md +9 -0
- data/docs/GetCustomClientFieldsResponse.md +9 -0
- data/docs/GetCustomPaymentMethodsRequest.md +9 -0
- data/docs/GetCustomPaymentMethodsResponse.md +9 -0
- data/docs/GetEnrollmentsRequest.md +16 -0
- data/docs/GetEnrollmentsResponse.md +9 -0
- data/docs/GetGiftCardResponse.md +9 -0
- data/docs/GetGiftCardsRequest.md +12 -0
- data/docs/GetLocationsRequest.md +9 -0
- data/docs/GetLocationsResponse.md +9 -0
- data/docs/GetPackagesRequest.md +11 -0
- data/docs/GetPackagesResponse.md +9 -0
- data/docs/GetProductsRequest.md +15 -0
- data/docs/GetProductsResponse.md +9 -0
- data/docs/GetProgramsRequest.md +11 -0
- data/docs/GetProgramsResponse.md +9 -0
- data/docs/GetRequiredClientFieldsResponse.md +8 -0
- data/docs/GetResourcesRequest.md +13 -0
- data/docs/GetResourcesResponse.md +9 -0
- data/docs/GetSalesRequest.md +7 -0
- data/docs/GetSalesResponse.md +9 -0
- data/docs/GetScheduleItemsRequest.md +14 -0
- data/docs/GetScheduleItemsResponse.md +9 -0
- data/docs/GetServicesRequest.md +18 -0
- data/docs/GetServicesResponse.md +9 -0
- data/docs/GetSessionTypesRequest.md +11 -0
- data/docs/GetSessionTypesResponse.md +9 -0
- data/docs/GetSitesRequest.md +10 -0
- data/docs/GetSitesResponse.md +9 -0
- data/docs/GetStaffAppointmentsRequest.md +15 -0
- data/docs/GetStaffAppointmentsResponse.md +9 -0
- data/docs/GetStaffPermissionsRequest.md +8 -0
- data/docs/GetStaffPermissionsResponse.md +8 -0
- data/docs/GetStaffRequest.md +14 -0
- data/docs/GetStaffResponse.md +9 -0
- data/docs/GetTimeClockRequest.md +13 -0
- data/docs/GetTimeClockResponse.md +9 -0
- data/docs/GetWaitlistEntriesRequest.md +14 -0
- data/docs/GetWaitlistEntriesResponse.md +9 -0
- data/docs/GiftCard.md +19 -0
- data/docs/GiftCardLayout.md +9 -0
- data/docs/IssueRequest.md +9 -0
- data/docs/IssueResponse.md +10 -0
- data/docs/Level.md +10 -0
- data/docs/Liability.md +10 -0
- data/docs/Location.md +32 -0
- data/docs/MembershipTypeRestriction.md +9 -0
- data/docs/ModelClass.md +33 -0
- data/docs/Package.md +13 -0
- data/docs/PaginationResponse.md +11 -0
- data/docs/PayrollApi.md +140 -0
- data/docs/Product.md +18 -0
- data/docs/Program.md +11 -0
- data/docs/ProspectStage.md +10 -0
- data/docs/PurchaseContractRequest.md +18 -0
- data/docs/PurchaseContractResponse.md +11 -0
- data/docs/PurchaseGiftCardRequest.md +19 -0
- data/docs/PurchaseGiftCardResponse.md +17 -0
- data/docs/PurchasedItem.md +9 -0
- data/docs/Relationship.md +10 -0
- data/docs/RemoveClientFromClassRequest.md +12 -0
- data/docs/RemoveClientFromClassResponse.md +8 -0
- data/docs/RemoveFromWaitlistRequest.md +8 -0
- data/docs/RemoveFromWaitlistResponse.md +7 -0
- data/docs/Resource.md +9 -0
- data/docs/Sale.md +15 -0
- data/docs/SaleApi.md +683 -0
- data/docs/SalePayment.md +12 -0
- data/docs/SalesRep.md +12 -0
- data/docs/SendPasswordResetEmailRequest.md +10 -0
- data/docs/Service.md +16 -0
- data/docs/SessionType.md +17 -0
- data/docs/Site.md +27 -0
- data/docs/SiteApi.md +362 -0
- data/docs/Size.md +9 -0
- data/docs/Staff.md +31 -0
- data/docs/StaffApi.md +131 -0
- data/docs/StaffPermissionGroup.md +11 -0
- data/docs/StoredCardInfo.md +8 -0
- data/docs/SubstituteClassTeacherRequest.md +13 -0
- data/docs/SubstituteClassTeacherResponse.md +8 -0
- data/docs/SubstituteTeacherClass.md +27 -0
- data/docs/TimeCardEvent.md +10 -0
- data/docs/TimeClockReport.md +13 -0
- data/docs/Unavailability.md +11 -0
- data/docs/UpcomingAutopayEvent.md +11 -0
- data/docs/UpdateAppointmentRequest.md +19 -0
- data/docs/UpdateAppointmentResponse.md +8 -0
- data/docs/UpdateClientRequest.md +11 -0
- data/docs/UpdateClientResponse.md +8 -0
- data/docs/UpdateClientServiceRequest.md +11 -0
- data/docs/UpdateClientServiceResponse.md +8 -0
- data/docs/UpdateClientVisitRequest.md +13 -0
- data/docs/UpdateClientVisitResponse.md +8 -0
- data/docs/UpdateContactLogComment.md +9 -0
- data/docs/UpdateContactLogRequest.md +16 -0
- data/docs/UpdateContactLogType.md +9 -0
- data/docs/UploadClientDocumentRequest.md +9 -0
- data/docs/UploadClientDocumentResponse.md +9 -0
- data/docs/UploadClientPhotoRequest.md +9 -0
- data/docs/UploadClientPhotoResponse.md +9 -0
- data/docs/User.md +11 -0
- data/docs/UserTokenApi.md +115 -0
- data/docs/Visit.md +25 -0
- data/docs/WaitlistEntry.md +16 -0
- data/git_push.sh +55 -0
- data/lib/swagger_client.rb +241 -0
- data/lib/swagger_client/api/appointment_api.rb +570 -0
- data/lib/swagger_client/api/class_api.rb +727 -0
- data/lib/swagger_client/api/client_api.rb +1795 -0
- data/lib/swagger_client/api/enrollment_api.rb +180 -0
- data/lib/swagger_client/api/payroll_api.rb +181 -0
- data/lib/swagger_client/api/sale_api.rb +829 -0
- data/lib/swagger_client/api/site_api.rb +433 -0
- data/lib/swagger_client/api/staff_api.rb +171 -0
- data/lib/swagger_client/api/user_token_api.rb +150 -0
- data/lib/swagger_client/api_client.rb +389 -0
- data/lib/swagger_client/api_error.rb +38 -0
- data/lib/swagger_client/configuration.rb +209 -0
- data/lib/swagger_client/models/add_appointment_request.rb +395 -0
- data/lib/swagger_client/models/add_appointment_response.rb +184 -0
- data/lib/swagger_client/models/add_arrival_request.rb +204 -0
- data/lib/swagger_client/models/add_arrival_response.rb +194 -0
- data/lib/swagger_client/models/add_client_request.rb +766 -0
- data/lib/swagger_client/models/add_client_response.rb +184 -0
- data/lib/swagger_client/models/add_client_to_class_request.rb +284 -0
- data/lib/swagger_client/models/add_client_to_class_response.rb +184 -0
- data/lib/swagger_client/models/add_client_to_class_visit.rb +442 -0
- data/lib/swagger_client/models/add_client_to_enrollment_request.rb +266 -0
- data/lib/swagger_client/models/add_contact_log_request.rb +278 -0
- data/lib/swagger_client/models/add_contact_log_type.rb +197 -0
- data/lib/swagger_client/models/amenity.rb +195 -0
- data/lib/swagger_client/models/appointment.rb +393 -0
- data/lib/swagger_client/models/appointment_option.rb +215 -0
- data/lib/swagger_client/models/assigned_client_index.rb +195 -0
- data/lib/swagger_client/models/autopay_schedule.rb +204 -0
- data/lib/swagger_client/models/availability.rb +257 -0
- data/lib/swagger_client/models/booking_window.rb +215 -0
- data/lib/swagger_client/models/checkout_appointment_booking_request.rb +246 -0
- data/lib/swagger_client/models/checkout_item.rb +196 -0
- data/lib/swagger_client/models/checkout_item_wrapper.rb +286 -0
- data/lib/swagger_client/models/checkout_payment_info.rb +196 -0
- data/lib/swagger_client/models/checkout_shopping_cart_request.rb +318 -0
- data/lib/swagger_client/models/class_description.rb +325 -0
- data/lib/swagger_client/models/class_payroll_event.rb +204 -0
- data/lib/swagger_client/models/class_schedule.rb +399 -0
- data/lib/swagger_client/models/client.rb +769 -0
- data/lib/swagger_client/models/client_contract.rb +301 -0
- data/lib/swagger_client/models/client_credit_card.rb +275 -0
- data/lib/swagger_client/models/client_document.rb +238 -0
- data/lib/swagger_client/models/client_index.rb +271 -0
- data/lib/swagger_client/models/client_index_value.rb +205 -0
- data/lib/swagger_client/models/client_membership.rb +340 -0
- data/lib/swagger_client/models/client_purchase_record.rb +265 -0
- data/lib/swagger_client/models/client_relationship.rb +205 -0
- data/lib/swagger_client/models/client_service.rb +319 -0
- data/lib/swagger_client/models/color.rb +195 -0
- data/lib/swagger_client/models/contact_log.rb +289 -0
- data/lib/swagger_client/models/contact_log_comment.rb +215 -0
- data/lib/swagger_client/models/contact_log_sub_type.rb +185 -0
- data/lib/swagger_client/models/contact_log_type.rb +197 -0
- data/lib/swagger_client/models/contract.rb +522 -0
- data/lib/swagger_client/models/contract_item.rb +244 -0
- data/lib/swagger_client/models/course.rb +275 -0
- data/lib/swagger_client/models/credit_card_info.rb +256 -0
- data/lib/swagger_client/models/cross_regional_client_association.rb +205 -0
- data/lib/swagger_client/models/custom_client_field.rb +205 -0
- data/lib/swagger_client/models/custom_client_field_value.rb +215 -0
- data/lib/swagger_client/models/custom_payment_method.rb +194 -0
- data/lib/swagger_client/models/formula_note.rb +225 -0
- data/lib/swagger_client/models/get_activation_code_response.rb +194 -0
- data/lib/swagger_client/models/get_active_client_memberships_request.rb +219 -0
- data/lib/swagger_client/models/get_active_client_memberships_response.rb +196 -0
- data/lib/swagger_client/models/get_active_session_times_request.rb +270 -0
- data/lib/swagger_client/models/get_active_session_times_response.rb +196 -0
- data/lib/swagger_client/models/get_appointment_options_response.rb +186 -0
- data/lib/swagger_client/models/get_bookable_items_request.rb +275 -0
- data/lib/swagger_client/models/get_bookable_items_response.rb +196 -0
- data/lib/swagger_client/models/get_class_descriptions_request.rb +256 -0
- data/lib/swagger_client/models/get_class_descriptions_response.rb +196 -0
- data/lib/swagger_client/models/get_class_payroll_request.rb +234 -0
- data/lib/swagger_client/models/get_class_payroll_response.rb +196 -0
- data/lib/swagger_client/models/get_class_schedules_request.rb +274 -0
- data/lib/swagger_client/models/get_class_schedules_response.rb +196 -0
- data/lib/swagger_client/models/get_class_visits_request.rb +194 -0
- data/lib/swagger_client/models/get_class_visits_response.rb +184 -0
- data/lib/swagger_client/models/get_classes_request.rb +338 -0
- data/lib/swagger_client/models/get_classes_response.rb +196 -0
- data/lib/swagger_client/models/get_client_account_balances_request.rb +231 -0
- data/lib/swagger_client/models/get_client_account_balances_response.rb +196 -0
- data/lib/swagger_client/models/get_client_contracts_request.rb +229 -0
- data/lib/swagger_client/models/get_client_contracts_response.rb +196 -0
- data/lib/swagger_client/models/get_client_formula_notes_request.rb +214 -0
- data/lib/swagger_client/models/get_client_formula_notes_response.rb +196 -0
- data/lib/swagger_client/models/get_client_indexes_request.rb +184 -0
- data/lib/swagger_client/models/get_client_indexes_response.rb +186 -0
- data/lib/swagger_client/models/get_client_purchases_request.rb +239 -0
- data/lib/swagger_client/models/get_client_purchases_response.rb +196 -0
- data/lib/swagger_client/models/get_client_referral_types_request.rb +184 -0
- data/lib/swagger_client/models/get_client_referral_types_response.rb +186 -0
- data/lib/swagger_client/models/get_client_services_request.rb +313 -0
- data/lib/swagger_client/models/get_client_services_response.rb +196 -0
- data/lib/swagger_client/models/get_client_visits_request.rb +259 -0
- data/lib/swagger_client/models/get_client_visits_response.rb +196 -0
- data/lib/swagger_client/models/get_clients_request.rb +236 -0
- data/lib/swagger_client/models/get_clients_response.rb +196 -0
- data/lib/swagger_client/models/get_contact_logs_request.rb +275 -0
- data/lib/swagger_client/models/get_contact_logs_response.rb +196 -0
- data/lib/swagger_client/models/get_contracts_request.rb +241 -0
- data/lib/swagger_client/models/get_contracts_response.rb +196 -0
- data/lib/swagger_client/models/get_cross_regional_client_associations_request.rb +214 -0
- data/lib/swagger_client/models/get_cross_regional_client_associations_response.rb +196 -0
- data/lib/swagger_client/models/get_custom_client_fields_request.rb +194 -0
- data/lib/swagger_client/models/get_custom_client_fields_response.rb +196 -0
- data/lib/swagger_client/models/get_custom_payment_methods_request.rb +194 -0
- data/lib/swagger_client/models/get_custom_payment_methods_response.rb +196 -0
- data/lib/swagger_client/models/get_enrollments_request.rb +274 -0
- data/lib/swagger_client/models/get_enrollments_response.rb +196 -0
- data/lib/swagger_client/models/get_gift_card_response.rb +196 -0
- data/lib/swagger_client/models/get_gift_cards_request.rb +226 -0
- data/lib/swagger_client/models/get_locations_request.rb +194 -0
- data/lib/swagger_client/models/get_locations_response.rb +196 -0
- data/lib/swagger_client/models/get_packages_request.rb +216 -0
- data/lib/swagger_client/models/get_packages_response.rb +196 -0
- data/lib/swagger_client/models/get_products_request.rb +260 -0
- data/lib/swagger_client/models/get_products_response.rb +196 -0
- data/lib/swagger_client/models/get_programs_request.rb +248 -0
- data/lib/swagger_client/models/get_programs_response.rb +196 -0
- data/lib/swagger_client/models/get_required_client_fields_response.rb +186 -0
- data/lib/swagger_client/models/get_resources_request.rb +236 -0
- data/lib/swagger_client/models/get_resources_response.rb +196 -0
- data/lib/swagger_client/models/get_sales_request.rb +174 -0
- data/lib/swagger_client/models/get_sales_response.rb +196 -0
- data/lib/swagger_client/models/get_schedule_items_request.rb +248 -0
- data/lib/swagger_client/models/get_schedule_items_response.rb +196 -0
- data/lib/swagger_client/models/get_services_request.rb +290 -0
- data/lib/swagger_client/models/get_services_response.rb +196 -0
- data/lib/swagger_client/models/get_session_types_request.rb +216 -0
- data/lib/swagger_client/models/get_session_types_response.rb +196 -0
- data/lib/swagger_client/models/get_sites_request.rb +206 -0
- data/lib/swagger_client/models/get_sites_response.rb +196 -0
- data/lib/swagger_client/models/get_staff_appointments_request.rb +262 -0
- data/lib/swagger_client/models/get_staff_appointments_response.rb +196 -0
- data/lib/swagger_client/models/get_staff_permissions_request.rb +189 -0
- data/lib/swagger_client/models/get_staff_permissions_response.rb +184 -0
- data/lib/swagger_client/models/get_staff_request.rb +248 -0
- data/lib/swagger_client/models/get_staff_response.rb +195 -0
- data/lib/swagger_client/models/get_time_clock_request.rb +234 -0
- data/lib/swagger_client/models/get_time_clock_response.rb +196 -0
- data/lib/swagger_client/models/get_waitlist_entries_request.rb +252 -0
- data/lib/swagger_client/models/get_waitlist_entries_response.rb +196 -0
- data/lib/swagger_client/models/gift_card.rb +300 -0
- data/lib/swagger_client/models/gift_card_layout.rb +195 -0
- data/lib/swagger_client/models/issue_request.rb +195 -0
- data/lib/swagger_client/models/issue_response.rb +204 -0
- data/lib/swagger_client/models/level.rb +205 -0
- data/lib/swagger_client/models/liability.rb +204 -0
- data/lib/swagger_client/models/location.rb +428 -0
- data/lib/swagger_client/models/membership_type_restriction.rb +194 -0
- data/lib/swagger_client/models/model_class.rb +473 -0
- data/lib/swagger_client/models/package.rb +238 -0
- data/lib/swagger_client/models/pagination_response.rb +214 -0
- data/lib/swagger_client/models/product.rb +284 -0
- data/lib/swagger_client/models/program.rb +248 -0
- data/lib/swagger_client/models/prospect_stage.rb +204 -0
- data/lib/swagger_client/models/purchase_contract_request.rb +309 -0
- data/lib/swagger_client/models/purchase_contract_response.rb +214 -0
- data/lib/swagger_client/models/purchase_gift_card_request.rb +309 -0
- data/lib/swagger_client/models/purchase_gift_card_response.rb +274 -0
- data/lib/swagger_client/models/purchased_item.rb +194 -0
- data/lib/swagger_client/models/relationship.rb +205 -0
- data/lib/swagger_client/models/remove_client_from_class_request.rb +234 -0
- data/lib/swagger_client/models/remove_client_from_class_response.rb +184 -0
- data/lib/swagger_client/models/remove_from_waitlist_request.rb +191 -0
- data/lib/swagger_client/models/remove_from_waitlist_response.rb +174 -0
- data/lib/swagger_client/models/resource.rb +195 -0
- data/lib/swagger_client/models/sale.rb +258 -0
- data/lib/swagger_client/models/sale_payment.rb +224 -0
- data/lib/swagger_client/models/sales_rep.rb +226 -0
- data/lib/swagger_client/models/send_password_reset_email_request.rb +220 -0
- data/lib/swagger_client/models/service.rb +264 -0
- data/lib/swagger_client/models/session_type.rb +308 -0
- data/lib/swagger_client/models/site.rb +374 -0
- data/lib/swagger_client/models/size.rb +194 -0
- data/lib/swagger_client/models/staff.rb +420 -0
- data/lib/swagger_client/models/staff_permission_group.rb +240 -0
- data/lib/swagger_client/models/stored_card_info.rb +183 -0
- data/lib/swagger_client/models/substitute_class_teacher_request.rb +244 -0
- data/lib/swagger_client/models/substitute_class_teacher_response.rb +184 -0
- data/lib/swagger_client/models/substitute_teacher_class.rb +375 -0
- data/lib/swagger_client/models/time_card_event.rb +204 -0
- data/lib/swagger_client/models/time_clock_report.rb +236 -0
- data/lib/swagger_client/models/unavailability.rb +214 -0
- data/lib/swagger_client/models/upcoming_autopay_event.rb +248 -0
- data/lib/swagger_client/models/update_appointment_request.rb +301 -0
- data/lib/swagger_client/models/update_appointment_response.rb +184 -0
- data/lib/swagger_client/models/update_client_request.rb +219 -0
- data/lib/swagger_client/models/update_client_response.rb +184 -0
- data/lib/swagger_client/models/update_client_service_request.rb +219 -0
- data/lib/swagger_client/models/update_client_service_response.rb +184 -0
- data/lib/swagger_client/models/update_client_visit_request.rb +239 -0
- data/lib/swagger_client/models/update_client_visit_response.rb +184 -0
- data/lib/swagger_client/models/update_contact_log_comment.rb +194 -0
- data/lib/swagger_client/models/update_contact_log_request.rb +268 -0
- data/lib/swagger_client/models/update_contact_log_type.rb +196 -0
- data/lib/swagger_client/models/upload_client_document_request.rb +204 -0
- data/lib/swagger_client/models/upload_client_document_response.rb +194 -0
- data/lib/swagger_client/models/upload_client_photo_request.rb +223 -0
- data/lib/swagger_client/models/upload_client_photo_response.rb +194 -0
- data/lib/swagger_client/models/user.rb +214 -0
- data/lib/swagger_client/models/visit.rb +413 -0
- data/lib/swagger_client/models/waitlist_entry.rb +264 -0
- data/lib/swagger_client/version.rb +15 -0
- data/mindbody-api-6.0.0.gem +0 -0
- data/mindbody-swagger.gem +0 -0
- data/spec/api/appointment_api_spec.rb +165 -0
- data/spec/api/class_api_spec.rb +202 -0
- data/spec/api/client_api_spec.rb +435 -0
- data/spec/api/enrollment_api_spec.rb +72 -0
- data/spec/api/payroll_api_spec.rb +74 -0
- data/spec/api/sale_api_spec.rb +222 -0
- data/spec/api/site_api_spec.rb +132 -0
- data/spec/api/staff_api_spec.rb +69 -0
- data/spec/api/user_token_api_spec.rb +62 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/add_appointment_request_spec.rb +135 -0
- data/spec/models/add_appointment_response_spec.rb +41 -0
- data/spec/models/add_arrival_request_spec.rb +47 -0
- data/spec/models/add_arrival_response_spec.rb +47 -0
- data/spec/models/add_client_request_spec.rb +363 -0
- data/spec/models/add_client_response_spec.rb +41 -0
- data/spec/models/add_client_to_class_request_spec.rb +95 -0
- data/spec/models/add_client_to_class_response_spec.rb +41 -0
- data/spec/models/add_client_to_class_visit_spec.rb +173 -0
- data/spec/models/add_client_to_enrollment_request_spec.rb +83 -0
- data/spec/models/add_contact_log_request_spec.rb +89 -0
- data/spec/models/add_contact_log_type_spec.rb +47 -0
- data/spec/models/amenity_spec.rb +47 -0
- data/spec/models/appointment_option_spec.rb +59 -0
- data/spec/models/appointment_spec.rb +145 -0
- data/spec/models/assigned_client_index_spec.rb +47 -0
- data/spec/models/autopay_schedule_spec.rb +53 -0
- data/spec/models/availability_spec.rb +83 -0
- data/spec/models/booking_window_spec.rb +59 -0
- data/spec/models/checkout_appointment_booking_request_spec.rb +77 -0
- data/spec/models/checkout_item_spec.rb +47 -0
- data/spec/models/checkout_item_wrapper_spec.rb +95 -0
- data/spec/models/checkout_payment_info_spec.rb +47 -0
- data/spec/models/checkout_shopping_cart_request_spec.rb +101 -0
- data/spec/models/class_description_spec.rb +125 -0
- data/spec/models/class_payroll_event_spec.rb +53 -0
- data/spec/models/class_schedule_spec.rb +167 -0
- data/spec/models/client_contract_spec.rb +93 -0
- data/spec/models/client_credit_card_spec.rb +95 -0
- data/spec/models/client_document_spec.rb +53 -0
- data/spec/models/client_index_spec.rb +75 -0
- data/spec/models/client_index_value_spec.rb +53 -0
- data/spec/models/client_membership_spec.rb +117 -0
- data/spec/models/client_purchase_record_spec.rb +89 -0
- data/spec/models/client_relationship_spec.rb +53 -0
- data/spec/models/client_service_spec.rb +105 -0
- data/spec/models/client_spec.rb +367 -0
- data/spec/models/color_spec.rb +47 -0
- data/spec/models/contact_log_comment_spec.rb +59 -0
- data/spec/models/contact_log_spec.rb +101 -0
- data/spec/models/contact_log_sub_type_spec.rb +41 -0
- data/spec/models/contact_log_type_spec.rb +47 -0
- data/spec/models/contract_item_spec.rb +77 -0
- data/spec/models/contract_spec.rb +239 -0
- data/spec/models/course_spec.rb +95 -0
- data/spec/models/credit_card_info_spec.rb +89 -0
- data/spec/models/cross_regional_client_association_spec.rb +53 -0
- data/spec/models/custom_client_field_spec.rb +53 -0
- data/spec/models/custom_client_field_value_spec.rb +59 -0
- data/spec/models/custom_payment_method_spec.rb +47 -0
- data/spec/models/formula_note_spec.rb +65 -0
- data/spec/models/get_activation_code_response_spec.rb +47 -0
- data/spec/models/get_active_client_memberships_request_spec.rb +59 -0
- data/spec/models/get_active_client_memberships_response_spec.rb +47 -0
- data/spec/models/get_active_session_times_request_spec.rb +75 -0
- data/spec/models/get_active_session_times_response_spec.rb +47 -0
- data/spec/models/get_appointment_options_response_spec.rb +41 -0
- data/spec/models/get_bookable_items_request_spec.rb +89 -0
- data/spec/models/get_bookable_items_response_spec.rb +47 -0
- data/spec/models/get_class_descriptions_request_spec.rb +83 -0
- data/spec/models/get_class_descriptions_response_spec.rb +47 -0
- data/spec/models/get_class_payroll_request_spec.rb +71 -0
- data/spec/models/get_class_payroll_response_spec.rb +47 -0
- data/spec/models/get_class_schedules_request_spec.rb +89 -0
- data/spec/models/get_class_schedules_response_spec.rb +47 -0
- data/spec/models/get_class_visits_request_spec.rb +47 -0
- data/spec/models/get_class_visits_response_spec.rb +41 -0
- data/spec/models/get_classes_request_spec.rb +125 -0
- data/spec/models/get_classes_response_spec.rb +47 -0
- data/spec/models/get_client_account_balances_request_spec.rb +65 -0
- data/spec/models/get_client_account_balances_response_spec.rb +47 -0
- data/spec/models/get_client_contracts_request_spec.rb +65 -0
- data/spec/models/get_client_contracts_response_spec.rb +47 -0
- data/spec/models/get_client_formula_notes_request_spec.rb +59 -0
- data/spec/models/get_client_formula_notes_response_spec.rb +47 -0
- data/spec/models/get_client_indexes_request_spec.rb +41 -0
- data/spec/models/get_client_indexes_response_spec.rb +41 -0
- data/spec/models/get_client_purchases_request_spec.rb +71 -0
- data/spec/models/get_client_purchases_response_spec.rb +47 -0
- data/spec/models/get_client_referral_types_request_spec.rb +41 -0
- data/spec/models/get_client_referral_types_response_spec.rb +41 -0
- data/spec/models/get_client_services_request_spec.rb +113 -0
- data/spec/models/get_client_services_response_spec.rb +47 -0
- data/spec/models/get_client_visits_request_spec.rb +83 -0
- data/spec/models/get_client_visits_response_spec.rb +47 -0
- data/spec/models/get_clients_request_spec.rb +71 -0
- data/spec/models/get_clients_response_spec.rb +47 -0
- data/spec/models/get_contact_logs_request_spec.rb +89 -0
- data/spec/models/get_contact_logs_response_spec.rb +47 -0
- data/spec/models/get_contracts_request_spec.rb +71 -0
- data/spec/models/get_contracts_response_spec.rb +47 -0
- data/spec/models/get_cross_regional_client_associations_request_spec.rb +59 -0
- data/spec/models/get_cross_regional_client_associations_response_spec.rb +47 -0
- data/spec/models/get_custom_client_fields_request_spec.rb +47 -0
- data/spec/models/get_custom_client_fields_response_spec.rb +47 -0
- data/spec/models/get_custom_payment_methods_request_spec.rb +47 -0
- data/spec/models/get_custom_payment_methods_response_spec.rb +47 -0
- data/spec/models/get_enrollments_request_spec.rb +89 -0
- data/spec/models/get_enrollments_response_spec.rb +47 -0
- data/spec/models/get_gift_card_response_spec.rb +47 -0
- data/spec/models/get_gift_cards_request_spec.rb +65 -0
- data/spec/models/get_locations_request_spec.rb +47 -0
- data/spec/models/get_locations_response_spec.rb +47 -0
- data/spec/models/get_packages_request_spec.rb +59 -0
- data/spec/models/get_packages_response_spec.rb +47 -0
- data/spec/models/get_products_request_spec.rb +83 -0
- data/spec/models/get_products_response_spec.rb +47 -0
- data/spec/models/get_programs_request_spec.rb +63 -0
- data/spec/models/get_programs_response_spec.rb +47 -0
- data/spec/models/get_required_client_fields_response_spec.rb +41 -0
- data/spec/models/get_resources_request_spec.rb +71 -0
- data/spec/models/get_resources_response_spec.rb +47 -0
- data/spec/models/get_sales_request_spec.rb +35 -0
- data/spec/models/get_sales_response_spec.rb +47 -0
- data/spec/models/get_schedule_items_request_spec.rb +77 -0
- data/spec/models/get_schedule_items_response_spec.rb +47 -0
- data/spec/models/get_services_request_spec.rb +101 -0
- data/spec/models/get_services_response_spec.rb +47 -0
- data/spec/models/get_session_types_request_spec.rb +59 -0
- data/spec/models/get_session_types_response_spec.rb +47 -0
- data/spec/models/get_sites_request_spec.rb +53 -0
- data/spec/models/get_sites_response_spec.rb +47 -0
- data/spec/models/get_staff_appointments_request_spec.rb +83 -0
- data/spec/models/get_staff_appointments_response_spec.rb +47 -0
- data/spec/models/get_staff_permissions_request_spec.rb +41 -0
- data/spec/models/get_staff_permissions_response_spec.rb +41 -0
- data/spec/models/get_staff_request_spec.rb +77 -0
- data/spec/models/get_staff_response_spec.rb +47 -0
- data/spec/models/get_time_clock_request_spec.rb +71 -0
- data/spec/models/get_time_clock_response_spec.rb +47 -0
- data/spec/models/get_waitlist_entries_request_spec.rb +77 -0
- data/spec/models/get_waitlist_entries_response_spec.rb +47 -0
- data/spec/models/gift_card_layout_spec.rb +47 -0
- data/spec/models/gift_card_spec.rb +107 -0
- data/spec/models/issue_request_spec.rb +47 -0
- data/spec/models/issue_response_spec.rb +53 -0
- data/spec/models/level_spec.rb +53 -0
- data/spec/models/liability_spec.rb +53 -0
- data/spec/models/location_spec.rb +185 -0
- data/spec/models/membership_type_restriction_spec.rb +47 -0
- data/spec/models/model_class_spec.rb +195 -0
- data/spec/models/package_spec.rb +71 -0
- data/spec/models/pagination_response_spec.rb +59 -0
- data/spec/models/product_spec.rb +101 -0
- data/spec/models/program_spec.rb +63 -0
- data/spec/models/prospect_stage_spec.rb +53 -0
- data/spec/models/purchase_contract_request_spec.rb +101 -0
- data/spec/models/purchase_contract_response_spec.rb +59 -0
- data/spec/models/purchase_gift_card_request_spec.rb +107 -0
- data/spec/models/purchase_gift_card_response_spec.rb +95 -0
- data/spec/models/purchased_item_spec.rb +47 -0
- data/spec/models/relationship_spec.rb +53 -0
- data/spec/models/remove_client_from_class_request_spec.rb +65 -0
- data/spec/models/remove_client_from_class_response_spec.rb +41 -0
- data/spec/models/remove_from_waitlist_request_spec.rb +41 -0
- data/spec/models/remove_from_waitlist_response_spec.rb +35 -0
- data/spec/models/resource_spec.rb +47 -0
- data/spec/models/sale_payment_spec.rb +65 -0
- data/spec/models/sale_spec.rb +83 -0
- data/spec/models/sales_rep_spec.rb +65 -0
- data/spec/models/send_password_reset_email_request_spec.rb +53 -0
- data/spec/models/service_spec.rb +89 -0
- data/spec/models/session_type_spec.rb +99 -0
- data/spec/models/site_spec.rb +155 -0
- data/spec/models/size_spec.rb +47 -0
- data/spec/models/staff_permission_group_spec.rb +67 -0
- data/spec/models/staff_spec.rb +179 -0
- data/spec/models/stored_card_info_spec.rb +41 -0
- data/spec/models/substitute_class_teacher_request_spec.rb +71 -0
- data/spec/models/substitute_class_teacher_response_spec.rb +41 -0
- data/spec/models/substitute_teacher_class_spec.rb +155 -0
- data/spec/models/time_card_event_spec.rb +53 -0
- data/spec/models/time_clock_report_spec.rb +71 -0
- data/spec/models/unavailability_spec.rb +59 -0
- data/spec/models/upcoming_autopay_event_spec.rb +63 -0
- data/spec/models/update_appointment_request_spec.rb +107 -0
- data/spec/models/update_appointment_response_spec.rb +41 -0
- data/spec/models/update_client_request_spec.rb +59 -0
- data/spec/models/update_client_response_spec.rb +41 -0
- data/spec/models/update_client_service_request_spec.rb +59 -0
- data/spec/models/update_client_service_response_spec.rb +41 -0
- data/spec/models/update_client_visit_request_spec.rb +71 -0
- data/spec/models/update_client_visit_response_spec.rb +41 -0
- data/spec/models/update_contact_log_comment_spec.rb +47 -0
- data/spec/models/update_contact_log_request_spec.rb +89 -0
- data/spec/models/update_contact_log_type_spec.rb +47 -0
- data/spec/models/upload_client_document_request_spec.rb +47 -0
- data/spec/models/upload_client_document_response_spec.rb +47 -0
- data/spec/models/upload_client_photo_request_spec.rb +47 -0
- data/spec/models/upload_client_photo_response_spec.rb +47 -0
- data/spec/models/user_spec.rb +59 -0
- data/spec/models/visit_spec.rb +155 -0
- data/spec/models/waitlist_entry_spec.rb +89 -0
- data/spec/spec_helper.rb +111 -0
- data/swagger_client-1.0.0.gem +0 -0
- data/swagger_client.gemspec +45 -0
- metadata +1050 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
# SwaggerClient::AppointmentOption
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**display_name** | **String** | The name displayed for this appointment option. | [optional]
|
7
|
+
**name** | **String** | The name given to this option. | [optional]
|
8
|
+
**value** | **String** | The value of the option. | [optional]
|
9
|
+
**type** | **String** | The data type of the option value. | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# SwaggerClient::AssignedClientIndex
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The index ID assigned to the client. | [optional]
|
7
|
+
**value_id** | **Integer** | The index’s value ID. | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# SwaggerClient::AutopaySchedule
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**frequency_type** | **String** | Defines how often clients are charged. Possible values are: * SetNumberOfAutopays * MonthToMonth | [optional]
|
7
|
+
**frequency_value** | **Integer** | The interval of AutoPay frequency, combined with `FrequencyTimeUnit`. This value is null if `FrequencyType` is `MonthToMonth`. | [optional]
|
8
|
+
**frequency_time_unit** | **String** | Defines the time unit that sets how often to run the AutoPay, combined with `FrequencyValue`. This value is null if `FrequencyType` is `MonthToMonth`. Possible values are: * Weekly * Monthly * Yearly | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# SwaggerClient::Availability
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The ID of the availability. | [optional]
|
7
|
+
**staff** | [**Staff**](Staff.md) | Contains information about staff members. | [optional]
|
8
|
+
**session_type** | [**SessionType**](SessionType.md) | Contains information about the types of sessions. | [optional]
|
9
|
+
**programs** | [**Array<Program>**](Program.md) | Contains information about the programs. | [optional]
|
10
|
+
**start_date_time** | **DateTime** | The date and time the availability starts. | [optional]
|
11
|
+
**end_date_time** | **DateTime** | The date and time the availability ends. | [optional]
|
12
|
+
**bookable_end_date_time** | **DateTime** | The time of day that the last appointment can start. | [optional]
|
13
|
+
**location** | [**Location**](Location.md) | Contains information about the location. | [optional]
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# SwaggerClient::BookingWindow
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**start_date_time** | **DateTime** | Date and time that the booking window opens; that is, the first day of sales. | [optional]
|
7
|
+
**end_date_time** | **DateTime** | Date and time that the booking window closes; that is, the last day of sales. | [optional]
|
8
|
+
**daily_start_time** | **DateTime** | The time that the booking window opens; that is, the time that the store opens. | [optional]
|
9
|
+
**daily_end_time** | **DateTime** | The time that the booking window closes; that is, the time that the store closes. | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# SwaggerClient::CheckoutAppointmentBookingRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**staff_id** | **Integer** | The ID of the staff member who is to provide the service being booked. | [optional]
|
7
|
+
**location_id** | **Integer** | The ID of the location where the appointment is to take place. | [optional]
|
8
|
+
**session_type_id** | **Integer** | The ID of the session type of this appointment. | [optional]
|
9
|
+
**resources** | [**Array<Resource>**](Resource.md) | Contains information about the resources to be used for the appointment. | [optional]
|
10
|
+
**start_date_time** | **DateTime** | The date and time that the appointment is to start in the business’ timezone. This value must be passed in the format yyyy-mm-ddThh:mm:ss. | [optional]
|
11
|
+
**end_date_time** | **DateTime** | The date and time that the appointment is to end in the business’ timezone. This value must be passed in the format yyyy-mm-ddThh:mm:ss. | [optional]
|
12
|
+
**provider_id** | **String** | The National Provider Identifier (NPI) of the staff member who is to provide the service. For an explanation of Provider IDs, see [Provider IDs](https://support.mindbodyonline.com/s/article/204075743-Provider-IDs?language=en_US). | [optional]
|
13
|
+
|
14
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# SwaggerClient::CheckoutItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**type** | **String** | The type of item. Possible values are: * Service - Indicates that this item is a pricing option. * Product - Indicates that this item is a retail product. * Package - Indicates that this item is a package. * Tip - Indicates that this item is a tip. | [optional]
|
7
|
+
**metadata** | **Hash<String, Object>** | Contains information about the item to be purchased. See [Cart Item Metadata](https://developers.mindbodyonline.com/PublicDocumentation/V6#cart-item-metadata) for more information. | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SwaggerClient::CheckoutItemWrapper
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**item** | [**CheckoutItem**](CheckoutItem.md) | Information about an item in the cart. | [optional]
|
7
|
+
**discount_amount** | **Float** | The amount the item is discounted. This parameter is ignored for packages. | [optional]
|
8
|
+
**appointment_booking_requests** | [**Array<CheckoutAppointmentBookingRequest>**](CheckoutAppointmentBookingRequest.md) | A list of appointments to be booked then paid for by this item. This parameter applies only to pricing option items. | [optional]
|
9
|
+
**enrollment_ids** | **Array<Integer>** | A list of enrollment IDs that this item is to pay for. This parameter applies only to pricing option items. | [optional]
|
10
|
+
**class_ids** | **Array<Integer>** | A list of class IDs that this item is to pay for. This parameter applies only to pricing option items. | [optional]
|
11
|
+
**course_ids** | **Array<Integer>** | A list of course IDs that this item is to pay for. This parameter applies only to pricing option items. | [optional]
|
12
|
+
**visit_ids** | **Array<Integer>** | A list of visit IDs that this item is to pay for. This parameter applies only to pricing option items. | [optional]
|
13
|
+
**appointment_ids** | **Array<Integer>** | A list of appointment IDs that this item is to reconcile. | [optional]
|
14
|
+
**id** | **Integer** | The item’s unique ID within the cart. | [optional]
|
15
|
+
**quantity** | **Integer** | The number of this item to be purchased. | [optional]
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# SwaggerClient::CheckoutPaymentInfo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**type** | **String** | The type of payment. Possible values are: * CreditCard - Indicates that this payment item is a credit card. * StoredCard - Indicates that this payment item is a credit card stored on the client’s account. * EncryptedTrackData - Indicates that this payment item is a swiped credit card. * TrackData - Indicates that this payment item is a swiped credit card. * DebitAccount - Indicates that funds should be debited from the client’s account. * Custom - Indicates that this payment item is a custom payment method configured by the business. * Comp - Indicates that this payment item is making all or part of the cart’s total complementary. * Cash - Indicates that this payment item is cash. * Check - Indicates that this payment item is a check. * GiftCard - Indicates that this payment item is a gift card. | [optional]
|
7
|
+
**metadata** | **Hash<String, Object>** | Contains information about the cart’s payments. See [Payment Item Metadata](https://developers.mindbodyonline.com/PublicDocumentation/V6#payment-item-metadata) for more information. | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# SwaggerClient::CheckoutShoppingCartRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**cart_id** | **String** | The unique ID of the shopping cart to be processed. You can use this value to maintain a persistent cart. If you do not specify a cart ID, the MINDBODY software generates one. | [optional]
|
7
|
+
**client_id** | **String** | The RSSID of the client making the purchase. A cart can be validated without a client ID, but a client ID must be specified to complete a sale. |
|
8
|
+
**test** | **BOOLEAN** | When `true`, indicates that the contents of the cart are validated, but the transaction does not take place. You should use this parameter during testing and when checking the calculated totals of the items in the cart.<br /> When `false`, the transaction takes place and the database is affected.<br /> Default: **false** | [optional]
|
9
|
+
**items** | [**Array<CheckoutItemWrapper>**](CheckoutItemWrapper.md) | A list of the items in the cart. |
|
10
|
+
**in_store** | **BOOLEAN** | When `true`, indicates that the cart is to be completed by a staff member and is to take place at one of the business’ physical locations.<br /> When `false`, indicates that the cart is to be completed by a client from the business’ online store.<br /> Default: **false** | [optional]
|
11
|
+
**promotion_code** | **String** | Promotion code to be applied to the cart. | [optional]
|
12
|
+
**payments** | [**Array<CheckoutPaymentInfo>**](CheckoutPaymentInfo.md) | A list of payment information objects to be applied to payment against the items in the cart. |
|
13
|
+
**send_email** | **BOOLEAN** | When `true`, sends a purchase receipt email to the client. Note that all appropriate permissions and settings must be enabled for the client to receive an email.<br /> Default: **false** | [optional]
|
14
|
+
**location_id** | **Integer** | The location ID to be used for pulling business mode prices and taxes. If no location ID is supplied, it defaults to the online store, represented by a null value. Default: **null** (the online store) | [optional]
|
15
|
+
**image** | **String** | The byte array data of the signature image. | [optional]
|
16
|
+
**image_file_name** | **String** | The name of the signature image being uploaded. | [optional]
|
17
|
+
|
18
|
+
|
data/docs/ClassApi.md
ADDED
@@ -0,0 +1,589 @@
|
|
1
|
+
# SwaggerClient::ClassApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.mindbodyonline.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**class_add_client_to_class**](ClassApi.md#class_add_client_to_class) | **POST** /public/v{version}/class/addclienttoclass | Book a client into a class.
|
8
|
+
[**class_get_class_descriptions**](ClassApi.md#class_get_class_descriptions) | **GET** /public/v{version}/class/classdescriptions | Get class descriptions.
|
9
|
+
[**class_get_class_schedules**](ClassApi.md#class_get_class_schedules) | **GET** /public/v{version}/class/classschedules | Get class schedules.
|
10
|
+
[**class_get_class_visits**](ClassApi.md#class_get_class_visits) | **GET** /public/v{version}/class/classvisits | Get information about clients booked in a class.
|
11
|
+
[**class_get_classes**](ClassApi.md#class_get_classes) | **GET** /public/v{version}/class/classes | Get scheduled classes.
|
12
|
+
[**class_get_waitlist_entries**](ClassApi.md#class_get_waitlist_entries) | **GET** /public/v{version}/class/waitlistentries | Get waiting list entries.
|
13
|
+
[**class_remove_client_from_class**](ClassApi.md#class_remove_client_from_class) | **POST** /public/v{version}/class/removeclientfromclass | Remove a client from a class.
|
14
|
+
[**class_remove_from_waitlist**](ClassApi.md#class_remove_from_waitlist) | **POST** /public/v{version}/class/removefromwaitlist | Remove a client from a waiting list.
|
15
|
+
[**class_substitute_class_teacher**](ClassApi.md#class_substitute_class_teacher) | **POST** /public/v{version}/class/substituteclassteacher | Substitute a class teacher.
|
16
|
+
|
17
|
+
|
18
|
+
# **class_add_client_to_class**
|
19
|
+
> AddClientToClassResponse class_add_client_to_class(request, site_id, version, opts)
|
20
|
+
|
21
|
+
Book a client into a class.
|
22
|
+
|
23
|
+
This endpoint adds a client to a class or to a class waiting list. It is helpful to use this endpoint in the following situations: * Use after calling `GET Clients` and `GET Classes` so that you are sure which client to book in which class. * If adding a client to a class from a waiting list, use this call after you call `GET WaitlistEntries` and determine the ID of the waiting list from which you are moving the client. * If adding a client to a class and using a pricing option that the client has already purchased, use this call after you call `GET ClientServices` to determine the ID of the pricing option that the client wants to use. If you add a client to a class and the client purchases a new pricing option, use `GET Services`, `GET Classes`, and then `POST CheckoutShoppingCart` in place of this call. This endpoint also supports cross-regional class bookings. If you want to perform a cross-regional class booking, set `CrossRegionalBooking` to `true`. This endpoint does not support adding a user to a waiting list using a cross-regional client pricing option(service). Cross-regional booking workflows do not support client service scheduling restrictions. When performing a cross-regional class booking, this endpoint loops through the first ten sites that the client is associated with, looks for client pricing options at each of those sites, and then uses the oldest client pricing option found.It is important to note that this endpoint only loops through a maximum of ten associated client sites. If a `ClientID` is associated with more than ten sites in an organization, this endpoint only loops through the first ten.If you know that a client has a client service at another site, you can specify that site using the `CrossRegionalBookingClientServiceSiteId` query parameter. If you perform a cross-regional booking, two additional fields are included in the `SessionType` object of the response: * `SiteID`, which specifies where the client service is coming from * `CrossRegionalBookingPerformed`, a Boolean field that is set to `true` As a prerequisite to using this endpoint, your `SourceName` must have been granted access to the organization to which the site belongs.
|
24
|
+
|
25
|
+
### Example
|
26
|
+
```ruby
|
27
|
+
# load the gem
|
28
|
+
require 'swagger_client'
|
29
|
+
|
30
|
+
api_instance = SwaggerClient::ClassApi.new
|
31
|
+
|
32
|
+
request = SwaggerClient::AddClientToClassRequest.new # AddClientToClassRequest |
|
33
|
+
|
34
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
35
|
+
|
36
|
+
version = 'version_example' # String |
|
37
|
+
|
38
|
+
opts = {
|
39
|
+
authorization: '' # String | A staff user authorization token.
|
40
|
+
}
|
41
|
+
|
42
|
+
begin
|
43
|
+
#Book a client into a class.
|
44
|
+
result = api_instance.class_add_client_to_class(request, site_id, version, opts)
|
45
|
+
p result
|
46
|
+
rescue SwaggerClient::ApiError => e
|
47
|
+
puts "Exception when calling ClassApi->class_add_client_to_class: #{e}"
|
48
|
+
end
|
49
|
+
```
|
50
|
+
|
51
|
+
### Parameters
|
52
|
+
|
53
|
+
Name | Type | Description | Notes
|
54
|
+
------------- | ------------- | ------------- | -------------
|
55
|
+
**request** | [**AddClientToClassRequest**](AddClientToClassRequest.md)| |
|
56
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
57
|
+
**version** | **String**| |
|
58
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
59
|
+
|
60
|
+
### Return type
|
61
|
+
|
62
|
+
[**AddClientToClassResponse**](AddClientToClassResponse.md)
|
63
|
+
|
64
|
+
### Authorization
|
65
|
+
|
66
|
+
No authorization required
|
67
|
+
|
68
|
+
### HTTP request headers
|
69
|
+
|
70
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded, multipart/form-data
|
71
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
# **class_get_class_descriptions**
|
76
|
+
> GetClassDescriptionsResponse class_get_class_descriptions(site_id, version, opts)
|
77
|
+
|
78
|
+
Get class descriptions.
|
79
|
+
|
80
|
+
To find class descriptions associated with **scheduled classes**, pass `StaffId`, `StartClassDateTime`, `EndClassDateTime`, or `LocationId` in the request.
|
81
|
+
|
82
|
+
### Example
|
83
|
+
```ruby
|
84
|
+
# load the gem
|
85
|
+
require 'swagger_client'
|
86
|
+
|
87
|
+
api_instance = SwaggerClient::ClassApi.new
|
88
|
+
|
89
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
90
|
+
|
91
|
+
version = 'version_example' # String |
|
92
|
+
|
93
|
+
opts = {
|
94
|
+
authorization: '', # String | A staff user authorization token.
|
95
|
+
request_class_description_id: 56, # Integer | Filters to the single result with the given ID.
|
96
|
+
request_end_class_date_time: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filters the results to class descriptions for scheduled classes that happen before the given date and time.
|
97
|
+
request_limit: 56, # Integer | Number of results to include, defaults to 100
|
98
|
+
request_location_id: 56, # Integer | Filters results to classes descriptions for schedule classes as the given location.
|
99
|
+
request_offset: 56, # Integer | Page offset, defaults to 0.
|
100
|
+
request_program_ids: [56], # Array<Integer> | Filters results to class descriptions belonging to the given programs.
|
101
|
+
request_staff_id: 789, # Integer | Filters results to class descriptions for scheduled classes taught by the given staff member.
|
102
|
+
request_start_class_date_time: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | Filters the results to class descriptions for scheduled classes that happen on or after the given date and time.
|
103
|
+
}
|
104
|
+
|
105
|
+
begin
|
106
|
+
#Get class descriptions.
|
107
|
+
result = api_instance.class_get_class_descriptions(site_id, version, opts)
|
108
|
+
p result
|
109
|
+
rescue SwaggerClient::ApiError => e
|
110
|
+
puts "Exception when calling ClassApi->class_get_class_descriptions: #{e}"
|
111
|
+
end
|
112
|
+
```
|
113
|
+
|
114
|
+
### Parameters
|
115
|
+
|
116
|
+
Name | Type | Description | Notes
|
117
|
+
------------- | ------------- | ------------- | -------------
|
118
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
119
|
+
**version** | **String**| |
|
120
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
121
|
+
**request_class_description_id** | **Integer**| Filters to the single result with the given ID. | [optional]
|
122
|
+
**request_end_class_date_time** | **DateTime**| Filters the results to class descriptions for scheduled classes that happen before the given date and time. | [optional]
|
123
|
+
**request_limit** | **Integer**| Number of results to include, defaults to 100 | [optional]
|
124
|
+
**request_location_id** | **Integer**| Filters results to classes descriptions for schedule classes as the given location. | [optional]
|
125
|
+
**request_offset** | **Integer**| Page offset, defaults to 0. | [optional]
|
126
|
+
**request_program_ids** | [**Array<Integer>**](Integer.md)| Filters results to class descriptions belonging to the given programs. | [optional]
|
127
|
+
**request_staff_id** | **Integer**| Filters results to class descriptions for scheduled classes taught by the given staff member. | [optional]
|
128
|
+
**request_start_class_date_time** | **DateTime**| Filters the results to class descriptions for scheduled classes that happen on or after the given date and time. | [optional]
|
129
|
+
|
130
|
+
### Return type
|
131
|
+
|
132
|
+
[**GetClassDescriptionsResponse**](GetClassDescriptionsResponse.md)
|
133
|
+
|
134
|
+
### Authorization
|
135
|
+
|
136
|
+
No authorization required
|
137
|
+
|
138
|
+
### HTTP request headers
|
139
|
+
|
140
|
+
- **Content-Type**: Not defined
|
141
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
# **class_get_class_schedules**
|
146
|
+
> GetClassSchedulesResponse class_get_class_schedules(site_id, version, opts)
|
147
|
+
|
148
|
+
Get class schedules.
|
149
|
+
|
150
|
+
### Example
|
151
|
+
```ruby
|
152
|
+
# load the gem
|
153
|
+
require 'swagger_client'
|
154
|
+
|
155
|
+
api_instance = SwaggerClient::ClassApi.new
|
156
|
+
|
157
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
158
|
+
|
159
|
+
version = 'version_example' # String |
|
160
|
+
|
161
|
+
opts = {
|
162
|
+
authorization: '', # String | A staff user authorization token.
|
163
|
+
request_class_schedule_ids: [56], # Array<Integer> | The class schedule IDs. <br />Default: **all**
|
164
|
+
request_end_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | The end date of the range. Return any active enrollments that occur on or before this day. <br />Default: **StartDate**
|
165
|
+
request_limit: 56, # Integer | Number of results to include, defaults to 100
|
166
|
+
request_location_ids: [56], # Array<Integer> | The location IDs. <br />Default: **all**
|
167
|
+
request_offset: 56, # Integer | Page offset, defaults to 0.
|
168
|
+
request_program_ids: [56], # Array<Integer> | The program IDs. <br />Default: **all**
|
169
|
+
request_session_type_ids: [56], # Array<Integer> | The session type IDs. <br />Default: **all**
|
170
|
+
request_staff_ids: [56], # Array<Integer> | The staff IDs. <br />Default: **all**
|
171
|
+
request_start_date: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | The start date of the range. Return any active enrollments that occur on or after this day. <br />Default: **today’s date**
|
172
|
+
}
|
173
|
+
|
174
|
+
begin
|
175
|
+
#Get class schedules.
|
176
|
+
result = api_instance.class_get_class_schedules(site_id, version, opts)
|
177
|
+
p result
|
178
|
+
rescue SwaggerClient::ApiError => e
|
179
|
+
puts "Exception when calling ClassApi->class_get_class_schedules: #{e}"
|
180
|
+
end
|
181
|
+
```
|
182
|
+
|
183
|
+
### Parameters
|
184
|
+
|
185
|
+
Name | Type | Description | Notes
|
186
|
+
------------- | ------------- | ------------- | -------------
|
187
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
188
|
+
**version** | **String**| |
|
189
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
190
|
+
**request_class_schedule_ids** | [**Array<Integer>**](Integer.md)| The class schedule IDs. <br />Default: **all** | [optional]
|
191
|
+
**request_end_date** | **DateTime**| The end date of the range. Return any active enrollments that occur on or before this day. <br />Default: **StartDate** | [optional]
|
192
|
+
**request_limit** | **Integer**| Number of results to include, defaults to 100 | [optional]
|
193
|
+
**request_location_ids** | [**Array<Integer>**](Integer.md)| The location IDs. <br />Default: **all** | [optional]
|
194
|
+
**request_offset** | **Integer**| Page offset, defaults to 0. | [optional]
|
195
|
+
**request_program_ids** | [**Array<Integer>**](Integer.md)| The program IDs. <br />Default: **all** | [optional]
|
196
|
+
**request_session_type_ids** | [**Array<Integer>**](Integer.md)| The session type IDs. <br />Default: **all** | [optional]
|
197
|
+
**request_staff_ids** | [**Array<Integer>**](Integer.md)| The staff IDs. <br />Default: **all** | [optional]
|
198
|
+
**request_start_date** | **DateTime**| The start date of the range. Return any active enrollments that occur on or after this day. <br />Default: **today’s date** | [optional]
|
199
|
+
|
200
|
+
### Return type
|
201
|
+
|
202
|
+
[**GetClassSchedulesResponse**](GetClassSchedulesResponse.md)
|
203
|
+
|
204
|
+
### Authorization
|
205
|
+
|
206
|
+
No authorization required
|
207
|
+
|
208
|
+
### HTTP request headers
|
209
|
+
|
210
|
+
- **Content-Type**: Not defined
|
211
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
# **class_get_class_visits**
|
216
|
+
> GetClassVisitsResponse class_get_class_visits(site_id, version, opts)
|
217
|
+
|
218
|
+
Get information about clients booked in a class.
|
219
|
+
|
220
|
+
Returns a list of visits that contain information for a specified class. On success, this request returns the class object in the response with a list of visits.
|
221
|
+
|
222
|
+
### Example
|
223
|
+
```ruby
|
224
|
+
# load the gem
|
225
|
+
require 'swagger_client'
|
226
|
+
|
227
|
+
api_instance = SwaggerClient::ClassApi.new
|
228
|
+
|
229
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
230
|
+
|
231
|
+
version = 'version_example' # String |
|
232
|
+
|
233
|
+
opts = {
|
234
|
+
authorization: '', # String | A staff user authorization token.
|
235
|
+
request_class_id: 789, # Integer | The class ID.
|
236
|
+
request_last_modified_date: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | When included in the request, only records modified on or after the `LastModifiedDate` specified are included in the response.
|
237
|
+
}
|
238
|
+
|
239
|
+
begin
|
240
|
+
#Get information about clients booked in a class.
|
241
|
+
result = api_instance.class_get_class_visits(site_id, version, opts)
|
242
|
+
p result
|
243
|
+
rescue SwaggerClient::ApiError => e
|
244
|
+
puts "Exception when calling ClassApi->class_get_class_visits: #{e}"
|
245
|
+
end
|
246
|
+
```
|
247
|
+
|
248
|
+
### Parameters
|
249
|
+
|
250
|
+
Name | Type | Description | Notes
|
251
|
+
------------- | ------------- | ------------- | -------------
|
252
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
253
|
+
**version** | **String**| |
|
254
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
255
|
+
**request_class_id** | **Integer**| The class ID. | [optional]
|
256
|
+
**request_last_modified_date** | **DateTime**| When included in the request, only records modified on or after the `LastModifiedDate` specified are included in the response. | [optional]
|
257
|
+
|
258
|
+
### Return type
|
259
|
+
|
260
|
+
[**GetClassVisitsResponse**](GetClassVisitsResponse.md)
|
261
|
+
|
262
|
+
### Authorization
|
263
|
+
|
264
|
+
No authorization required
|
265
|
+
|
266
|
+
### HTTP request headers
|
267
|
+
|
268
|
+
- **Content-Type**: Not defined
|
269
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
# **class_get_classes**
|
274
|
+
> GetClassesResponse class_get_classes(site_id, version, opts)
|
275
|
+
|
276
|
+
Get scheduled classes.
|
277
|
+
|
278
|
+
### Example
|
279
|
+
```ruby
|
280
|
+
# load the gem
|
281
|
+
require 'swagger_client'
|
282
|
+
|
283
|
+
api_instance = SwaggerClient::ClassApi.new
|
284
|
+
|
285
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
286
|
+
|
287
|
+
version = 'version_example' # String |
|
288
|
+
|
289
|
+
opts = {
|
290
|
+
authorization: '', # String | A staff user authorization token.
|
291
|
+
request_class_description_ids: [56], # Array<Integer> | The requested class description IDs.
|
292
|
+
request_class_ids: [56], # Array<Integer> | The requested class IDs.
|
293
|
+
request_client_id: 'request_client_id_example', # String | The client ID of the client who is viewing this class list. Based on identity, the client may be able to see additional information, such as membership specials.
|
294
|
+
request_end_date_time: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | The requested end date for filtering. <br />Default: **today’s date**
|
295
|
+
request_hide_canceled_classes: true, # BOOLEAN | When `true`, canceled classes are removed from the response.<br /> When `false`, canceled classes are included in the response.<br /> Default: **false**
|
296
|
+
request_last_modified_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | When included in the request, only records modified on or after the `LastModifiedDate` specified are included in the response.
|
297
|
+
request_limit: 56, # Integer | Number of results to include, defaults to 100
|
298
|
+
request_location_ids: [56], # Array<Integer> | A list of location IDs on which to base the search.
|
299
|
+
request_offset: 56, # Integer | Page offset, defaults to 0.
|
300
|
+
request_program_ids: [56], # Array<Integer> | A list of program IDs on which to base the search.
|
301
|
+
request_scheduling_window: true, # BOOLEAN | When `true`, classes outside scheduling window are removed from the response.<br /> When `false`, classes are included in the response, regardless of the scheduling window.<br /> Default: **false**
|
302
|
+
request_semester_ids: [56], # Array<Integer> | A list of semester IDs on which to base the search.
|
303
|
+
request_session_type_ids: [56], # Array<Integer> | A list of session type IDs on which to base the search.
|
304
|
+
request_staff_ids: [56], # Array<Integer> | The requested IDs of the teaching staff members.
|
305
|
+
request_start_date_time: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | The requested start date for filtering. <br />Default: **today’s date**
|
306
|
+
}
|
307
|
+
|
308
|
+
begin
|
309
|
+
#Get scheduled classes.
|
310
|
+
result = api_instance.class_get_classes(site_id, version, opts)
|
311
|
+
p result
|
312
|
+
rescue SwaggerClient::ApiError => e
|
313
|
+
puts "Exception when calling ClassApi->class_get_classes: #{e}"
|
314
|
+
end
|
315
|
+
```
|
316
|
+
|
317
|
+
### Parameters
|
318
|
+
|
319
|
+
Name | Type | Description | Notes
|
320
|
+
------------- | ------------- | ------------- | -------------
|
321
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
322
|
+
**version** | **String**| |
|
323
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
324
|
+
**request_class_description_ids** | [**Array<Integer>**](Integer.md)| The requested class description IDs. | [optional]
|
325
|
+
**request_class_ids** | [**Array<Integer>**](Integer.md)| The requested class IDs. | [optional]
|
326
|
+
**request_client_id** | **String**| The client ID of the client who is viewing this class list. Based on identity, the client may be able to see additional information, such as membership specials. | [optional]
|
327
|
+
**request_end_date_time** | **DateTime**| The requested end date for filtering. <br />Default: **today’s date** | [optional]
|
328
|
+
**request_hide_canceled_classes** | **BOOLEAN**| When `true`, canceled classes are removed from the response.<br /> When `false`, canceled classes are included in the response.<br /> Default: **false** | [optional]
|
329
|
+
**request_last_modified_date** | **DateTime**| When included in the request, only records modified on or after the `LastModifiedDate` specified are included in the response. | [optional]
|
330
|
+
**request_limit** | **Integer**| Number of results to include, defaults to 100 | [optional]
|
331
|
+
**request_location_ids** | [**Array<Integer>**](Integer.md)| A list of location IDs on which to base the search. | [optional]
|
332
|
+
**request_offset** | **Integer**| Page offset, defaults to 0. | [optional]
|
333
|
+
**request_program_ids** | [**Array<Integer>**](Integer.md)| A list of program IDs on which to base the search. | [optional]
|
334
|
+
**request_scheduling_window** | **BOOLEAN**| When `true`, classes outside scheduling window are removed from the response.<br /> When `false`, classes are included in the response, regardless of the scheduling window.<br /> Default: **false** | [optional]
|
335
|
+
**request_semester_ids** | [**Array<Integer>**](Integer.md)| A list of semester IDs on which to base the search. | [optional]
|
336
|
+
**request_session_type_ids** | [**Array<Integer>**](Integer.md)| A list of session type IDs on which to base the search. | [optional]
|
337
|
+
**request_staff_ids** | [**Array<Integer>**](Integer.md)| The requested IDs of the teaching staff members. | [optional]
|
338
|
+
**request_start_date_time** | **DateTime**| The requested start date for filtering. <br />Default: **today’s date** | [optional]
|
339
|
+
|
340
|
+
### Return type
|
341
|
+
|
342
|
+
[**GetClassesResponse**](GetClassesResponse.md)
|
343
|
+
|
344
|
+
### Authorization
|
345
|
+
|
346
|
+
No authorization required
|
347
|
+
|
348
|
+
### HTTP request headers
|
349
|
+
|
350
|
+
- **Content-Type**: Not defined
|
351
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
# **class_get_waitlist_entries**
|
356
|
+
> GetWaitlistEntriesResponse class_get_waitlist_entries(site_id, version, opts)
|
357
|
+
|
358
|
+
Get waiting list entries.
|
359
|
+
|
360
|
+
Returns a list of waiting list entries for a specified class schedule or class. The request requires staff credentials and either a class schedule ID or class ID.
|
361
|
+
|
362
|
+
### Example
|
363
|
+
```ruby
|
364
|
+
# load the gem
|
365
|
+
require 'swagger_client'
|
366
|
+
|
367
|
+
api_instance = SwaggerClient::ClassApi.new
|
368
|
+
|
369
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
370
|
+
|
371
|
+
version = 'version_example' # String |
|
372
|
+
|
373
|
+
opts = {
|
374
|
+
authorization: '', # String | A staff user authorization token.
|
375
|
+
request_class_ids: [56], # Array<Integer> | The requested class IDs. If a class ID is present, the request automatically disregards any class schedule IDs in the request. <br /> Either `ClassScheduleIds`, `ClientIds`, `WaitlistEntryIds`, or `ClassIds` is required; the others become optional.<br /> Default: **all ClassIds**
|
376
|
+
request_class_schedule_ids: [56], # Array<Integer> | The requested class schedule IDs. If a class ID is present, the request automatically disregards any class schedule IDs in the request.<br /> Either `ClassScheduleIds`, `ClientIds`, `WaitlistEntryIds`, or `ClassIds` is required; the others become optional.<br /> Default: **all ClassScheduleIds**
|
377
|
+
request_client_ids: ['request_client_ids_example'], # Array<String> | The requested client IDs.<br /> Either `ClassScheduleIds`, `ClientIds`, `WaitlistEntryIds`, or `ClassIds` is required; the others become optional.<br /> Default: **all ClientIds**
|
378
|
+
request_hide_past_entries: true, # BOOLEAN | When `true`, indicates that past waiting list entries are hidden from clients.<br /> When `false`, indicates that past entries are not hidden from clients.<br /> Default: **false**
|
379
|
+
request_limit: 56, # Integer | Number of results to include, defaults to 100
|
380
|
+
request_offset: 56, # Integer | Page offset, defaults to 0.
|
381
|
+
request_waitlist_entry_ids: [56] # Array<Integer> | The requested waiting list entry IDs.<br /> Either `ClassScheduleIds`, `ClientIds`, `WaitlistEntryIds`, or `ClassIds` is required; the others become optional.<br /> Default: **all WaitlistEntryIds**
|
382
|
+
}
|
383
|
+
|
384
|
+
begin
|
385
|
+
#Get waiting list entries.
|
386
|
+
result = api_instance.class_get_waitlist_entries(site_id, version, opts)
|
387
|
+
p result
|
388
|
+
rescue SwaggerClient::ApiError => e
|
389
|
+
puts "Exception when calling ClassApi->class_get_waitlist_entries: #{e}"
|
390
|
+
end
|
391
|
+
```
|
392
|
+
|
393
|
+
### Parameters
|
394
|
+
|
395
|
+
Name | Type | Description | Notes
|
396
|
+
------------- | ------------- | ------------- | -------------
|
397
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
398
|
+
**version** | **String**| |
|
399
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
400
|
+
**request_class_ids** | [**Array<Integer>**](Integer.md)| The requested class IDs. If a class ID is present, the request automatically disregards any class schedule IDs in the request. <br /> Either `ClassScheduleIds`, `ClientIds`, `WaitlistEntryIds`, or `ClassIds` is required; the others become optional.<br /> Default: **all ClassIds** | [optional]
|
401
|
+
**request_class_schedule_ids** | [**Array<Integer>**](Integer.md)| The requested class schedule IDs. If a class ID is present, the request automatically disregards any class schedule IDs in the request.<br /> Either `ClassScheduleIds`, `ClientIds`, `WaitlistEntryIds`, or `ClassIds` is required; the others become optional.<br /> Default: **all ClassScheduleIds** | [optional]
|
402
|
+
**request_client_ids** | [**Array<String>**](String.md)| The requested client IDs.<br /> Either `ClassScheduleIds`, `ClientIds`, `WaitlistEntryIds`, or `ClassIds` is required; the others become optional.<br /> Default: **all ClientIds** | [optional]
|
403
|
+
**request_hide_past_entries** | **BOOLEAN**| When `true`, indicates that past waiting list entries are hidden from clients.<br /> When `false`, indicates that past entries are not hidden from clients.<br /> Default: **false** | [optional]
|
404
|
+
**request_limit** | **Integer**| Number of results to include, defaults to 100 | [optional]
|
405
|
+
**request_offset** | **Integer**| Page offset, defaults to 0. | [optional]
|
406
|
+
**request_waitlist_entry_ids** | [**Array<Integer>**](Integer.md)| The requested waiting list entry IDs.<br /> Either `ClassScheduleIds`, `ClientIds`, `WaitlistEntryIds`, or `ClassIds` is required; the others become optional.<br /> Default: **all WaitlistEntryIds** | [optional]
|
407
|
+
|
408
|
+
### Return type
|
409
|
+
|
410
|
+
[**GetWaitlistEntriesResponse**](GetWaitlistEntriesResponse.md)
|
411
|
+
|
412
|
+
### Authorization
|
413
|
+
|
414
|
+
No authorization required
|
415
|
+
|
416
|
+
### HTTP request headers
|
417
|
+
|
418
|
+
- **Content-Type**: Not defined
|
419
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
# **class_remove_client_from_class**
|
424
|
+
> RemoveClientFromClassResponse class_remove_client_from_class(request, site_id, version, opts)
|
425
|
+
|
426
|
+
Remove a client from a class.
|
427
|
+
|
428
|
+
### Example
|
429
|
+
```ruby
|
430
|
+
# load the gem
|
431
|
+
require 'swagger_client'
|
432
|
+
|
433
|
+
api_instance = SwaggerClient::ClassApi.new
|
434
|
+
|
435
|
+
request = SwaggerClient::RemoveClientFromClassRequest.new # RemoveClientFromClassRequest |
|
436
|
+
|
437
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
438
|
+
|
439
|
+
version = 'version_example' # String |
|
440
|
+
|
441
|
+
opts = {
|
442
|
+
authorization: '' # String | A staff user authorization token.
|
443
|
+
}
|
444
|
+
|
445
|
+
begin
|
446
|
+
#Remove a client from a class.
|
447
|
+
result = api_instance.class_remove_client_from_class(request, site_id, version, opts)
|
448
|
+
p result
|
449
|
+
rescue SwaggerClient::ApiError => e
|
450
|
+
puts "Exception when calling ClassApi->class_remove_client_from_class: #{e}"
|
451
|
+
end
|
452
|
+
```
|
453
|
+
|
454
|
+
### Parameters
|
455
|
+
|
456
|
+
Name | Type | Description | Notes
|
457
|
+
------------- | ------------- | ------------- | -------------
|
458
|
+
**request** | [**RemoveClientFromClassRequest**](RemoveClientFromClassRequest.md)| |
|
459
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
460
|
+
**version** | **String**| |
|
461
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
462
|
+
|
463
|
+
### Return type
|
464
|
+
|
465
|
+
[**RemoveClientFromClassResponse**](RemoveClientFromClassResponse.md)
|
466
|
+
|
467
|
+
### Authorization
|
468
|
+
|
469
|
+
No authorization required
|
470
|
+
|
471
|
+
### HTTP request headers
|
472
|
+
|
473
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded, multipart/form-data
|
474
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
475
|
+
|
476
|
+
|
477
|
+
|
478
|
+
# **class_remove_from_waitlist**
|
479
|
+
> RemoveFromWaitlistResponse class_remove_from_waitlist(request_waitlist_entry_ids, site_id, version, opts)
|
480
|
+
|
481
|
+
Remove a client from a waiting list.
|
482
|
+
|
483
|
+
This endpoint does not return a response. If a call to this endpoint results in a 200 OK HTTP status code, then the call was successful.
|
484
|
+
|
485
|
+
### Example
|
486
|
+
```ruby
|
487
|
+
# load the gem
|
488
|
+
require 'swagger_client'
|
489
|
+
|
490
|
+
api_instance = SwaggerClient::ClassApi.new
|
491
|
+
|
492
|
+
request_waitlist_entry_ids = [56] # Array<Integer> | A list of waiting list IDs to remove from waiting lists.
|
493
|
+
|
494
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
495
|
+
|
496
|
+
version = 'version_example' # String |
|
497
|
+
|
498
|
+
opts = {
|
499
|
+
authorization: '' # String | A staff user authorization token.
|
500
|
+
}
|
501
|
+
|
502
|
+
begin
|
503
|
+
#Remove a client from a waiting list.
|
504
|
+
result = api_instance.class_remove_from_waitlist(request_waitlist_entry_ids, site_id, version, opts)
|
505
|
+
p result
|
506
|
+
rescue SwaggerClient::ApiError => e
|
507
|
+
puts "Exception when calling ClassApi->class_remove_from_waitlist: #{e}"
|
508
|
+
end
|
509
|
+
```
|
510
|
+
|
511
|
+
### Parameters
|
512
|
+
|
513
|
+
Name | Type | Description | Notes
|
514
|
+
------------- | ------------- | ------------- | -------------
|
515
|
+
**request_waitlist_entry_ids** | [**Array<Integer>**](Integer.md)| A list of waiting list IDs to remove from waiting lists. |
|
516
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
517
|
+
**version** | **String**| |
|
518
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
519
|
+
|
520
|
+
### Return type
|
521
|
+
|
522
|
+
[**RemoveFromWaitlistResponse**](RemoveFromWaitlistResponse.md)
|
523
|
+
|
524
|
+
### Authorization
|
525
|
+
|
526
|
+
No authorization required
|
527
|
+
|
528
|
+
### HTTP request headers
|
529
|
+
|
530
|
+
- **Content-Type**: Not defined
|
531
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
# **class_substitute_class_teacher**
|
536
|
+
> SubstituteClassTeacherResponse class_substitute_class_teacher(request, site_id, version, opts)
|
537
|
+
|
538
|
+
Substitute a class teacher.
|
539
|
+
|
540
|
+
### Example
|
541
|
+
```ruby
|
542
|
+
# load the gem
|
543
|
+
require 'swagger_client'
|
544
|
+
|
545
|
+
api_instance = SwaggerClient::ClassApi.new
|
546
|
+
|
547
|
+
request = SwaggerClient::SubstituteClassTeacherRequest.new # SubstituteClassTeacherRequest |
|
548
|
+
|
549
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
550
|
+
|
551
|
+
version = 'version_example' # String |
|
552
|
+
|
553
|
+
opts = {
|
554
|
+
authorization: '' # String | A staff user authorization token.
|
555
|
+
}
|
556
|
+
|
557
|
+
begin
|
558
|
+
#Substitute a class teacher.
|
559
|
+
result = api_instance.class_substitute_class_teacher(request, site_id, version, opts)
|
560
|
+
p result
|
561
|
+
rescue SwaggerClient::ApiError => e
|
562
|
+
puts "Exception when calling ClassApi->class_substitute_class_teacher: #{e}"
|
563
|
+
end
|
564
|
+
```
|
565
|
+
|
566
|
+
### Parameters
|
567
|
+
|
568
|
+
Name | Type | Description | Notes
|
569
|
+
------------- | ------------- | ------------- | -------------
|
570
|
+
**request** | [**SubstituteClassTeacherRequest**](SubstituteClassTeacherRequest.md)| |
|
571
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
572
|
+
**version** | **String**| |
|
573
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
574
|
+
|
575
|
+
### Return type
|
576
|
+
|
577
|
+
[**SubstituteClassTeacherResponse**](SubstituteClassTeacherResponse.md)
|
578
|
+
|
579
|
+
### Authorization
|
580
|
+
|
581
|
+
No authorization required
|
582
|
+
|
583
|
+
### HTTP request headers
|
584
|
+
|
585
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded, multipart/form-data
|
586
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
587
|
+
|
588
|
+
|
589
|
+
|