AddOrUpdateAppointments Request XML

<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://clients.mindbodyonline.com/api/0_5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header/> <ns0:Body> <ns1:AddOrUpdateAppointments> <ns1:Request> <ns1:SourceCredentials> <ns1:SourceName>Bowtie</ns1:SourceName> <ns1:Password>Y2G8zIdVzZi8mnoGRWYUSLom7t4=</ns1:Password> <ns1:SiteIDs> <ns1:int>-99</ns1:int> </ns1:SiteIDs> </ns1:SourceCredentials> <ns1:UserCredentials> <ns1:Username>Siteowner</ns1:Username> <ns1:Password>apitest1234</ns1:Password> <ns1:SiteIDs> <ns1:int>-99</ns1:int> </ns1:SiteIDs> <ns1:LocationID xsi:nil="true"/> </ns1:UserCredentials> <ns1:XMLDetail>Full</ns1:XMLDetail> <ns1:PageSize>25</ns1:PageSize> <ns1:CurrentPageIndex>0</ns1:CurrentPageIndex> <ns1:UpdateAction>AddNew</ns1:UpdateAction> <ns1:Test>true</ns1:Test> <ns1:SendEmail>false</ns1:SendEmail> <ns1:ApplyPayment>true</ns1:ApplyPayment> <ns1:Appointments> <ns1:Appointment> <ns1:Duration xsi:nil="true"/> <ns1:Action>Added</ns1:Action> <ns1:Status>Booked</ns1:Status> <ns1:StartDateTime>2016-09-30T10:30:00</ns1:StartDateTime> <ns1:EndDateTime>2016-09-30T13:30:00</ns1:EndDateTime> <ns1:SessionType xsi:type="ns1:SessionType"> <ns1:DefaultTimeLength>30</ns1:DefaultTimeLength> <ns1:ProgramID>1</ns1:ProgramID> <ns1:NumDeducted>1</ns1:NumDeducted> <ns1:ID>23</ns1:ID> <ns1:Name>Nutrition Consultation</ns1:Name> </ns1:SessionType> <ns1:Location xsi:type="ns1:Location"> <ns1:SiteID>-99</ns1:SiteID> <ns1:BusinessDescription>"The MINDBODY Health Club Demo is awesome." - Anonymous (but probably someone cool and smart)</ns1:BusinessDescription> <ns1:AdditionalImageURLs/> <ns1:HasClasses>true</ns1:HasClasses> <ns1:ID>1</ns1:ID> <ns1:Name>Clubville</ns1:Name> <ns1:Address>4051 S Broad St</ns1:Address> <ns1:Address2>San Luis Obispo, CA 93401</ns1:Address2> <ns1:Tax1>0.08</ns1:Tax1> <ns1:Tax2>0.05</ns1:Tax2> <ns1:Tax3>0.05</ns1:Tax3> <ns1:Tax4>0.0</ns1:Tax4> <ns1:Tax5>0.0</ns1:Tax5> <ns1:Phone>8777554279</ns1:Phone> <ns1:City>San Luis Obispo</ns1:City> <ns1:StateProvCode>CA</ns1:StateProvCode> <ns1:PostalCode>93401</ns1:PostalCode> <ns1:Latitude>35.2470788</ns1:Latitude> <ns1:Longitude>-120.6426145</ns1:Longitude> </ns1:Location> <ns1:Staff xsi:type="ns1:Staff"> <ns1:HomePhone>5198861648</ns1:HomePhone> <ns1:WorkPhone>5197403800</ns1:WorkPhone> <ns1:Address>187 Mohawk Avenue</ns1:Address> <ns1:City>Waterloo</ns1:City> <ns1:State>0</ns1:State> <ns1:Country>US</ns1:Country> <ns1:PostalCode>N2L2T4</ns1:PostalCode> <ns1:SortOrder>0</ns1:SortOrder> <ns1:AppointmentTrn>true</ns1:AppointmentTrn> <ns1:ReservationTrn>true</ns1:ReservationTrn> <ns1:IndependentContractor>false</ns1:IndependentContractor> <ns1:AlwaysAllowDoubleBooking>false</ns1:AlwaysAllowDoubleBooking> <ns1:ID>100000061</ns1:ID> <ns1:Name>Wendy Wyatt -Esthetician</ns1:Name> <ns1:FirstName>Wendy Wyatt</ns1:FirstName> <ns1:LastName>-Esthetician</ns1:LastName> <ns1:Bio>Sixteen years ago when Liz welcomed her daughter into her life, she got off the couch and attended her first fitness class.As an active teen and competitive runner, Liz had forgotten the thrill of being active. Since then, she has dedicated herself to the growth and development of others! Liz began leading fitness classes for various organizations and community groups throughout the Region of Waterloo. Her classes are dynamic and powerful; she motivates by engaging all of her participants and invites them to participate as both leader and learner. Liz spent six years as the Trainer of Trainers for YMCA Canada. In this role, she led professional development for Fitness Leaders and Personal Trainers. During this time, her training as a certified school teacher was very helpful to her success. Currently, Liz splits her time between motivating adults in healthy, active lifestyles in both her role as fitness/yoga leader as well as in her classroom designed for the skill building of adults who are in the process of changing careers. Peppered with her sense of humour, Liz engages people who are interested in learning about and developing their overall lifestyle! Liz lives in Waterloo with her husband, daughter and pooch.</ns1:Bio> <ns1:isMale>false</ns1:isMale> </ns1:Staff> <ns1:Client xsi:type="ns1:Client"> <ns1:Username>joatmsa</ns1:Username> <ns1:Notes>31 Aug 08 - came in to restart membership. Drew up new contract for Corp. Gold rate, but maintained membership number. Paid first biweekly with new CC (chip card), so took new imprint of CC with updated expiry. Biweeklies set to resume 22/09/08. BDJune 2/08- called and would like to cancel; file is in HOLDS. CC >>>......member was in and paid for two bi-wkly and an NSF fee today. Cancelled membership; last bi-wkly will be Jun 30/08. SRoct 19/07 - member provided new copy of CC with expiry date. Updated. SROld contract # 001856 --LM (new card issued May 28, 2007)</ns1:Notes> <ns1:MobileProvider>0</ns1:MobileProvider> <ns1:AppointmentGenderPreference>None</ns1:AppointmentGenderPreference> <ns1:IsCompany>false</ns1:IsCompany> <ns1:LiabilityRelease>true</ns1:LiabilityRelease> <ns1:EmergencyContactInfoName>Anne Wilson</ns1:EmergencyContactInfoName> <ns1:EmergencyContactInfoRelationship>Spouse</ns1:EmergencyContactInfoRelationship> <ns1:EmergencyContactInfoPhone>5195739027</ns1:EmergencyContactInfoPhone> <ns1:PromotionalEmailOptIn>true</ns1:PromotionalEmailOptIn> <ns1:CreationDate>2011-04-09T00:00:00</ns1:CreationDate> <ns1:Liability> <ns1:IsReleased>true</ns1:IsReleased> <ns1:AgreementDate>2015-07-03T13:58:47</ns1:AgreementDate> <ns1:ReleasedBy>100000132</ns1:ReleasedBy> </ns1:Liability> <ns1:UniqueID>100001044</ns1:UniqueID> <ns1:ID>002346</ns1:ID> <ns1:FirstName>Mike</ns1:FirstName> <ns1:LastName>Allen</ns1:LastName> <ns1:Email>mike@mike.com</ns1:Email> <ns1:EmailOptIn>true</ns1:EmailOptIn> <ns1:AddressLine1>1234 Elmwood Street</ns1:AddressLine1> <ns1:City>San Luis Obispo</ns1:City> <ns1:PostalCode>93401</ns1:PostalCode> <ns1:Country>CA</ns1:Country> <ns1:MobilePhone>2223334141</ns1:MobilePhone> <ns1:HomePhone>2223334141</ns1:HomePhone> <ns1:WorkPhone>2223334141</ns1:WorkPhone> <ns1:WorkExtension>2938</ns1:WorkExtension> <ns1:BirthDate>1976-03-20T00:00:00</ns1:BirthDate> <ns1:FirstAppointmentDate>2014-06-28T00:00:00</ns1:FirstAppointmentDate> <ns1:ReferredBy>Print Advertisement</ns1:ReferredBy> <ns1:HomeLocation> <ns1:SiteID>-99</ns1:SiteID> <ns1:BusinessDescription>"The MINDBODY Health Club Demo is awesome." - Anonymous (but probably someone cool and smart)</ns1:BusinessDescription> <ns1:AdditionalImageURLs/> <ns1:HasClasses>true</ns1:HasClasses> <ns1:ID>1</ns1:ID> <ns1:Name>Clubville</ns1:Name> </ns1:HomeLocation> <ns1:YellowAlert>book FA and PeT</ns1:YellowAlert> <ns1:IsProspect>false</ns1:IsProspect> <ns1:ContactMethod>1</ns1:ContactMethod> </ns1:Client> <ns1:ClientService xsi:type="ns1:ClientService"> <ns1:Current>true</ns1:Current> <ns1:Count>1</ns1:Count> <ns1:Remaining>1</ns1:Remaining> <ns1:ID>100246952</ns1:ID> <ns1:Name>Nutrition Consulatation</ns1:Name> <ns1:PaymentDate>2016-09-30T00:00:00</ns1:PaymentDate> <ns1:ActiveDate>2016-09-30T00:00:00</ns1:ActiveDate> <ns1:ExpirationDate>2017-09-29T00:00:00</ns1:ExpirationDate> <ns1:Program> <ns1:ID>1</ns1:ID> <ns1:Name>Personal Training</ns1:Name> <ns1:ScheduleType>Appointment</ns1:ScheduleType> <ns1:CancelOffset xsi:nil="true"/> </ns1:Program> </ns1:ClientService> </ns1:Appointment> </ns1:Appointments> <ns1:IgnoreDefaultSessionLength xsi:nil="true"/> </ns1:Request> </ns1:AddOrUpdateAppointments> </ns0:Body> </SOAP-ENV:Envelope>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.