AddOrUpdateAppointments request

(AddOrUpdateAppointmentsRequest){ SourceCredentials = (SourceCredentials){ SourceName = "Bowtie" Password = "Y2G8zIdVzZi8mnoGRWYUSLom7t4=" SiteIDs = (ArrayOfInt){ int[] = -99, } } UserCredentials = (UserCredentials){ Username = "TempSiteowner" Password = "apitest1234" SiteIDs = (ArrayOfInt){ int[] = -99, } LocationID = None } XMLDetail = "Full" PageSize = 25 CurrentPageIndex = 0 Fields = (ArrayOfString){ string[] = <empty> } UpdateAction = "AddNew" Test = False SendEmail = False ApplyPayment = True Appointments = (ArrayOfAppointment){ Appointment = (Appointment){ Site = (Site){ ID = None Name = None Description = None LogoURL = None PageColor1 = None PageColor2 = None PageColor3 = None PageColor4 = None AcceptsVisa = None AcceptsDiscover = None AcceptsMasterCard = None AcceptsAmericanExpress = None ContactEmail = None ESA = None TotalWOD = None TaxInclusivePrices = None SMSPackageEnabled = None AllowsDashboardAccess = None PricingLevel = None } Messages = (ArrayOfString){ string[] = <empty> } Execute = None ErrorCode = None GenderPreference = None Duration = None ProviderID = None Action = None ID = "1" Status = None StartDateTime = "2015-08-01T08:00:00" EndDateTime = None Notes = None StaffRequested = None Program = (Program){ Site = (Site){ ID = None Name = None Description = None LogoURL = None PageColor1 = None PageColor2 = None PageColor3 = None PageColor4 = None AcceptsVisa = None AcceptsDiscover = None AcceptsMasterCard = None AcceptsAmericanExpress = None ContactEmail = None ESA = None TotalWOD = None TaxInclusivePrices = None SMSPackageEnabled = None AllowsDashboardAccess = None PricingLevel = None } Messages = (ArrayOfString){ string[] = <empty> } Execute = None ErrorCode = None ID = None Name = None ScheduleType = (ScheduleType){ value = None } CancelOffset = None } SessionType = (SessionType){ DefaultTimeLength = None ProgramID = 10 NumDeducted = 1 ID = 4 Name = "Yoga" } Location = (Location){ SiteID = -99 BusinessDescription = ""The MINDBODY Health Club Demo is awesome." - Anonymous (but probably someone cool and smart)" AdditionalImageURLs = "" FacilitySquareFeet = None TreatmentRooms = None HasClasses = True PhoneExtension = None ID = 1 Name = "Clubville" Address = "4051 S Broad St" Address2 = "San Luis Obispo, CA 93401" Tax1 = 0.08 Tax2 = 0.05 Tax3 = 0.05 Tax4 = 0.0 Tax5 = 0.0 Phone = "8777554279" City = "San Luis Obispo" StateProvCode = "CA" PostalCode = "93401" Latitude = 35.2470788 Longitude = -120.6426145 } Staff = (Staff){ SortOrder = 0 AppointmentTrn = False ReservationTrn = False IndependentContractor = False AlwaysAllowDoubleBooking = False ID = -5 Name = "Autoemail Autoemail" FirstName = "Autoemail" LastName = "Autoemail" isMale = False } Client = (Client){ MobileProvider = None AppointmentGenderPreference = "None" IsCompany = False LiabilityRelease = True PromotionalEmailOptIn = True CreationDate = 2016-06-13 00:00:00 Liability = (Liability){ IsReleased = True AgreementDate = 2016-06-13 00:00:00 ReleasedBy = None } UniqueID = 100015139 ID = "100015139" FirstName = "Mandy" LastName = "Wang" Email = "min.wang@town-sports.com" EmailOptIn = True AddressLine1 = "30 Wall street" City = "New York" State = "NY" PostalCode = "10005" Country = "US" MobilePhone = "19073516668" BirthDate = None FirstAppointmentDate = None ReferredBy = "Google" HomeLocation = (Location){ SiteID = -99 BusinessDescription = ""The MINDBODY Health Club Demo is awesome." - Anonymous (but probably someone cool and smart)" AdditionalImageURLs = "" FacilitySquareFeet = None TreatmentRooms = None HasClasses = True PhoneExtension = None ID = 1 Name = "Clubville" } IsProspect = False ContactMethod = 1 } FirstAppointment = None ClientService = (ClientService){ Current = True Count = 1 Remaining = 1 ID = 100246949 Name = "Nutrition Consulatation" PaymentDate = 2016-09-13 00:00:00 ActiveDate = 2016-09-13 00:00:00 ExpirationDate = 2017-09-12 00:00:00 Program = (Program){ ID = 1 Name = "Personal Training" ScheduleType = "Appointment" CancelOffset = None } } Resources = (ArrayOfResource){ Resource[] = <empty> } } } IgnoreDefaultSessionLength = None }

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.