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,17 @@
|
|
1
|
+
# SwaggerClient::AddClientToClassRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**client_id** | **String** | The ID of the client who is being booked into the class |
|
7
|
+
**class_id** | **Integer** | The ID of the class into which the client is being booked |
|
8
|
+
**test** | **BOOLEAN** | When `true`, indicates that input information is validated, but not committed.<br /> When `false`, the information is committed and the database is affected.<br /> Default: **false** | [optional]
|
9
|
+
**require_payment** | **BOOLEAN** | When `true`, the client must have an active, usable pricing option on their account.<br /> When `false` or omitted, an active pricing option is not required to complete the client’s booking. | [optional]
|
10
|
+
**waitlist** | **BOOLEAN** | When `true`, indicates that the client should be added to a specific class waiting list.<br /> When `false`, the client should not be added to the waiting list. | [optional]
|
11
|
+
**send_email** | **BOOLEAN** | When `true`, the subscriber’s configured Booking Confirmation automatic email is sent to the client. Note that an email is sent only if the client has an email address and automatic emails have been set up.<br /> When `false`, indicates that the client does not receive emails.<br /> Default: **false** | [optional]
|
12
|
+
**waitlist_entry_id** | **Integer** | The ID of the waiting list entry from which you are moving a client into a class. | [optional]
|
13
|
+
**client_service_id** | **Integer** | The ID of the pricing option on the client’s account that you want to use to pay for this booking, if payment is required at the time of the update. | [optional]
|
14
|
+
**cross_regional_booking** | **BOOLEAN** | When `true`, cross regional series are checked and used if applicable. | [optional]
|
15
|
+
**cross_regional_booking_client_service_site_id** | **Integer** | If the request is cross regional, use a purchased pricing option from this specified site. If omitted, an attempt is made to use an applicable pricing option from the local site. | [optional]
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# SwaggerClient::AddClientToClassResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**visit** | [**AddClientToClassVisit**](AddClientToClassVisit.md) | Contains information about the created visit. | [optional]
|
7
|
+
|
8
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# SwaggerClient::AddClientToClassVisit
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**cross_regional_booking_performed** | **BOOLEAN** | When `true`, indicates that the client is paying for the visit using a pricing option from one of their associated cross-regional profiles. | [optional]
|
7
|
+
**site_id** | **Integer** | The ID of the business from which cross-regional payment is applied. | [optional]
|
8
|
+
**waitlist_entry_id** | **Integer** | When this value is not null, it indicates that the client is on the waiting list for the requested class. The only additional fields that are populated when this is not null are: * ClassId * ClientId You can call GET WaitlistEntries using `WaitlistEntryId` to obtain more data about this waiting list entry. | [optional]
|
9
|
+
**appointment_id** | **Integer** | The appointment’s ID. | [optional]
|
10
|
+
**appointment_gender_preference** | **String** | The gender of staff member with whom the client prefers to book appointments. | [optional]
|
11
|
+
**appointment_status** | **String** | The status of the appointment. | [optional]
|
12
|
+
**class_id** | **Integer** | The class ID that was used to retrieve the visits. | [optional]
|
13
|
+
**client_id** | **String** | The ID of the client associated with the visit. | [optional]
|
14
|
+
**start_date_time** | **DateTime** | The time this class is scheduled to start. | [optional]
|
15
|
+
**end_date_time** | **DateTime** | The date and time the visit ends. The Public API returns UTC dates and times. For example, a class that occurs on June 25th, 2018 at 2:15PM (EST) appears as “2018-06-25T19:15:00Z” because EST is five hours behind UTC. Date time pairs always return in the format YYYY-MM-DDTHH:mm:ssZ. | [optional]
|
16
|
+
**id** | **Integer** | The ID of the visit. | [optional]
|
17
|
+
**last_modified_date_time** | **DateTime** | When included in the request, only records modified on or after the specified `LastModifiedDate` are included in the response. The Public API returns UTC dates and times. For example, a class that occurs on June 25th, 2018 at 2:15PM (EST) appears as “2018-06-25T19:15:00Z” because EST is five hours behind UTC. Date time pairs always return in the format YYYY-MM-DDTHH:mm:ssZ. | [optional]
|
18
|
+
**late_cancelled** | **BOOLEAN** | When `true`, indicates that the class has been `LateCancelled`.<br /> When `false`, indicates that the class has not been `LateCancelled`. | [optional]
|
19
|
+
**location_id** | **Integer** | The ID of the location where the visit took place or is to take place. | [optional]
|
20
|
+
**make_up** | **BOOLEAN** | When `true`, the client can make up this session and a session is not deducted from the pricing option that was used to sign the client into the enrollment. When the client has the make-up session, a session is automatically removed from a pricing option that matches the service category of the enrollment and is within the same date range of the missed session.<br /> When `false`, the client cannot make up this session. See [Enrollments: Make-ups](https://support.mindbodyonline.com/s/article/203259433-Enrollments-Make-ups?language=en_US) for more information. | [optional]
|
21
|
+
**name** | **String** | The name of the class. | [optional]
|
22
|
+
**service_id** | **Integer** | The ID of the pricing option used to pay for the class visit. | [optional]
|
23
|
+
**signed_in** | **BOOLEAN** | When `true`, indicates that the client has been signed in.<br /> When `false`, indicates that the client has not been signed in. | [optional]
|
24
|
+
**staff_id** | **Integer** | The ID of the staff member who is teaching the class. | [optional]
|
25
|
+
**web_signup** | **BOOLEAN** | When `true`, indicates that the client signed up online.<br /> When `false`, indicates that the client was signed up by a staff member. | [optional]
|
26
|
+
**action** | **String** | The action taken. | [optional]
|
27
|
+
|
28
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# SwaggerClient::AddClientToEnrollmentRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**client_id** | **String** | The ID of the client who is being booked into the enrollment. |
|
7
|
+
**class_schedule_id** | **Integer** | The ID of the class schedule (enrollment) into which the client is being booked. |
|
8
|
+
**enroll_date_forward** | **DateTime** | Enroll the clients from this date forward. `EnrollDateForward` takes priority over open enrollment. | [optional]
|
9
|
+
**enroll_open** | **Array<DateTime>** | Enroll for selected days. | [optional]
|
10
|
+
**test** | **BOOLEAN** | When `true`, input information is validated, but not committed.<br /> Default: **false** | [optional]
|
11
|
+
**send_email** | **BOOLEAN** | When `true`, indicates that the client should be sent an email. An email is only sent if the client has an email address and automatic emails have been set up.<br /> Default: **false** | [optional]
|
12
|
+
**waitlist** | **BOOLEAN** | When `true`, the client is added to a specific enrollments waiting list. | [optional]
|
13
|
+
**waitlist_entry_id** | **Integer** | The waiting list entry to add. Used to add a client to an enrollment from a waiting list entry. | [optional]
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# SwaggerClient::AddContactLogRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**client_id** | **String** | The ID of the client whose contact log is being added. |
|
7
|
+
**assigned_to_staff_id** | **Integer** | The ID of the staff member to whom the contact log is assigned. | [optional]
|
8
|
+
**text** | **String** | The body of the contact log. | [optional]
|
9
|
+
**followup_by_date** | **DateTime** | The date by which the assigned staff member should complete this contact log. | [optional]
|
10
|
+
**contact_method** | **String** | How the client wants to be contacted. |
|
11
|
+
**contact_name** | **String** | The name of the person to be contacted by the assigned staff member. | [optional]
|
12
|
+
**comments** | **Array<String>** | Any comments on the contact log. | [optional]
|
13
|
+
**types** | [**Array<AddContactLogType>**](AddContactLogType.md) | The contact log types used to tag this contact log. | [optional]
|
14
|
+
**test** | **BOOLEAN** | When `true`, indicates that this is a test request and no data is inserted into the subscriber’s database.<br /> When `false`, the database is updated. | [optional]
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# SwaggerClient::AddContactLogType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The contact log type’s ID. | [optional]
|
7
|
+
**sub_types** | **Array<Integer>** | A list of the subtype IDs used to tag this contact log type. | [optional]
|
8
|
+
|
9
|
+
|
data/docs/Amenity.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# SwaggerClient::Amenity
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | The ID number of the amenity. | [optional]
|
7
|
+
**name** | **String** | The name of the amenity, for example, food or lockers. | [optional]
|
8
|
+
|
9
|
+
|
data/docs/Appointment.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# SwaggerClient::Appointment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**gender_preference** | **String** | The preferred gender of the appointment provider. | [optional]
|
7
|
+
**duration** | **Integer** | The duration of the appointment. | [optional]
|
8
|
+
**provider_id** | **String** | If a user has Complementary and Alternative Medicine features enabled, this property indicates the provider assigned to the appointment. | [optional]
|
9
|
+
**id** | **Integer** | The unique ID of the appointment. | [optional]
|
10
|
+
**status** | **String** | The status of this appointment. | [optional]
|
11
|
+
**start_date_time** | **DateTime** | The date and time the appointment is to start. | [optional]
|
12
|
+
**end_date_time** | **DateTime** | The date and time the appointment is to end. | [optional]
|
13
|
+
**notes** | **String** | Any notes associated with the appointment. | [optional]
|
14
|
+
**staff_requested** | **BOOLEAN** | When `true`, indicates that the staff member was requested specifically by the client. | [optional]
|
15
|
+
**program_id** | **Integer** | The ID of the program to which this appointment belongs. | [optional]
|
16
|
+
**session_type_id** | **Integer** | The ID of the session type of this appointment. | [optional]
|
17
|
+
**location_id** | **Integer** | The ID of the location where this appointment is to take place. | [optional]
|
18
|
+
**staff_id** | **Integer** | The ID of the staff member providing the service for this appointment. | [optional]
|
19
|
+
**client_id** | **String** | The RSSID of the client who is booked for this appointment. | [optional]
|
20
|
+
**first_appointment** | **BOOLEAN** | When `true`, indicates that this is the client’s first appointment at this site. | [optional]
|
21
|
+
**client_service_id** | **Integer** | The ID of the pass on the client’s account that is to pay for this appointment. | [optional]
|
22
|
+
**resources** | [**Array<Resource>**](Resource.md) | The resources this appointment is to use. | [optional]
|
23
|
+
|
24
|
+
|
@@ -0,0 +1,460 @@
|
|
1
|
+
# SwaggerClient::AppointmentApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.mindbodyonline.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**appointment_add_apppointment**](AppointmentApi.md#appointment_add_apppointment) | **POST** /public/v{version}/appointment/addappointment | Book a new appointment.
|
8
|
+
[**appointment_get_active_session_times**](AppointmentApi.md#appointment_get_active_session_times) | **GET** /public/v{version}/appointment/activesessiontimes | Get active session times.
|
9
|
+
[**appointment_get_appointment_options**](AppointmentApi.md#appointment_get_appointment_options) | **GET** /public/v{version}/appointment/appointmentoptions | Get appointment-related settings.
|
10
|
+
[**appointment_get_bookable_items**](AppointmentApi.md#appointment_get_bookable_items) | **GET** /public/v{version}/appointment/bookableitems | Get staff appointment availability.
|
11
|
+
[**appointment_get_schedule_items**](AppointmentApi.md#appointment_get_schedule_items) | **GET** /public/v{version}/appointment/scheduleitems | Get appointment schedule.
|
12
|
+
[**appointment_get_staff_appointments**](AppointmentApi.md#appointment_get_staff_appointments) | **GET** /public/v{version}/appointment/staffappointments | Get appointments grouped by staff member.
|
13
|
+
[**appointment_update_apppointment**](AppointmentApi.md#appointment_update_apppointment) | **POST** /public/v{version}/appointment/updateappointment | Update an existing appointment.
|
14
|
+
|
15
|
+
|
16
|
+
# **appointment_add_apppointment**
|
17
|
+
> AddAppointmentResponse appointment_add_apppointment(request, site_id, version, opts)
|
18
|
+
|
19
|
+
Book a new appointment.
|
20
|
+
|
21
|
+
To book an appointment, you must use a location ID, staff ID, client ID, session type ID, and the `StartDateTime` of the appointment. You can get most of this information using `GET BookableItems`.
|
22
|
+
|
23
|
+
### Example
|
24
|
+
```ruby
|
25
|
+
# load the gem
|
26
|
+
require 'swagger_client'
|
27
|
+
|
28
|
+
api_instance = SwaggerClient::AppointmentApi.new
|
29
|
+
|
30
|
+
request = SwaggerClient::AddAppointmentRequest.new # AddAppointmentRequest |
|
31
|
+
|
32
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
33
|
+
|
34
|
+
version = 'version_example' # String |
|
35
|
+
|
36
|
+
opts = {
|
37
|
+
authorization: '' # String | A staff user authorization token.
|
38
|
+
}
|
39
|
+
|
40
|
+
begin
|
41
|
+
#Book a new appointment.
|
42
|
+
result = api_instance.appointment_add_apppointment(request, site_id, version, opts)
|
43
|
+
p result
|
44
|
+
rescue SwaggerClient::ApiError => e
|
45
|
+
puts "Exception when calling AppointmentApi->appointment_add_apppointment: #{e}"
|
46
|
+
end
|
47
|
+
```
|
48
|
+
|
49
|
+
### Parameters
|
50
|
+
|
51
|
+
Name | Type | Description | Notes
|
52
|
+
------------- | ------------- | ------------- | -------------
|
53
|
+
**request** | [**AddAppointmentRequest**](AddAppointmentRequest.md)| |
|
54
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
55
|
+
**version** | **String**| |
|
56
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
57
|
+
|
58
|
+
### Return type
|
59
|
+
|
60
|
+
[**AddAppointmentResponse**](AddAppointmentResponse.md)
|
61
|
+
|
62
|
+
### Authorization
|
63
|
+
|
64
|
+
No authorization required
|
65
|
+
|
66
|
+
### HTTP request headers
|
67
|
+
|
68
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded, multipart/form-data
|
69
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
# **appointment_get_active_session_times**
|
74
|
+
> GetActiveSessionTimesResponse appointment_get_active_session_times(site_id, version, opts)
|
75
|
+
|
76
|
+
Get active session times.
|
77
|
+
|
78
|
+
Returns a list of the times that can be booked for a given program schedule type. `ActiveSessionTimes` represent the scheduling increments that can be booked during the active business hours for services.
|
79
|
+
|
80
|
+
### Example
|
81
|
+
```ruby
|
82
|
+
# load the gem
|
83
|
+
require 'swagger_client'
|
84
|
+
|
85
|
+
api_instance = SwaggerClient::AppointmentApi.new
|
86
|
+
|
87
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
88
|
+
|
89
|
+
version = 'version_example' # String |
|
90
|
+
|
91
|
+
opts = {
|
92
|
+
authorization: '', # String | A staff user authorization token.
|
93
|
+
request_end_time: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filters results to times that end on or before this time on the current date. Any date provided is ignored.. <br />Default: **23:59:59**
|
94
|
+
request_limit: 56, # Integer | Number of results to include, defaults to 100
|
95
|
+
request_offset: 56, # Integer | Page offset, defaults to 0.
|
96
|
+
request_schedule_type: 'request_schedule_type_example', # String | Filters on the provided the schedule type. Either `SessionTypeIds` or `ScheduleType` must be provided.
|
97
|
+
request_session_type_ids: [56], # Array<Integer> | Filters on the provided session type IDs. Either `SessionTypeIds` or `ScheduleType` must be provided.
|
98
|
+
request_start_time: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | Filters results to times that start on or after this time on the current date. Any date provided is ignored. <br />Default: **00:00:00**
|
99
|
+
}
|
100
|
+
|
101
|
+
begin
|
102
|
+
#Get active session times.
|
103
|
+
result = api_instance.appointment_get_active_session_times(site_id, version, opts)
|
104
|
+
p result
|
105
|
+
rescue SwaggerClient::ApiError => e
|
106
|
+
puts "Exception when calling AppointmentApi->appointment_get_active_session_times: #{e}"
|
107
|
+
end
|
108
|
+
```
|
109
|
+
|
110
|
+
### Parameters
|
111
|
+
|
112
|
+
Name | Type | Description | Notes
|
113
|
+
------------- | ------------- | ------------- | -------------
|
114
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
115
|
+
**version** | **String**| |
|
116
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
117
|
+
**request_end_time** | **DateTime**| Filters results to times that end on or before this time on the current date. Any date provided is ignored.. <br />Default: **23:59:59** | [optional]
|
118
|
+
**request_limit** | **Integer**| Number of results to include, defaults to 100 | [optional]
|
119
|
+
**request_offset** | **Integer**| Page offset, defaults to 0. | [optional]
|
120
|
+
**request_schedule_type** | **String**| Filters on the provided the schedule type. Either `SessionTypeIds` or `ScheduleType` must be provided. | [optional]
|
121
|
+
**request_session_type_ids** | [**Array<Integer>**](Integer.md)| Filters on the provided session type IDs. Either `SessionTypeIds` or `ScheduleType` must be provided. | [optional]
|
122
|
+
**request_start_time** | **DateTime**| Filters results to times that start on or after this time on the current date. Any date provided is ignored. <br />Default: **00:00:00** | [optional]
|
123
|
+
|
124
|
+
### Return type
|
125
|
+
|
126
|
+
[**GetActiveSessionTimesResponse**](GetActiveSessionTimesResponse.md)
|
127
|
+
|
128
|
+
### Authorization
|
129
|
+
|
130
|
+
No authorization required
|
131
|
+
|
132
|
+
### HTTP request headers
|
133
|
+
|
134
|
+
- **Content-Type**: Not defined
|
135
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
# **appointment_get_appointment_options**
|
140
|
+
> GetAppointmentOptionsResponse appointment_get_appointment_options(site_id, version, opts)
|
141
|
+
|
142
|
+
Get appointment-related settings.
|
143
|
+
|
144
|
+
This endpoint has no query parameters.
|
145
|
+
|
146
|
+
### Example
|
147
|
+
```ruby
|
148
|
+
# load the gem
|
149
|
+
require 'swagger_client'
|
150
|
+
|
151
|
+
api_instance = SwaggerClient::AppointmentApi.new
|
152
|
+
|
153
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
154
|
+
|
155
|
+
version = 'version_example' # String |
|
156
|
+
|
157
|
+
opts = {
|
158
|
+
authorization: '' # String | A staff user authorization token.
|
159
|
+
}
|
160
|
+
|
161
|
+
begin
|
162
|
+
#Get appointment-related settings.
|
163
|
+
result = api_instance.appointment_get_appointment_options(site_id, version, opts)
|
164
|
+
p result
|
165
|
+
rescue SwaggerClient::ApiError => e
|
166
|
+
puts "Exception when calling AppointmentApi->appointment_get_appointment_options: #{e}"
|
167
|
+
end
|
168
|
+
```
|
169
|
+
|
170
|
+
### Parameters
|
171
|
+
|
172
|
+
Name | Type | Description | Notes
|
173
|
+
------------- | ------------- | ------------- | -------------
|
174
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
175
|
+
**version** | **String**| |
|
176
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
177
|
+
|
178
|
+
### Return type
|
179
|
+
|
180
|
+
[**GetAppointmentOptionsResponse**](GetAppointmentOptionsResponse.md)
|
181
|
+
|
182
|
+
### Authorization
|
183
|
+
|
184
|
+
No authorization required
|
185
|
+
|
186
|
+
### HTTP request headers
|
187
|
+
|
188
|
+
- **Content-Type**: Not defined
|
189
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
# **appointment_get_bookable_items**
|
194
|
+
> GetBookableItemsResponse appointment_get_bookable_items(request_session_type_ids, site_id, version, opts)
|
195
|
+
|
196
|
+
Get staff appointment availability.
|
197
|
+
|
198
|
+
Returns a list of availabilities with the information needed to book appointments. Availabilities include information such as the location and its amenities, staff members, programs, and session types.
|
199
|
+
|
200
|
+
### Example
|
201
|
+
```ruby
|
202
|
+
# load the gem
|
203
|
+
require 'swagger_client'
|
204
|
+
|
205
|
+
api_instance = SwaggerClient::AppointmentApi.new
|
206
|
+
|
207
|
+
request_session_type_ids = [56] # Array<Integer> | A list of the requested session type IDs.
|
208
|
+
|
209
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
210
|
+
|
211
|
+
version = 'version_example' # String |
|
212
|
+
|
213
|
+
opts = {
|
214
|
+
authorization: '', # String | A staff user authorization token.
|
215
|
+
request_appointment_id: 789, # Integer | If provided, filters out the appointment with this ID.
|
216
|
+
request_end_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | The end date of the requested date range. <br />Default: **StartDate**
|
217
|
+
request_ignore_default_session_length: true, # BOOLEAN | When `true`, availabilities that are non-default return, for example, a 30-minute availability with a 60-minute default session length.<br /> When `false`, only availabilities that have the default session length return.
|
218
|
+
request_limit: 56, # Integer | Number of results to include, defaults to 100
|
219
|
+
request_location_ids: [56], # Array<Integer> | A list of the requested location IDs.
|
220
|
+
request_offset: 56, # Integer | Page offset, defaults to 0.
|
221
|
+
request_staff_ids: [56], # Array<Integer> | A list of the requested staff IDs.
|
222
|
+
request_start_date: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | The start date of the requested date range. <br />Default: **today’s date**
|
223
|
+
}
|
224
|
+
|
225
|
+
begin
|
226
|
+
#Get staff appointment availability.
|
227
|
+
result = api_instance.appointment_get_bookable_items(request_session_type_ids, site_id, version, opts)
|
228
|
+
p result
|
229
|
+
rescue SwaggerClient::ApiError => e
|
230
|
+
puts "Exception when calling AppointmentApi->appointment_get_bookable_items: #{e}"
|
231
|
+
end
|
232
|
+
```
|
233
|
+
|
234
|
+
### Parameters
|
235
|
+
|
236
|
+
Name | Type | Description | Notes
|
237
|
+
------------- | ------------- | ------------- | -------------
|
238
|
+
**request_session_type_ids** | [**Array<Integer>**](Integer.md)| A list of the requested session type IDs. |
|
239
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
240
|
+
**version** | **String**| |
|
241
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
242
|
+
**request_appointment_id** | **Integer**| If provided, filters out the appointment with this ID. | [optional]
|
243
|
+
**request_end_date** | **DateTime**| The end date of the requested date range. <br />Default: **StartDate** | [optional]
|
244
|
+
**request_ignore_default_session_length** | **BOOLEAN**| When `true`, availabilities that are non-default return, for example, a 30-minute availability with a 60-minute default session length.<br /> When `false`, only availabilities that have the default session length return. | [optional]
|
245
|
+
**request_limit** | **Integer**| Number of results to include, defaults to 100 | [optional]
|
246
|
+
**request_location_ids** | [**Array<Integer>**](Integer.md)| A list of the requested location IDs. | [optional]
|
247
|
+
**request_offset** | **Integer**| Page offset, defaults to 0. | [optional]
|
248
|
+
**request_staff_ids** | [**Array<Integer>**](Integer.md)| A list of the requested staff IDs. | [optional]
|
249
|
+
**request_start_date** | **DateTime**| The start date of the requested date range. <br />Default: **today’s date** | [optional]
|
250
|
+
|
251
|
+
### Return type
|
252
|
+
|
253
|
+
[**GetBookableItemsResponse**](GetBookableItemsResponse.md)
|
254
|
+
|
255
|
+
### Authorization
|
256
|
+
|
257
|
+
No authorization required
|
258
|
+
|
259
|
+
### HTTP request headers
|
260
|
+
|
261
|
+
- **Content-Type**: Not defined
|
262
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
# **appointment_get_schedule_items**
|
267
|
+
> GetScheduleItemsResponse appointment_get_schedule_items(site_id, version, opts)
|
268
|
+
|
269
|
+
Get appointment schedule.
|
270
|
+
|
271
|
+
Returns a list of schedule items, including appointments, availabilities, and unavailabilities. Unavailabilities are the times at which appointments cannot be booked, for example, on holidays or after hours when the business is closed.
|
272
|
+
|
273
|
+
### Example
|
274
|
+
```ruby
|
275
|
+
# load the gem
|
276
|
+
require 'swagger_client'
|
277
|
+
|
278
|
+
api_instance = SwaggerClient::AppointmentApi.new
|
279
|
+
|
280
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
281
|
+
|
282
|
+
version = 'version_example' # String |
|
283
|
+
|
284
|
+
opts = {
|
285
|
+
authorization: '', # String | A staff user authorization token.
|
286
|
+
request_end_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | The end date of the requested date range. <br />Default: **today’s date**
|
287
|
+
request_ignore_prep_finish_times: true, # BOOLEAN | When `true`, appointment preparation and finish unavailabilities are not returned. <br />Default: **false**
|
288
|
+
request_limit: 56, # Integer | Number of results to include, defaults to 100
|
289
|
+
request_location_ids: [56], # Array<Integer> | A list of requested location IDs.
|
290
|
+
request_offset: 56, # Integer | Page offset, defaults to 0.
|
291
|
+
request_staff_ids: [56], # Array<Integer> | A list of requested staff IDs.
|
292
|
+
request_start_date: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | The start date of the requested date range. <br />Default: **today’s date**
|
293
|
+
}
|
294
|
+
|
295
|
+
begin
|
296
|
+
#Get appointment schedule.
|
297
|
+
result = api_instance.appointment_get_schedule_items(site_id, version, opts)
|
298
|
+
p result
|
299
|
+
rescue SwaggerClient::ApiError => e
|
300
|
+
puts "Exception when calling AppointmentApi->appointment_get_schedule_items: #{e}"
|
301
|
+
end
|
302
|
+
```
|
303
|
+
|
304
|
+
### Parameters
|
305
|
+
|
306
|
+
Name | Type | Description | Notes
|
307
|
+
------------- | ------------- | ------------- | -------------
|
308
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
309
|
+
**version** | **String**| |
|
310
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
311
|
+
**request_end_date** | **DateTime**| The end date of the requested date range. <br />Default: **today’s date** | [optional]
|
312
|
+
**request_ignore_prep_finish_times** | **BOOLEAN**| When `true`, appointment preparation and finish unavailabilities are not returned. <br />Default: **false** | [optional]
|
313
|
+
**request_limit** | **Integer**| Number of results to include, defaults to 100 | [optional]
|
314
|
+
**request_location_ids** | [**Array<Integer>**](Integer.md)| A list of requested location IDs. | [optional]
|
315
|
+
**request_offset** | **Integer**| Page offset, defaults to 0. | [optional]
|
316
|
+
**request_staff_ids** | [**Array<Integer>**](Integer.md)| A list of requested staff IDs. | [optional]
|
317
|
+
**request_start_date** | **DateTime**| The start date of the requested date range. <br />Default: **today’s date** | [optional]
|
318
|
+
|
319
|
+
### Return type
|
320
|
+
|
321
|
+
[**GetScheduleItemsResponse**](GetScheduleItemsResponse.md)
|
322
|
+
|
323
|
+
### Authorization
|
324
|
+
|
325
|
+
No authorization required
|
326
|
+
|
327
|
+
### HTTP request headers
|
328
|
+
|
329
|
+
- **Content-Type**: Not defined
|
330
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
# **appointment_get_staff_appointments**
|
335
|
+
> GetStaffAppointmentsResponse appointment_get_staff_appointments(site_id, version, opts)
|
336
|
+
|
337
|
+
Get appointments grouped by staff member.
|
338
|
+
|
339
|
+
Returns a list of appointments by staff member.
|
340
|
+
|
341
|
+
### Example
|
342
|
+
```ruby
|
343
|
+
# load the gem
|
344
|
+
require 'swagger_client'
|
345
|
+
|
346
|
+
api_instance = SwaggerClient::AppointmentApi.new
|
347
|
+
|
348
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
349
|
+
|
350
|
+
version = 'version_example' # String |
|
351
|
+
|
352
|
+
opts = {
|
353
|
+
authorization: '', # String | A staff user authorization token.
|
354
|
+
request_appointment_ids: [56], # Array<Integer> | A list of the requested appointment IDs.
|
355
|
+
request_client_ids: ['request_client_ids_example'], # Array<String> | List of client IDs to be returned.
|
356
|
+
request_end_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | The end date of the requested date range. <br />Default: **StartDate**
|
357
|
+
request_limit: 56, # Integer | Number of results to include, defaults to 100
|
358
|
+
request_location_ids: [56], # Array<Integer> | A list of the requested location IDs.
|
359
|
+
request_offset: 56, # Integer | Page offset, defaults to 0.
|
360
|
+
request_staff_ids: [56], # Array<Integer> | List of staff IDs to be returned. Use a value of zero to return all staff appointments.
|
361
|
+
request_start_date: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | The start date of the requested date range. If omitted, the default is used. <br />Default: **today’s date**
|
362
|
+
}
|
363
|
+
|
364
|
+
begin
|
365
|
+
#Get appointments grouped by staff member.
|
366
|
+
result = api_instance.appointment_get_staff_appointments(site_id, version, opts)
|
367
|
+
p result
|
368
|
+
rescue SwaggerClient::ApiError => e
|
369
|
+
puts "Exception when calling AppointmentApi->appointment_get_staff_appointments: #{e}"
|
370
|
+
end
|
371
|
+
```
|
372
|
+
|
373
|
+
### Parameters
|
374
|
+
|
375
|
+
Name | Type | Description | Notes
|
376
|
+
------------- | ------------- | ------------- | -------------
|
377
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
378
|
+
**version** | **String**| |
|
379
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
380
|
+
**request_appointment_ids** | [**Array<Integer>**](Integer.md)| A list of the requested appointment IDs. | [optional]
|
381
|
+
**request_client_ids** | [**Array<String>**](String.md)| List of client IDs to be returned. | [optional]
|
382
|
+
**request_end_date** | **DateTime**| The end date of the requested date range. <br />Default: **StartDate** | [optional]
|
383
|
+
**request_limit** | **Integer**| Number of results to include, defaults to 100 | [optional]
|
384
|
+
**request_location_ids** | [**Array<Integer>**](Integer.md)| A list of the requested location IDs. | [optional]
|
385
|
+
**request_offset** | **Integer**| Page offset, defaults to 0. | [optional]
|
386
|
+
**request_staff_ids** | [**Array<Integer>**](Integer.md)| List of staff IDs to be returned. Use a value of zero to return all staff appointments. | [optional]
|
387
|
+
**request_start_date** | **DateTime**| The start date of the requested date range. If omitted, the default is used. <br />Default: **today’s date** | [optional]
|
388
|
+
|
389
|
+
### Return type
|
390
|
+
|
391
|
+
[**GetStaffAppointmentsResponse**](GetStaffAppointmentsResponse.md)
|
392
|
+
|
393
|
+
### Authorization
|
394
|
+
|
395
|
+
No authorization required
|
396
|
+
|
397
|
+
### HTTP request headers
|
398
|
+
|
399
|
+
- **Content-Type**: Not defined
|
400
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
# **appointment_update_apppointment**
|
405
|
+
> UpdateAppointmentResponse appointment_update_apppointment(request, site_id, version, opts)
|
406
|
+
|
407
|
+
Update an existing appointment.
|
408
|
+
|
409
|
+
To update the information for a specific appointment, you must have a staff user token with the proper permissions. Note that you can only update the appointment’s `StartDateTime`, `EndDateTime`, `StaffId`, `Notes`, and `SessionTypeId`.
|
410
|
+
|
411
|
+
### Example
|
412
|
+
```ruby
|
413
|
+
# load the gem
|
414
|
+
require 'swagger_client'
|
415
|
+
|
416
|
+
api_instance = SwaggerClient::AppointmentApi.new
|
417
|
+
|
418
|
+
request = SwaggerClient::UpdateAppointmentRequest.new # UpdateAppointmentRequest |
|
419
|
+
|
420
|
+
site_id = 'site_id_example' # String | ID of the site from which to pull data.
|
421
|
+
|
422
|
+
version = 'version_example' # String |
|
423
|
+
|
424
|
+
opts = {
|
425
|
+
authorization: '' # String | A staff user authorization token.
|
426
|
+
}
|
427
|
+
|
428
|
+
begin
|
429
|
+
#Update an existing appointment.
|
430
|
+
result = api_instance.appointment_update_apppointment(request, site_id, version, opts)
|
431
|
+
p result
|
432
|
+
rescue SwaggerClient::ApiError => e
|
433
|
+
puts "Exception when calling AppointmentApi->appointment_update_apppointment: #{e}"
|
434
|
+
end
|
435
|
+
```
|
436
|
+
|
437
|
+
### Parameters
|
438
|
+
|
439
|
+
Name | Type | Description | Notes
|
440
|
+
------------- | ------------- | ------------- | -------------
|
441
|
+
**request** | [**UpdateAppointmentRequest**](UpdateAppointmentRequest.md)| |
|
442
|
+
**site_id** | **String**| ID of the site from which to pull data. |
|
443
|
+
**version** | **String**| |
|
444
|
+
**authorization** | **String**| A staff user authorization token. | [optional] [default to ]
|
445
|
+
|
446
|
+
### Return type
|
447
|
+
|
448
|
+
[**UpdateAppointmentResponse**](UpdateAppointmentResponse.md)
|
449
|
+
|
450
|
+
### Authorization
|
451
|
+
|
452
|
+
No authorization required
|
453
|
+
|
454
|
+
### HTTP request headers
|
455
|
+
|
456
|
+
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded, multipart/form-data
|
457
|
+
- **Accept**: application/json, text/json, application/xml, text/xml, multipart/form-data
|
458
|
+
|
459
|
+
|
460
|
+
|