AddOrUpdateAppointmentRequest

<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:ns0="http://clients.mindbodyonline.com/api/0_5" xmlns:ns1="http://clients.mindbodyonline.com/api/0_5_1" xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <ns2:Body> <ns1:AddOrUpdateAppointments> <ns1:Request> <ns1:SourceCredentials> <ns1:SourceName>Bowtie</ns1:SourceName> <ns1:Password>pw</ns1:Password> <ns1:SiteIDs> <ns1:int>37099</ns1:int> </ns1:SiteIDs> </ns1:SourceCredentials> <ns1:UserCredentials> <ns1:Username>_Bowtie</ns1:Username> <ns1:Password>Y2G8zIdVzZi8mnoGRWYUSLom7t4=</ns1:Password> <ns1:SiteIDs> <ns1:int>37099</ns1:int> </ns1:SiteIDs> <ns1:LocationID xsi:nil="true" /></ns1:UserCredentials> <ns1:XMLDetail>Full</ns1:XMLDetail> <ns1:PageSize>10000</ns1:PageSize> <ns1:CurrentPageIndex>0</ns1:CurrentPageIndex> <ns1:UpdateAction>AddNew</ns1:UpdateAction> <ns1:Test>false</ns1:Test> <ns1:SendEmail>false</ns1:SendEmail> <ns1:ApplyPayment>true</ns1:ApplyPayment> <ns1:Appointments> <ns1:Appointment xsi:type="ns0:Appointment"> <ns0:Execute>confirm</ns0:Execute> <ns0:Duration xsi:nil="true" /> <ns0:Action>Added</ns0:Action> <ns0:Status>Booked</ns0:Status> <ns0:StartDateTime>2018-04-02T08:00:00</ns0:StartDateTime> <ns0:EndDateTime>2018-04-02T08:40:00</ns0:EndDateTime> <ns0:SessionType xsi:type="ns0:SessionType"> <ns0:ID>9</ns0:ID> </ns0:SessionType> <ns0:Location xsi:type="ns1:Location"> <ns1:SiteID>37099</ns1:SiteID> <ns1:AdditionalImageURLs></ns1:AdditionalImageURLs> <ns1:HasClasses>true</ns1:HasClasses> <ns1:ID>3</ns1:ID> <ns1:Name>Commack</ns1:Name> <ns1:Address>340 Veterans Memorial Highway Suite 10</ns1:Address> <ns1:Address2>Commack NY 11725</ns1:Address2> <ns1:Tax1>0.08625</ns1:Tax1> <ns1:Tax2>0.0</ns1:Tax2> <ns1:Tax3>0.0</ns1:Tax3> <ns1:Tax4>0.0</ns1:Tax4> <ns1:Tax5>0.0</ns1:Tax5> <ns1:Phone>5168136698</ns1:Phone> <ns1:City>Commack</ns1:City> <ns1:StateProvCode>NY</ns1:StateProvCode> <ns1:PostalCode>11725</ns1:PostalCode> <ns1:Latitude>40.8327096</ns1:Latitude> <ns1:Longitude>-73.2616789</ns1:Longitude> <ns1:Description>Suite 10</ns1:Description> </ns0:Location> <ns0:Staff xsi:type="ns0:Staff"> <ns0:ID>100000002</ns0:ID> </ns0:Staff> <ns0:Client xsi:type="ns0:Client"> <ns0:ID>100003286</ns0:ID> </ns0:Client> </ns1:Appointment> </ns1:Appointments> <ns1:IgnoreDefaultSessionLength xsi:nil="true" /></ns1:Request> </ns1:AddOrUpdateAppointments> </ns2: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.