No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This PHP package is automatically generated by the Swagger Codegen project:
- API version: v6
- Build package: io.swagger.codegen.languages.PhpClientCodegen
PHP 5.5 and later
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}
],
"require": {
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
}
}
Then run composer install
Download the files and include autoload.php
:
require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
To run the unit tests:
composer install
./vendor/bin/phpunit
Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\AppointmentApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$request = new \Swagger\Client\Model\AddAppointmentRequest(); // \Swagger\Client\Model\AddAppointmentRequest |
$site_id = "site_id_example"; // string | ID of the site from which to pull data.
$version = "version_example"; // string |
$authorization = ""; // string | A staff user authorization token.
try {
$result = $apiInstance->appointmentAddApppointment($request, $site_id, $version, $authorization);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AppointmentApi->appointmentAddApppointment: ', $e->getMessage(), PHP_EOL;
}
?>
All URIs are relative to https://api.mindbodyonline.com
Class | Method | HTTP request | Description |
---|---|---|---|
AppointmentApi | appointmentAddApppointment | POST /public/v{version}/appointment/addappointment | Book a new appointment. |
AppointmentApi | appointmentGetActiveSessionTimes | GET /public/v{version}/appointment/activesessiontimes | Get active session times. |
AppointmentApi | appointmentGetAppointmentOptions | GET /public/v{version}/appointment/appointmentoptions | Get appointment-related settings. |
AppointmentApi | appointmentGetBookableItems | GET /public/v{version}/appointment/bookableitems | Get staff appointment availability. |
AppointmentApi | appointmentGetScheduleItems | GET /public/v{version}/appointment/scheduleitems | Get appointment schedule. |
AppointmentApi | appointmentGetStaffAppointments | GET /public/v{version}/appointment/staffappointments | Get appointments grouped by staff member. |
AppointmentApi | appointmentUpdateApppointment | POST /public/v{version}/appointment/updateappointment | Update an existing appointment. |
ClassApi | classAddClientToClass | POST /public/v{version}/class/addclienttoclass | Book a client into a class. |
ClassApi | classGetClassDescriptions | GET /public/v{version}/class/classdescriptions | Get class descriptions. |
ClassApi | classGetClassSchedules | GET /public/v{version}/class/classschedules | Get class schedules. |
ClassApi | classGetClassVisits | GET /public/v{version}/class/classvisits | Get information about clients booked in a class. |
ClassApi | classGetClasses | GET /public/v{version}/class/classes | Get scheduled classes. |
ClassApi | classGetWaitlistEntries | GET /public/v{version}/class/waitlistentries | Get waiting list entries. |
ClassApi | classRemoveClientFromClass | POST /public/v{version}/class/removeclientfromclass | Remove a client from a class. |
ClassApi | classRemoveFromWaitlist | POST /public/v{version}/class/removefromwaitlist | Remove a client from a waiting list. |
ClassApi | classSubstituteClassTeacher | POST /public/v{version}/class/substituteclassteacher | Substitute a class teacher. |
ClientApi | clientAddArrival | POST /public/v{version}/client/addarrival | Add an arrival for a client. |
ClientApi | clientAddClient | POST /public/v{version}/client/addclient | Add a client to a site. |
ClientApi | clientAddContactLog | POST /public/v{version}/client/addcontactlog | Add a contact log to a client's account. |
ClientApi | clientGetActiveClientMemberships | GET /public/v{version}/client/activeclientmemberships | Get a client's active memberships. |
ClientApi | clientGetClientAccountBalances | GET /public/v{version}/client/clientaccountbalances | Get account balance information for one or more client(s). |
ClientApi | clientGetClientContracts | GET /public/v{version}/client/clientcontracts | Get contracts that a client has purchased. |
ClientApi | clientGetClientFormulaNotes | GET /public/v{version}/client/clientformulanotes | Get a client's formula notes. |
ClientApi | clientGetClientIndexes | GET /public/v{version}/client/clientindexes | Get a site's configured client indexes and client index values. |
ClientApi | clientGetClientPurchases | GET /public/v{version}/client/clientpurchases | Get a client's purchase history. |
ClientApi | clientGetClientReferralTypes | GET /public/v{version}/client/clientreferraltypes | Get a site's configured client referral types. |
ClientApi | clientGetClientServices | GET /public/v{version}/client/clientservices | Get pricing options that a client has purchased. |
ClientApi | clientGetClientVisits | GET /public/v{version}/client/clientvisits | Get a client's visit history. |
ClientApi | clientGetClients | GET /public/v{version}/client/clients | Get clients. |
ClientApi | clientGetContactLogs | GET /public/v{version}/client/contactlogs | Get contact logs on a client's account. |
ClientApi | clientGetCrossRegionalClientAssociations | GET /public/v{version}/client/crossregionalclientassociations | Get a client's cross regional site associations. |
ClientApi | clientGetCustomClientFields | GET /public/v{version}/client/customclientfields | Get a site's configured custom client fields. |
ClientApi | clientGetRequiredClientFields | GET /public/v{version}/client/requiredclientfields | Get client required fields for a site. |
ClientApi | clientSendPasswordResetEmail | POST /public/v{version}/client/sendpasswordresetemail | Send a password reset email to a client. |
ClientApi | clientUpdateClient | POST /public/v{version}/client/updateclient | Update a client at a site. |
ClientApi | clientUpdateClientService | POST /public/v{version}/client/updateclientservice | Update a client's purchase pricing option. |
ClientApi | clientUpdateClientVisit | POST /public/v{version}/client/updateclientvisit | Update a client's visit. |
ClientApi | clientUpdateContactLog | POST /public/v{version}/client/updatecontactlog | Update a contact log on a client's account. |
ClientApi | clientUploadClientDocument | POST /public/v{version}/client/uploadclientdocument | Upload a document to a client's profile. |
ClientApi | clientUploadClientPhoto | POST /public/v{version}/client/uploadclientphoto | Upload a profile photo to a client's profile. |
EnrollmentApi | enrollmentAddClientToEnrollment | POST /public/v{version}/enrollment/addclienttoenrollment | Book a client into an enrollment. |
EnrollmentApi | enrollmentGetEnrollments | GET /public/v{version}/enrollment/enrollments | Get enrollments scheduled at a site. |
PayrollApi | payrollGetClassPayroll | GET /public/v{version}/payroll/classes | Get class payroll for staff members. |
PayrollApi | payrollGetTimeClock | GET /public/v{version}/payroll/timeclock | Get time card payroll for staff members. |
SaleApi | saleCheckoutShoppingCart | POST /public/v{version}/sale/checkoutshoppingcart | Purchase pricing options, packages, retail products, or tips for a client. |
SaleApi | saleGetAcceptedCardTypes | GET /public/v{version}/sale/acceptedcardtypes | Get credit cards types that a site accepts. |
SaleApi | saleGetContracts | GET /public/v{version}/sale/contracts | Get contracts available for purchase at a site. |
SaleApi | saleGetCustomPaymentMethods | GET /public/v{version}/sale/custompaymentmethods | Get payment methods that can be used to pay for sales at a site. |
SaleApi | saleGetGiftCards | GET /public/v{version}/sale/giftcards | Get gift cards available for purchase at a site. |
SaleApi | saleGetPackages | GET /public/v{version}/sale/packages | Get packages available for purchase at a site. |
SaleApi | saleGetProducts | GET /public/v{version}/sale/products | Get retail products available for purchase at a site. |
SaleApi | saleGetSales | GET /public/v{version}/sale/sales | Get sales completed at a site. |
SaleApi | saleGetServices | GET /public/v{version}/sale/services | Get pricing options available for purchase at a site |
SaleApi | salePurchaseContract | POST /public/v{version}/sale/purchasecontract | Purchase a contract for a client. |
SaleApi | salePurchaseGiftCard | POST /public/v{version}/sale/purchasegiftcard | Purchase a gift card for a client. |
SiteApi | siteGetActivationCode | GET /public/v{version}/site/activationcode | Get an activation code for a site. |
SiteApi | siteGetLocations | GET /public/v{version}/site/locations | Get locations for a site. |
SiteApi | siteGetPrograms | GET /public/v{version}/site/programs | Get service categories offered at a site. |
SiteApi | siteGetResources | GET /public/v{version}/site/resources | Get resources used at a site. |
SiteApi | siteGetSessionTypes | GET /public/v{version}/site/sessiontypes | Get the session types used at a site. |
SiteApi | siteGetSites | GET /public/v{version}/site/sites | Get all sites that can be accessed by an API Key. |
StaffApi | staffGetStaff | GET /public/v{version}/staff/staff | Get staff members at a site. |
StaffApi | staffGetStaffPermissions | GET /public/v{version}/staff/staffpermissions | Get configured staff permissions for a staff member. |
UserTokenApi | userTokenIssue | POST /public/v{version}/usertoken/issue | Get a staff user token. |
UserTokenApi | userTokenRevoke | DELETE /public/v{version}/usertoken/revoke | Revoke a user token. |
- AddAppointmentRequest
- AddAppointmentResponse
- AddArrivalRequest
- AddArrivalResponse
- AddClientRequest
- AddClientResponse
- AddClientToClassRequest
- AddClientToClassResponse
- AddClientToClassVisit
- AddClientToEnrollmentRequest
- AddContactLogRequest
- AddContactLogType
- Amenity
- Appointment
- AppointmentOption
- AssignedClientIndex
- AutopaySchedule
- Availability
- BookingWindow
- CheckoutAppointmentBookingRequest
- CheckoutItem
- CheckoutItemWrapper
- CheckoutPaymentInfo
- CheckoutShoppingCartRequest
- ClassDescription
- ClassPayrollEvent
- ClassSchedule
- Client
- ClientContract
- ClientCreditCard
- ClientDocument
- ClientIndex
- ClientIndexValue
- ClientMembership
- ClientPurchaseRecord
- ClientRelationship
- ClientService
- Color
- ContactLog
- ContactLogComment
- ContactLogSubType
- ContactLogType
- Contract
- ContractItem
- Course
- CreditCardInfo
- CrossRegionalClientAssociation
- CustomClientField
- CustomClientFieldValue
- CustomPaymentMethod
- FormulaNote
- GetActivationCodeResponse
- GetActiveClientMembershipsRequest
- GetActiveClientMembershipsResponse
- GetActiveSessionTimesRequest
- GetActiveSessionTimesResponse
- GetAppointmentOptionsResponse
- GetBookableItemsRequest
- GetBookableItemsResponse
- GetClassDescriptionsRequest
- GetClassDescriptionsResponse
- GetClassPayrollRequest
- GetClassPayrollResponse
- GetClassSchedulesRequest
- GetClassSchedulesResponse
- GetClassVisitsRequest
- GetClassVisitsResponse
- GetClassesRequest
- GetClassesResponse
- GetClientAccountBalancesRequest
- GetClientAccountBalancesResponse
- GetClientContractsRequest
- GetClientContractsResponse
- GetClientFormulaNotesRequest
- GetClientFormulaNotesResponse
- GetClientIndexesRequest
- GetClientIndexesResponse
- GetClientPurchasesRequest
- GetClientPurchasesResponse
- GetClientReferralTypesRequest
- GetClientReferralTypesResponse
- GetClientServicesRequest
- GetClientServicesResponse
- GetClientVisitsRequest
- GetClientVisitsResponse
- GetClientsRequest
- GetClientsResponse
- GetContactLogsRequest
- GetContactLogsResponse
- GetContractsRequest
- GetContractsResponse
- GetCrossRegionalClientAssociationsRequest
- GetCrossRegionalClientAssociationsResponse
- GetCustomClientFieldsRequest
- GetCustomClientFieldsResponse
- GetCustomPaymentMethodsRequest
- GetCustomPaymentMethodsResponse
- GetEnrollmentsRequest
- GetEnrollmentsResponse
- GetGiftCardResponse
- GetGiftCardsRequest
- GetLocationsRequest
- GetLocationsResponse
- GetPackagesRequest
- GetPackagesResponse
- GetProductsRequest
- GetProductsResponse
- GetProgramsRequest
- GetProgramsResponse
- GetRequiredClientFieldsResponse
- GetResourcesRequest
- GetResourcesResponse
- GetSalesRequest
- GetSalesResponse
- GetScheduleItemsRequest
- GetScheduleItemsResponse
- GetServicesRequest
- GetServicesResponse
- GetSessionTypesRequest
- GetSessionTypesResponse
- GetSitesRequest
- GetSitesResponse
- GetStaffAppointmentsRequest
- GetStaffAppointmentsResponse
- GetStaffPermissionsRequest
- GetStaffPermissionsResponse
- GetStaffRequest
- GetStaffResponse
- GetTimeClockRequest
- GetTimeClockResponse
- GetWaitlistEntriesRequest
- GetWaitlistEntriesResponse
- GiftCard
- GiftCardLayout
- IssueRequest
- IssueResponse
- Level
- Liability
- Location
- MembershipTypeRestriction
- ModelClass
- Package
- PaginationResponse
- Product
- Program
- ProspectStage
- PurchaseContractRequest
- PurchaseContractResponse
- PurchaseGiftCardRequest
- PurchaseGiftCardResponse
- PurchasedItem
- Relationship
- RemoveClientFromClassRequest
- RemoveClientFromClassResponse
- RemoveFromWaitlistRequest
- RemoveFromWaitlistResponse
- Resource
- Sale
- SalePayment
- SalesRep
- SendPasswordResetEmailRequest
- Service
- SessionType
- Site
- Size
- Staff
- StaffPermissionGroup
- StoredCardInfo
- SubstituteClassTeacherRequest
- SubstituteClassTeacherResponse
- SubstituteTeacherClass
- TimeCardEvent
- TimeClockReport
- Unavailability
- UpcomingAutopayEvent
- UpdateAppointmentRequest
- UpdateAppointmentResponse
- UpdateClientRequest
- UpdateClientResponse
- UpdateClientServiceRequest
- UpdateClientServiceResponse
- UpdateClientVisitRequest
- UpdateClientVisitResponse
- UpdateContactLogComment
- UpdateContactLogRequest
- UpdateContactLogType
- UploadClientDocumentRequest
- UploadClientDocumentResponse
- UploadClientPhotoRequest
- UploadClientPhotoResponse
- User
- Visit
- WaitlistEntry
- Type: API key
- API key parameter name: API-Key
- Location: HTTP header