Staff Service
Click here for a complete list of operations.
ValidateStaffLogin
Validates a username and password. This method returns the staff on success.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /0_5/StaffService.asmx HTTP/1.1
Host: api.mindbodyonline.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://clients.mindbodyonline.com/api/0_5/ValidateStaffLogin"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ValidateStaffLogin xmlns="http://clients.mindbodyonline.com/api/0_5">
<Request>
<Username>string</Username>
<Password>string</Password>
</Request>
</ValidateStaffLogin>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ValidateStaffLoginResponse xmlns="http://clients.mindbodyonline.com/api/0_5">
<ValidateStaffLoginResult>
<GUID>string</GUID>
<Client>
<NewID>string</NewID>
<AccountBalance>double</AccountBalance>
<ClientIndexes>
<ClientIndex xsi:nil="true" />
<ClientIndex xsi:nil="true" />
</ClientIndexes>
<Username>string</Username>
<Password>string</Password>
<Notes>string</Notes>
<MobileProvider>int</MobileProvider>
<ClientCreditCard>
<CardType>string</CardType>
<LastFour>string</LastFour>
<CardNumber>string</CardNumber>
<CardHolder>string</CardHolder>
<ExpMonth>string</ExpMonth>
<ExpYear>string</ExpYear>
<Address>string</Address>
<City>string</City>
<State>string</State>
<PostalCode>string</PostalCode>
</ClientCreditCard>
<LastFormulaNotes>string</LastFormulaNotes>
<AppointmentGenderPreference>string</AppointmentGenderPreference>
<Gender>string</Gender>
<IsCompany>boolean</IsCompany>
<Inactive>boolean</Inactive>
<ClientRelationships>
<ClientRelationship xsi:nil="true" />
<ClientRelationship xsi:nil="true" />
</ClientRelationships>
<Reps>
<Rep xsi:nil="true" />
<Rep xsi:nil="true" />
</Reps>
<SaleReps>
<SalesRep xsi:nil="true" />
<SalesRep xsi:nil="true" />
</SaleReps>
<CustomClientFields>
<CustomClientField xsi:nil="true" />
<CustomClientField xsi:nil="true" />
</CustomClientFields>
<LiabilityRelease>boolean</LiabilityRelease>
<EmergencyContactInfoName>string</EmergencyContactInfoName>
<EmergencyContactInfoRelationship>string</EmergencyContactInfoRelationship>
<EmergencyContactInfoPhone>string</EmergencyContactInfoPhone>
<EmergencyContactInfoEmail>string</EmergencyContactInfoEmail>
<PromotionalEmailOptIn>boolean</PromotionalEmailOptIn>
<CreationDate>dateTime</CreationDate>
<Liability>
<IsReleased>boolean</IsReleased>
<AgreementDate>dateTime</AgreementDate>
<ReleasedBy>long</ReleasedBy>
</Liability>
<ProspectStage>
<ID>int</ID>
<Description>string</Description>
<Active>boolean</Active>
</ProspectStage>
<UniqueID>long</UniqueID>
<MembershipIcon>int</MembershipIcon>
<Action>None or Added or Updated or Failed or Removed</Action>
<ID>string</ID>
<FirstName>string</FirstName>
<MiddleName>string</MiddleName>
<LastName>string</LastName>
<Email>string</Email>
<EmailOptIn>boolean</EmailOptIn>
<AddressLine1>string</AddressLine1>
<AddressLine2>string</AddressLine2>
<City>string</City>
<State>string</State>
<PostalCode>string</PostalCode>
<Country>string</Country>
<MobilePhone>string</MobilePhone>
<HomePhone>string</HomePhone>
<WorkPhone>string</WorkPhone>
<WorkExtension>string</WorkExtension>
<BirthDate>dateTime</BirthDate>
<FirstAppointmentDate>dateTime</FirstAppointmentDate>
<ReferredBy>string</ReferredBy>
<HomeLocation>
<BusinessID>int</BusinessID>
<SiteID>int</SiteID>
<BusinessDescription>string</BusinessDescription>
<AdditionalImageURLs xsi:nil="true" />
<FacilitySquareFeet>int</FacilitySquareFeet>
<TreatmentRooms>int</TreatmentRooms>
<ProSpaFinderSite>boolean</ProSpaFinderSite>
<HasClasses>boolean</HasClasses>
<PhoneExtension>string</PhoneExtension>
<Action>None or Added or Updated or Failed or Removed</Action>
<ID>int</ID>
<Name>string</Name>
<Address>string</Address>
<Address2>string</Address2>
<Tax1>float</Tax1>
<Tax2>float</Tax2>
<Tax3>float</Tax3>
<Tax4>float</Tax4>
<Tax5>float</Tax5>
<Phone>string</Phone>
<City>string</City>
<StateProvCode>string</StateProvCode>
<PostalCode>string</PostalCode>
<Latitude>double</Latitude>
<Longitude>double</Longitude>
<DistanceInMiles>double</DistanceInMiles>
<ImageURL>string</ImageURL>
<Description>string</Description>
<HasSite>boolean</HasSite>
<CanBook>boolean</CanBook>
</HomeLocation>
<YellowAlert>string</YellowAlert>
<RedAlert>string</RedAlert>
<PhotoURL>string</PhotoURL>
<IsProspect>boolean</IsProspect>
<Status>string</Status>
<ContactMethod>short</ContactMethod>
</Client>
<Staff>
<Appointments>
<Appointment xsi:nil="true" />
<Appointment xsi:nil="true" />
</Appointments>
<Unavailabilities>
<Unavailability xsi:nil="true" />
<Unavailability xsi:nil="true" />
</Unavailabilities>
<Availabilities>
<Availability xsi:nil="true" />
<Availability xsi:nil="true" />
</Availabilities>
<Email>string</Email>
<MobilePhone>string</MobilePhone>
<HomePhone>string</HomePhone>
<WorkPhone>string</WorkPhone>
<Address>string</Address>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Country>string</Country>
<PostalCode>string</PostalCode>
<ForeignZip>string</ForeignZip>
<SortOrder>int</SortOrder>
<LoginLocations>
<Location xsi:nil="true" />
<Location xsi:nil="true" />
</LoginLocations>
<MultiLocation>boolean</MultiLocation>
<AppointmentTrn>boolean</AppointmentTrn>
<ReservationTrn>boolean</ReservationTrn>
<IndependentContractor>boolean</IndependentContractor>
<AlwaysAllowDoubleBooking>boolean</AlwaysAllowDoubleBooking>
<UserAccessLevel>string</UserAccessLevel>
<ProviderIDs>
<string>string</string>
<string>string</string>
</ProviderIDs>
<ProviderIDUpdateList>
<ProviderIDUpdate xsi:nil="true" />
<ProviderIDUpdate xsi:nil="true" />
</ProviderIDUpdateList>
<Action>None or Added or Updated or Failed or Removed</Action>
<ID>long</ID>
<Name>string</Name>
<FirstName>string</FirstName>
<LastName>string</LastName>
<ImageURL>string</ImageURL>
<Bio>string</Bio>
<isMale>boolean</isMale>
<EmpID>string</EmpID>
</Staff>
</ValidateStaffLoginResult>
</ValidateStaffLoginResponse>
</soap:Body>
</soap:Envelope>