Client Service
Click here for a complete list of operations.
GetClientAccountBalances
Gets account balances for the given clients.
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/ClientService.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/GetClientAccountBalances" <?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> <GetClientAccountBalances xmlns="http://clients.mindbodyonline.com/api/0_5"> <Request> <ClientIDs> <string>string</string> <string>string</string> </ClientIDs> <BalanceDate>dateTime</BalanceDate> <ClassID>long</ClassID> </Request> </GetClientAccountBalances> </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> <GetClientAccountBalancesResponse xmlns="http://clients.mindbodyonline.com/api/0_5"> <GetClientAccountBalancesResult> <Clients> <Client> <NewID>string</NewID> <AccountBalance>double</AccountBalance> <ClientIndexes xsi:nil="true" /> <Username>string</Username> <Password>string</Password> <Notes>string</Notes> <MobileProvider>int</MobileProvider> <ClientCreditCard xsi:nil="true" /> <LastFormulaNotes>string</LastFormulaNotes> <AppointmentGenderPreference>string</AppointmentGenderPreference> <Gender>string</Gender> <IsCompany>boolean</IsCompany> <Inactive>boolean</Inactive> <ClientRelationships xsi:nil="true" /> <Reps xsi:nil="true" /> <SaleReps xsi:nil="true" /> <CustomClientFields xsi:nil="true" /> <LiabilityRelease>boolean</LiabilityRelease> <EmergencyContactInfoName>string</EmergencyContactInfoName> <EmergencyContactInfoRelationship>string</EmergencyContactInfoRelationship> <EmergencyContactInfoPhone>string</EmergencyContactInfoPhone> <EmergencyContactInfoEmail>string</EmergencyContactInfoEmail> <PromotionalEmailOptIn>boolean</PromotionalEmailOptIn> <CreationDate>dateTime</CreationDate> <Liability xsi:nil="true" /> <ProspectStage xsi:nil="true" /> <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 xsi:nil="true" /> <YellowAlert>string</YellowAlert> <RedAlert>string</RedAlert> <PhotoURL>string</PhotoURL> <IsProspect>boolean</IsProspect> <Status>string</Status> <ContactMethod>short</ContactMethod> </Client> <Client> <NewID>string</NewID> <AccountBalance>double</AccountBalance> <ClientIndexes xsi:nil="true" /> <Username>string</Username> <Password>string</Password> <Notes>string</Notes> <MobileProvider>int</MobileProvider> <ClientCreditCard xsi:nil="true" /> <LastFormulaNotes>string</LastFormulaNotes> <AppointmentGenderPreference>string</AppointmentGenderPreference> <Gender>string</Gender> <IsCompany>boolean</IsCompany> <Inactive>boolean</Inactive> <ClientRelationships xsi:nil="true" /> <Reps xsi:nil="true" /> <SaleReps xsi:nil="true" /> <CustomClientFields xsi:nil="true" /> <LiabilityRelease>boolean</LiabilityRelease> <EmergencyContactInfoName>string</EmergencyContactInfoName> <EmergencyContactInfoRelationship>string</EmergencyContactInfoRelationship> <EmergencyContactInfoPhone>string</EmergencyContactInfoPhone> <EmergencyContactInfoEmail>string</EmergencyContactInfoEmail> <PromotionalEmailOptIn>boolean</PromotionalEmailOptIn> <CreationDate>dateTime</CreationDate> <Liability xsi:nil="true" /> <ProspectStage xsi:nil="true" /> <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 xsi:nil="true" /> <YellowAlert>string</YellowAlert> <RedAlert>string</RedAlert> <PhotoURL>string</PhotoURL> <IsProspect>boolean</IsProspect> <Status>string</Status> <ContactMethod>short</ContactMethod> </Client> </Clients> </GetClientAccountBalancesResult> </GetClientAccountBalancesResponse> </soap:Body> </soap:Envelope>