mindbody-api 1.0.1.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/.travis.yml +5 -0
  4. data/CONTRIBUTING.md +16 -0
  5. data/Gemfile +12 -0
  6. data/Guardfile +6 -0
  7. data/LICENSE.md +22 -0
  8. data/README.md +79 -0
  9. data/Rakefile +52 -0
  10. data/lib/mindbody-api.rb +35 -0
  11. data/lib/mindbody-api/api_status.rb +109 -0
  12. data/lib/mindbody-api/client.rb +39 -0
  13. data/lib/mindbody-api/ext/savon_ext.rb +53 -0
  14. data/lib/mindbody-api/models.rb +34 -0
  15. data/lib/mindbody-api/models/appointment.rb +22 -0
  16. data/lib/mindbody-api/models/appointment_status.rb +13 -0
  17. data/lib/mindbody-api/models/availability.rb +11 -0
  18. data/lib/mindbody-api/models/class.rb +31 -0
  19. data/lib/mindbody-api/models/class_description.rb +14 -0
  20. data/lib/mindbody-api/models/class_schedule.rb +26 -0
  21. data/lib/mindbody-api/models/client.rb +32 -0
  22. data/lib/mindbody-api/models/client_service.rb +16 -0
  23. data/lib/mindbody-api/models/course.rb +16 -0
  24. data/lib/mindbody-api/models/level.rb +8 -0
  25. data/lib/mindbody-api/models/location.rb +38 -0
  26. data/lib/mindbody-api/models/payment.rb +11 -0
  27. data/lib/mindbody-api/models/program.rb +9 -0
  28. data/lib/mindbody-api/models/resource.rb +8 -0
  29. data/lib/mindbody-api/models/sale.rb +10 -0
  30. data/lib/mindbody-api/models/sale_item.rb +14 -0
  31. data/lib/mindbody-api/models/schedule_type.rb +13 -0
  32. data/lib/mindbody-api/models/semester.rb +9 -0
  33. data/lib/mindbody-api/models/service.rb +13 -0
  34. data/lib/mindbody-api/models/session_type.rb +8 -0
  35. data/lib/mindbody-api/models/site.rb +23 -0
  36. data/lib/mindbody-api/models/staff.rb +32 -0
  37. data/lib/mindbody-api/models/unavailability.rb +7 -0
  38. data/lib/mindbody-api/models/visit.rb +19 -0
  39. data/lib/mindbody-api/response.rb +119 -0
  40. data/lib/mindbody-api/service.rb +39 -0
  41. data/lib/mindbody-api/services/appointment_service.rb +15 -0
  42. data/lib/mindbody-api/services/class_service.rb +12 -0
  43. data/lib/mindbody-api/services/client_service.rb +30 -0
  44. data/lib/mindbody-api/services/finder_service.rb +11 -0
  45. data/lib/mindbody-api/services/sale_service.rb +14 -0
  46. data/lib/mindbody-api/services/site_service.rb +15 -0
  47. data/lib/mindbody-api/services/staff_service.rb +12 -0
  48. data/lib/mindbody-api/version.rb +4 -0
  49. data/mindbody-api.gemspec +29 -0
  50. data/spec/api_status_spec.rb +110 -0
  51. data/spec/client_spec.rb +51 -0
  52. data/spec/fixtures/wsdl/geotrust.wsdl +156 -0
  53. data/spec/mindbody_spec.rb +79 -0
  54. data/spec/model_spec.rb +7 -0
  55. data/spec/models/appointment_spec.rb +18 -0
  56. data/spec/models/appointment_status_spec.rb +17 -0
  57. data/spec/models/availability.rb +8 -0
  58. data/spec/models/class_description_spec.rb +12 -0
  59. data/spec/models/class_schedule_spec.rb +24 -0
  60. data/spec/models/class_spec.rb +39 -0
  61. data/spec/models/client_service_spec.rb +13 -0
  62. data/spec/models/client_spec.rb +33 -0
  63. data/spec/models/course_spec.rb +14 -0
  64. data/spec/models/level_spec.rb +6 -0
  65. data/spec/models/location_spec.rb +34 -0
  66. data/spec/models/payment_spec.rb +9 -0
  67. data/spec/models/program_spec.rb +7 -0
  68. data/spec/models/resource_spec.rb +6 -0
  69. data/spec/models/sale_item_spec.rb +12 -0
  70. data/spec/models/sale_spec.rb +8 -0
  71. data/spec/models/schedule_type_spec.rb +17 -0
  72. data/spec/models/semester_spec.rb +7 -0
  73. data/spec/models/service_spec.rb +11 -0
  74. data/spec/models/session_type_spec.rb +6 -0
  75. data/spec/models/site_spec.rb +31 -0
  76. data/spec/models/staff_spec.rb +29 -0
  77. data/spec/models/unavailability.rb +5 -0
  78. data/spec/models/visit_spec.rb +16 -0
  79. data/spec/response_spec.rb +115 -0
  80. data/spec/service_spec.rb +106 -0
  81. data/spec/services/appointment_service_spec.rb +13 -0
  82. data/spec/services/class_service_spec.rb +10 -0
  83. data/spec/services/client_service_spec.rb +27 -0
  84. data/spec/services/finder_service_spec.rb +9 -0
  85. data/spec/services/sale_service_spec.rb +12 -0
  86. data/spec/services/site_service_spec.rb +13 -0
  87. data/spec/services/staff_service_spec.rb +10 -0
  88. data/spec/spec_helper.rb +18 -0
  89. data/wsdl/AppointmentService.wsdl +1084 -0
  90. data/wsdl/ClassService.wsdl +1656 -0
  91. data/wsdl/ClientService.wsdl +2295 -0
  92. data/wsdl/FinderService.wsdl +1427 -0
  93. data/wsdl/SaleService.wsdl +1678 -0
  94. data/wsdl/SiteService.wsdl +915 -0
  95. data/wsdl/StaffService.wsdl +939 -0
  96. metadata +277 -0
@@ -0,0 +1,2295 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <wsdl:definitions xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://clients.mindbodyonline.com/api/0_5" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://clients.mindbodyonline.com/api/0_5" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
3
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides methods and attributes relating to clients.</wsdl:documentation>
4
+ <wsdl:types>
5
+ <s:schema elementFormDefault="qualified" targetNamespace="http://clients.mindbodyonline.com/api/0_5">
6
+ <s:element name="AddArrival">
7
+ <s:complexType>
8
+ <s:sequence>
9
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:AddArrivalRequest" />
10
+ </s:sequence>
11
+ </s:complexType>
12
+ </s:element>
13
+ <s:complexType name="AddArrivalRequest">
14
+ <s:complexContent mixed="false">
15
+ <s:extension base="tns:MBRequest">
16
+ <s:sequence>
17
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
18
+ <s:element minOccurs="1" maxOccurs="1" name="LocationID" type="s:int" />
19
+ </s:sequence>
20
+ </s:extension>
21
+ </s:complexContent>
22
+ </s:complexType>
23
+ <s:complexType name="MBRequest">
24
+ <s:sequence>
25
+ <s:element minOccurs="0" maxOccurs="1" name="SourceCredentials" type="tns:SourceCredentials" />
26
+ <s:element minOccurs="0" maxOccurs="1" name="UserCredentials" type="tns:UserCredentials" />
27
+ <s:element minOccurs="1" maxOccurs="1" name="XMLDetail" nillable="true" type="tns:XMLDetailLevel" />
28
+ <s:element minOccurs="1" maxOccurs="1" name="PageSize" nillable="true" type="s:int" />
29
+ <s:element minOccurs="1" maxOccurs="1" name="CurrentPageIndex" nillable="true" type="s:int" />
30
+ <s:element minOccurs="0" maxOccurs="1" name="Fields" type="tns:ArrayOfString" />
31
+ </s:sequence>
32
+ </s:complexType>
33
+ <s:complexType name="SourceCredentials">
34
+ <s:sequence>
35
+ <s:element minOccurs="0" maxOccurs="1" name="SourceName" type="s:string" />
36
+ <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
37
+ <s:element minOccurs="0" maxOccurs="1" name="SiteIDs" type="tns:ArrayOfInt" />
38
+ </s:sequence>
39
+ </s:complexType>
40
+ <s:complexType name="ArrayOfInt">
41
+ <s:sequence>
42
+ <s:element minOccurs="0" maxOccurs="unbounded" name="int" type="s:int" />
43
+ </s:sequence>
44
+ </s:complexType>
45
+ <s:complexType name="UserCredentials">
46
+ <s:sequence>
47
+ <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
48
+ <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
49
+ <s:element minOccurs="0" maxOccurs="1" name="SiteIDs" type="tns:ArrayOfInt" />
50
+ <s:element minOccurs="1" maxOccurs="1" name="LocationID" nillable="true" type="s:int" />
51
+ </s:sequence>
52
+ </s:complexType>
53
+ <s:simpleType name="XMLDetailLevel">
54
+ <s:restriction base="s:string">
55
+ <s:enumeration value="Bare" />
56
+ <s:enumeration value="Basic" />
57
+ <s:enumeration value="Full" />
58
+ </s:restriction>
59
+ </s:simpleType>
60
+ <s:complexType name="ArrayOfString">
61
+ <s:sequence>
62
+ <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
63
+ </s:sequence>
64
+ </s:complexType>
65
+ <s:element name="AddArrivalResponse">
66
+ <s:complexType>
67
+ <s:sequence>
68
+ <s:element minOccurs="0" maxOccurs="1" name="AddArrivalResult" type="tns:AddArrivalResult" />
69
+ </s:sequence>
70
+ </s:complexType>
71
+ </s:element>
72
+ <s:complexType name="AddArrivalResult">
73
+ <s:complexContent mixed="false">
74
+ <s:extension base="tns:MBResult">
75
+ <s:sequence>
76
+ <s:element minOccurs="1" maxOccurs="1" name="ArrivalAdded" type="s:boolean" />
77
+ <s:element minOccurs="0" maxOccurs="1" name="ClientService" type="tns:ClientService" />
78
+ </s:sequence>
79
+ </s:extension>
80
+ </s:complexContent>
81
+ </s:complexType>
82
+ <s:complexType name="MBResult">
83
+ <s:sequence>
84
+ <s:element minOccurs="1" maxOccurs="1" name="Status" type="tns:StatusCode" />
85
+ <s:element minOccurs="1" maxOccurs="1" name="ErrorCode" type="s:int" />
86
+ <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
87
+ <s:element minOccurs="1" maxOccurs="1" name="XMLDetail" type="tns:XMLDetailLevel" />
88
+ <s:element minOccurs="1" maxOccurs="1" name="ResultCount" type="s:int" />
89
+ <s:element minOccurs="1" maxOccurs="1" name="CurrentPageIndex" type="s:int" />
90
+ <s:element minOccurs="1" maxOccurs="1" name="TotalPageCount" type="s:int" />
91
+ </s:sequence>
92
+ </s:complexType>
93
+ <s:simpleType name="StatusCode">
94
+ <s:restriction base="s:string">
95
+ <s:enumeration value="Success" />
96
+ <s:enumeration value="InvalidCredentials" />
97
+ <s:enumeration value="InvalidParameters" />
98
+ <s:enumeration value="InternalException" />
99
+ <s:enumeration value="Unknown" />
100
+ <s:enumeration value="FailedAction" />
101
+ </s:restriction>
102
+ </s:simpleType>
103
+ <s:complexType name="ClientService">
104
+ <s:complexContent mixed="false">
105
+ <s:extension base="tns:MBObject">
106
+ <s:sequence>
107
+ <s:element minOccurs="1" maxOccurs="1" name="Current" type="s:boolean" />
108
+ <s:element minOccurs="1" maxOccurs="1" name="Count" type="s:int" />
109
+ <s:element minOccurs="1" maxOccurs="1" name="Remaining" type="s:int" />
110
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
111
+ <s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:long" />
112
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
113
+ <s:element minOccurs="0" maxOccurs="1" name="PaymentDate" nillable="true" type="s:dateTime" />
114
+ <s:element minOccurs="0" maxOccurs="1" name="ActiveDate" nillable="true" type="s:dateTime" />
115
+ <s:element minOccurs="0" maxOccurs="1" name="ExpirationDate" nillable="true" type="s:dateTime" />
116
+ <s:element minOccurs="0" maxOccurs="1" name="Program" type="tns:Program" />
117
+ </s:sequence>
118
+ </s:extension>
119
+ </s:complexContent>
120
+ </s:complexType>
121
+ <s:complexType name="MBObject">
122
+ <s:sequence>
123
+ <s:element minOccurs="0" maxOccurs="1" name="Site" type="tns:Site" />
124
+ <s:element minOccurs="0" maxOccurs="1" name="Messages" type="tns:ArrayOfString" />
125
+ <s:element minOccurs="0" maxOccurs="1" name="Execute" type="s:string" />
126
+ <s:element minOccurs="0" maxOccurs="1" name="ErrorCode" type="s:string" />
127
+ </s:sequence>
128
+ </s:complexType>
129
+ <s:complexType name="Site">
130
+ <s:sequence>
131
+ <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
132
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
133
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
134
+ <s:element minOccurs="0" maxOccurs="1" name="LogoURL" type="s:string" />
135
+ <s:element minOccurs="0" maxOccurs="1" name="PageColor1" type="s:string" />
136
+ <s:element minOccurs="0" maxOccurs="1" name="PageColor2" type="s:string" />
137
+ <s:element minOccurs="0" maxOccurs="1" name="PageColor3" type="s:string" />
138
+ <s:element minOccurs="0" maxOccurs="1" name="PageColor4" type="s:string" />
139
+ <s:element minOccurs="0" maxOccurs="1" name="AcceptsVisa" type="s:boolean" />
140
+ <s:element minOccurs="0" maxOccurs="1" name="AcceptsDiscover" type="s:boolean" />
141
+ <s:element minOccurs="0" maxOccurs="1" name="AcceptsMasterCard" type="s:boolean" />
142
+ <s:element minOccurs="0" maxOccurs="1" name="AcceptsAmericanExpress" type="s:boolean" />
143
+ <s:element minOccurs="0" maxOccurs="1" name="ContactEmail" type="s:string" />
144
+ <s:element minOccurs="0" maxOccurs="1" name="ESA" nillable="true" type="s:boolean" />
145
+ <s:element minOccurs="0" maxOccurs="1" name="TotalWOD" nillable="true" type="s:boolean" />
146
+ <s:element minOccurs="0" maxOccurs="1" name="TaxInclusivePrices" nillable="true" type="s:boolean" />
147
+ <s:element minOccurs="0" maxOccurs="1" name="SMSPackageEnabled" type="s:boolean" />
148
+ <s:element minOccurs="0" maxOccurs="1" name="AllowsDashboardAccess" type="s:boolean" />
149
+ <s:element minOccurs="0" maxOccurs="1" name="PricingLevel" type="s:string" />
150
+ </s:sequence>
151
+ </s:complexType>
152
+ <s:complexType name="Program">
153
+ <s:complexContent mixed="false">
154
+ <s:extension base="tns:MBObject">
155
+ <s:sequence>
156
+ <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
157
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
158
+ <s:element minOccurs="1" maxOccurs="1" name="ScheduleType" nillable="true" type="tns:ScheduleType" />
159
+ <s:element minOccurs="1" maxOccurs="1" name="CancelOffset" nillable="true" type="s:int" />
160
+ </s:sequence>
161
+ </s:extension>
162
+ </s:complexContent>
163
+ </s:complexType>
164
+ <s:simpleType name="ScheduleType">
165
+ <s:restriction base="s:string">
166
+ <s:enumeration value="All" />
167
+ <s:enumeration value="DropIn" />
168
+ <s:enumeration value="Enrollment" />
169
+ <s:enumeration value="Appointment" />
170
+ <s:enumeration value="Resource" />
171
+ <s:enumeration value="Media" />
172
+ <s:enumeration value="Arrival" />
173
+ </s:restriction>
174
+ </s:simpleType>
175
+ <s:simpleType name="ActionCode">
176
+ <s:restriction base="s:string">
177
+ <s:enumeration value="None" />
178
+ <s:enumeration value="Added" />
179
+ <s:enumeration value="Updated" />
180
+ <s:enumeration value="Failed" />
181
+ <s:enumeration value="Removed" />
182
+ </s:restriction>
183
+ </s:simpleType>
184
+ <s:element name="AddOrUpdateClients">
185
+ <s:complexType>
186
+ <s:sequence>
187
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:AddOrUpdateClientsRequest" />
188
+ </s:sequence>
189
+ </s:complexType>
190
+ </s:element>
191
+ <s:complexType name="AddOrUpdateClientsRequest">
192
+ <s:complexContent mixed="false">
193
+ <s:extension base="tns:MBRequest">
194
+ <s:sequence>
195
+ <s:element minOccurs="0" maxOccurs="1" name="UpdateAction" type="s:string" />
196
+ <s:element minOccurs="1" maxOccurs="1" name="Test" nillable="true" type="s:boolean" />
197
+ <s:element minOccurs="0" maxOccurs="1" name="Clients" type="tns:ArrayOfClient" />
198
+ <s:element minOccurs="1" maxOccurs="1" name="SendEmail" nillable="true" type="s:boolean" />
199
+ </s:sequence>
200
+ </s:extension>
201
+ </s:complexContent>
202
+ </s:complexType>
203
+ <s:complexType name="ArrayOfClient">
204
+ <s:sequence>
205
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Client" nillable="true" type="tns:Client" />
206
+ </s:sequence>
207
+ </s:complexType>
208
+ <s:complexType name="Client">
209
+ <s:complexContent mixed="false">
210
+ <s:extension base="tns:MBObject">
211
+ <s:sequence>
212
+ <s:element minOccurs="0" maxOccurs="1" name="NewID" type="s:string" />
213
+ <s:element minOccurs="0" maxOccurs="1" name="AccountBalance" type="s:double" />
214
+ <s:element minOccurs="0" maxOccurs="1" name="ClientIndexes" type="tns:ArrayOfClientIndex" />
215
+ <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
216
+ <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
217
+ <s:element minOccurs="0" maxOccurs="1" name="Notes" type="s:string" />
218
+ <s:element minOccurs="0" maxOccurs="1" name="MobileProvider" nillable="true" type="s:int" />
219
+ <s:element minOccurs="0" maxOccurs="1" name="ClientCreditCard" type="tns:ClientCreditCard" />
220
+ <s:element minOccurs="0" maxOccurs="1" name="LastFormulaNotes" type="s:string" />
221
+ <s:element minOccurs="0" maxOccurs="1" name="AppointmentGenderPreference" type="s:string" />
222
+ <s:element minOccurs="0" maxOccurs="1" name="Gender" type="s:string" />
223
+ <s:element minOccurs="0" maxOccurs="1" name="IsCompany" nillable="true" type="s:boolean" />
224
+ <s:element minOccurs="0" maxOccurs="1" name="Inactive" nillable="true" type="s:boolean" />
225
+ <s:element minOccurs="0" maxOccurs="1" name="ClientRelationships" type="tns:ArrayOfClientRelationship" />
226
+ <s:element minOccurs="0" maxOccurs="1" name="Reps" type="tns:ArrayOfRep" />
227
+ <s:element minOccurs="0" maxOccurs="1" name="SaleReps" type="tns:ArrayOfSalesRep" />
228
+ <s:element minOccurs="0" maxOccurs="1" name="CustomClientFields" type="tns:ArrayOfCustomClientField" />
229
+ <s:element minOccurs="0" maxOccurs="1" name="LiabilityRelease" nillable="true" type="s:boolean" />
230
+ <s:element minOccurs="0" maxOccurs="1" name="EmergencyContactInfoName" type="s:string" />
231
+ <s:element minOccurs="0" maxOccurs="1" name="EmergencyContactInfoRelationship" type="s:string" />
232
+ <s:element minOccurs="0" maxOccurs="1" name="EmergencyContactInfoPhone" type="s:string" />
233
+ <s:element minOccurs="0" maxOccurs="1" name="EmergencyContactInfoEmail" type="s:string" />
234
+ <s:element minOccurs="0" maxOccurs="1" name="PromotionalEmailOptIn" nillable="true" type="s:boolean" />
235
+ <s:element minOccurs="0" maxOccurs="1" name="CreationDate" nillable="true" type="s:dateTime" />
236
+ <s:element minOccurs="0" maxOccurs="1" name="Liability" type="tns:Liability" />
237
+ <s:element minOccurs="0" maxOccurs="1" name="ProspectStage" type="tns:ProspectStage" />
238
+ <s:element minOccurs="0" maxOccurs="1" name="UniqueID" type="s:long" />
239
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
240
+ <s:element minOccurs="0" maxOccurs="1" name="ID" type="s:string" />
241
+ <s:element minOccurs="0" maxOccurs="1" name="FirstName" type="s:string" />
242
+ <s:element minOccurs="0" maxOccurs="1" name="MiddleName" type="s:string" />
243
+ <s:element minOccurs="0" maxOccurs="1" name="LastName" type="s:string" />
244
+ <s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" />
245
+ <s:element minOccurs="0" maxOccurs="1" name="EmailOptIn" nillable="true" type="s:boolean" />
246
+ <s:element minOccurs="0" maxOccurs="1" name="AddressLine1" type="s:string" />
247
+ <s:element minOccurs="0" maxOccurs="1" name="AddressLine2" type="s:string" />
248
+ <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
249
+ <s:element minOccurs="0" maxOccurs="1" name="State" type="s:string" />
250
+ <s:element minOccurs="0" maxOccurs="1" name="PostalCode" type="s:string" />
251
+ <s:element minOccurs="0" maxOccurs="1" name="Country" type="s:string" />
252
+ <s:element minOccurs="0" maxOccurs="1" name="MobilePhone" type="s:string" />
253
+ <s:element minOccurs="0" maxOccurs="1" name="HomePhone" type="s:string" />
254
+ <s:element minOccurs="0" maxOccurs="1" name="WorkPhone" type="s:string" />
255
+ <s:element minOccurs="0" maxOccurs="1" name="WorkExtension" type="s:string" />
256
+ <s:element minOccurs="0" maxOccurs="1" name="BirthDate" nillable="true" type="s:dateTime" />
257
+ <s:element minOccurs="0" maxOccurs="1" name="FirstAppointmentDate" nillable="true" type="s:dateTime" />
258
+ <s:element minOccurs="0" maxOccurs="1" name="ReferredBy" type="s:string" />
259
+ <s:element minOccurs="0" maxOccurs="1" name="HomeLocation" type="tns:Location" />
260
+ <s:element minOccurs="0" maxOccurs="1" name="YellowAlert" type="s:string" />
261
+ <s:element minOccurs="0" maxOccurs="1" name="RedAlert" type="s:string" />
262
+ <s:element minOccurs="0" maxOccurs="1" name="PhotoURL" type="s:string" />
263
+ <s:element minOccurs="0" maxOccurs="1" name="IsProspect" nillable="true" type="s:boolean" />
264
+ <s:element minOccurs="0" maxOccurs="1" name="Status" type="s:string" />
265
+ <s:element minOccurs="0" maxOccurs="1" name="ContactMethod" nillable="true" type="s:short" />
266
+ </s:sequence>
267
+ </s:extension>
268
+ </s:complexContent>
269
+ </s:complexType>
270
+ <s:complexType name="ArrayOfClientIndex">
271
+ <s:sequence>
272
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ClientIndex" nillable="true" type="tns:ClientIndex" />
273
+ </s:sequence>
274
+ </s:complexType>
275
+ <s:complexType name="ClientIndex">
276
+ <s:complexContent mixed="false">
277
+ <s:extension base="tns:MBObject">
278
+ <s:sequence>
279
+ <s:element minOccurs="0" maxOccurs="1" name="RequiredBusinessMode" type="s:boolean" />
280
+ <s:element minOccurs="0" maxOccurs="1" name="RequiredConsumerMode" type="s:boolean" />
281
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
282
+ <s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:int" />
283
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
284
+ <s:element minOccurs="0" maxOccurs="1" name="Values" type="tns:ArrayOfClientIndexValue" />
285
+ </s:sequence>
286
+ </s:extension>
287
+ </s:complexContent>
288
+ </s:complexType>
289
+ <s:complexType name="ArrayOfClientIndexValue">
290
+ <s:sequence>
291
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ClientIndexValue" nillable="true" type="tns:ClientIndexValue" />
292
+ </s:sequence>
293
+ </s:complexType>
294
+ <s:complexType name="ClientIndexValue">
295
+ <s:complexContent mixed="false">
296
+ <s:extension base="tns:MBObject">
297
+ <s:sequence>
298
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
299
+ <s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:int" />
300
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
301
+ <s:element minOccurs="0" maxOccurs="1" name="Active" type="s:boolean" />
302
+ </s:sequence>
303
+ </s:extension>
304
+ </s:complexContent>
305
+ </s:complexType>
306
+ <s:complexType name="ClientCreditCard">
307
+ <s:sequence>
308
+ <s:element minOccurs="0" maxOccurs="1" name="CardType" type="s:string" />
309
+ <s:element minOccurs="0" maxOccurs="1" name="LastFour" type="s:string" />
310
+ <s:element minOccurs="0" maxOccurs="1" name="CardNumber" type="s:string" />
311
+ <s:element minOccurs="0" maxOccurs="1" name="CardHolder" type="s:string" />
312
+ <s:element minOccurs="0" maxOccurs="1" name="ExpMonth" type="s:string" />
313
+ <s:element minOccurs="0" maxOccurs="1" name="ExpYear" type="s:string" />
314
+ <s:element minOccurs="0" maxOccurs="1" name="Address" type="s:string" />
315
+ <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
316
+ <s:element minOccurs="0" maxOccurs="1" name="State" type="s:string" />
317
+ <s:element minOccurs="0" maxOccurs="1" name="PostalCode" type="s:string" />
318
+ </s:sequence>
319
+ </s:complexType>
320
+ <s:complexType name="ArrayOfClientRelationship">
321
+ <s:sequence>
322
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ClientRelationship" nillable="true" type="tns:ClientRelationship" />
323
+ </s:sequence>
324
+ </s:complexType>
325
+ <s:complexType name="ClientRelationship">
326
+ <s:complexContent mixed="false">
327
+ <s:extension base="tns:MBObject">
328
+ <s:sequence>
329
+ <s:element minOccurs="0" maxOccurs="1" name="RelatedClient" type="tns:Client" />
330
+ <s:element minOccurs="0" maxOccurs="1" name="Relationship" type="tns:Relationship" />
331
+ <s:element minOccurs="0" maxOccurs="1" name="RelationshipName" type="s:string" />
332
+ </s:sequence>
333
+ </s:extension>
334
+ </s:complexContent>
335
+ </s:complexType>
336
+ <s:complexType name="Relationship">
337
+ <s:sequence>
338
+ <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
339
+ <s:element minOccurs="0" maxOccurs="1" name="RelationshipName1" type="s:string" />
340
+ <s:element minOccurs="0" maxOccurs="1" name="RelationshipName2" type="s:string" />
341
+ </s:sequence>
342
+ </s:complexType>
343
+ <s:complexType name="ArrayOfRep">
344
+ <s:sequence>
345
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Rep" nillable="true" type="tns:Rep" />
346
+ </s:sequence>
347
+ </s:complexType>
348
+ <s:complexType name="Rep">
349
+ <s:complexContent mixed="false">
350
+ <s:extension base="tns:MBObject">
351
+ <s:sequence>
352
+ <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
353
+ <s:element minOccurs="0" maxOccurs="1" name="Staff" type="tns:Staff" />
354
+ </s:sequence>
355
+ </s:extension>
356
+ </s:complexContent>
357
+ </s:complexType>
358
+ <s:complexType name="Staff">
359
+ <s:complexContent mixed="false">
360
+ <s:extension base="tns:MBObject">
361
+ <s:sequence>
362
+ <s:element minOccurs="0" maxOccurs="1" name="Appointments" type="tns:ArrayOfAppointment" />
363
+ <s:element minOccurs="0" maxOccurs="1" name="Unavailabilities" type="tns:ArrayOfUnavailability" />
364
+ <s:element minOccurs="0" maxOccurs="1" name="Availabilities" type="tns:ArrayOfAvailability" />
365
+ <s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" />
366
+ <s:element minOccurs="0" maxOccurs="1" name="MobilePhone" type="s:string" />
367
+ <s:element minOccurs="0" maxOccurs="1" name="HomePhone" type="s:string" />
368
+ <s:element minOccurs="0" maxOccurs="1" name="WorkPhone" type="s:string" />
369
+ <s:element minOccurs="0" maxOccurs="1" name="Address" type="s:string" />
370
+ <s:element minOccurs="0" maxOccurs="1" name="Address2" type="s:string" />
371
+ <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
372
+ <s:element minOccurs="0" maxOccurs="1" name="State" type="s:string" />
373
+ <s:element minOccurs="0" maxOccurs="1" name="Country" type="s:string" />
374
+ <s:element minOccurs="0" maxOccurs="1" name="PostalCode" type="s:string" />
375
+ <s:element minOccurs="0" maxOccurs="1" name="ForeignZip" type="s:string" />
376
+ <s:element minOccurs="0" maxOccurs="1" name="SortOrder" type="s:int" />
377
+ <s:element minOccurs="0" maxOccurs="1" name="LoginLocations" type="tns:ArrayOfLocation" />
378
+ <s:element minOccurs="0" maxOccurs="1" name="MultiLocation" nillable="true" type="s:boolean" />
379
+ <s:element minOccurs="0" maxOccurs="1" name="AppointmentTrn" nillable="true" type="s:boolean" />
380
+ <s:element minOccurs="0" maxOccurs="1" name="ReservationTrn" nillable="true" type="s:boolean" />
381
+ <s:element minOccurs="0" maxOccurs="1" name="IndependentContractor" nillable="true" type="s:boolean" />
382
+ <s:element minOccurs="0" maxOccurs="1" name="AlwaysAllowDoubleBooking" nillable="true" type="s:boolean" />
383
+ <s:element minOccurs="0" maxOccurs="1" name="UserAccessLevel" type="s:string" />
384
+ <s:element minOccurs="0" maxOccurs="1" name="ProviderIDs" type="tns:ArrayOfString" />
385
+ <s:element minOccurs="0" maxOccurs="1" name="ProviderIDUpdateList" type="tns:ArrayOfProviderIDUpdate" />
386
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
387
+ <s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:long" />
388
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
389
+ <s:element minOccurs="0" maxOccurs="1" name="FirstName" type="s:string" />
390
+ <s:element minOccurs="0" maxOccurs="1" name="LastName" type="s:string" />
391
+ <s:element minOccurs="0" maxOccurs="1" name="ImageURL" type="s:string" />
392
+ <s:element minOccurs="0" maxOccurs="1" name="Bio" type="s:string" />
393
+ <s:element minOccurs="1" maxOccurs="1" name="isMale" type="s:boolean" />
394
+ </s:sequence>
395
+ </s:extension>
396
+ </s:complexContent>
397
+ </s:complexType>
398
+ <s:complexType name="ArrayOfAppointment">
399
+ <s:sequence>
400
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Appointment" nillable="true" type="tns:Appointment" />
401
+ </s:sequence>
402
+ </s:complexType>
403
+ <s:complexType name="Appointment">
404
+ <s:complexContent mixed="false">
405
+ <s:extension base="tns:ScheduleItem">
406
+ <s:sequence>
407
+ <s:element minOccurs="0" maxOccurs="1" name="GenderPreference" type="s:string" />
408
+ <s:element minOccurs="1" maxOccurs="1" name="Duration" nillable="true" type="s:int" />
409
+ <s:element minOccurs="0" maxOccurs="1" name="ProviderID" type="s:string" />
410
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
411
+ <s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:long" />
412
+ <s:element minOccurs="0" maxOccurs="1" name="Status" type="tns:AppointmentStatus" />
413
+ <s:element minOccurs="0" maxOccurs="1" name="StartDateTime" nillable="true" type="s:dateTime" />
414
+ <s:element minOccurs="0" maxOccurs="1" name="EndDateTime" nillable="true" type="s:dateTime" />
415
+ <s:element minOccurs="0" maxOccurs="1" name="Notes" type="s:string" />
416
+ <s:element minOccurs="0" maxOccurs="1" name="StaffRequested" nillable="true" type="s:boolean" />
417
+ <s:element minOccurs="0" maxOccurs="1" name="Program" type="tns:Program" />
418
+ <s:element minOccurs="0" maxOccurs="1" name="SessionType" type="tns:SessionType" />
419
+ <s:element minOccurs="0" maxOccurs="1" name="Location" type="tns:Location" />
420
+ <s:element minOccurs="0" maxOccurs="1" name="Staff" type="tns:Staff" />
421
+ <s:element minOccurs="0" maxOccurs="1" name="Client" type="tns:Client" />
422
+ <s:element minOccurs="0" maxOccurs="1" name="FirstAppointment" nillable="true" type="s:boolean" />
423
+ <s:element minOccurs="0" maxOccurs="1" name="ClientService" type="tns:ClientService" />
424
+ <s:element minOccurs="0" maxOccurs="1" name="Resources" type="tns:ArrayOfResource" />
425
+ </s:sequence>
426
+ </s:extension>
427
+ </s:complexContent>
428
+ </s:complexType>
429
+ <s:complexType name="ScheduleItem">
430
+ <s:complexContent mixed="false">
431
+ <s:extension base="tns:MBObject" />
432
+ </s:complexContent>
433
+ </s:complexType>
434
+ <s:complexType name="Unavailability">
435
+ <s:complexContent mixed="false">
436
+ <s:extension base="tns:ScheduleItem">
437
+ <s:sequence>
438
+ <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
439
+ <s:element minOccurs="1" maxOccurs="1" name="StartDateTime" type="s:dateTime" />
440
+ <s:element minOccurs="1" maxOccurs="1" name="EndDateTime" type="s:dateTime" />
441
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
442
+ </s:sequence>
443
+ </s:extension>
444
+ </s:complexContent>
445
+ </s:complexType>
446
+ <s:complexType name="Availability">
447
+ <s:complexContent mixed="false">
448
+ <s:extension base="tns:ScheduleItem">
449
+ <s:sequence>
450
+ <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
451
+ <s:element minOccurs="0" maxOccurs="1" name="Staff" type="tns:Staff" />
452
+ <s:element minOccurs="0" maxOccurs="1" name="SessionType" type="tns:SessionType" />
453
+ <s:element minOccurs="0" maxOccurs="1" name="Programs" type="tns:ArrayOfProgram" />
454
+ <s:element minOccurs="1" maxOccurs="1" name="StartDateTime" type="s:dateTime" />
455
+ <s:element minOccurs="1" maxOccurs="1" name="EndDateTime" type="s:dateTime" />
456
+ <s:element minOccurs="1" maxOccurs="1" name="BookableEndDateTime" nillable="true" type="s:dateTime" />
457
+ <s:element minOccurs="0" maxOccurs="1" name="Location" type="tns:Location" />
458
+ </s:sequence>
459
+ </s:extension>
460
+ </s:complexContent>
461
+ </s:complexType>
462
+ <s:complexType name="SessionType">
463
+ <s:complexContent mixed="false">
464
+ <s:extension base="tns:MBObject">
465
+ <s:sequence>
466
+ <s:element minOccurs="1" maxOccurs="1" name="DefaultTimeLength" nillable="true" type="s:int" />
467
+ <s:element minOccurs="1" maxOccurs="1" name="ProgramID" nillable="true" type="s:int" />
468
+ <s:element minOccurs="1" maxOccurs="1" name="NumDeducted" nillable="true" type="s:int" />
469
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
470
+ <s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:int" />
471
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
472
+ </s:sequence>
473
+ </s:extension>
474
+ </s:complexContent>
475
+ </s:complexType>
476
+ <s:complexType name="ArrayOfProgram">
477
+ <s:sequence>
478
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Program" nillable="true" type="tns:Program" />
479
+ </s:sequence>
480
+ </s:complexType>
481
+ <s:complexType name="Location">
482
+ <s:complexContent mixed="false">
483
+ <s:extension base="tns:MBObject">
484
+ <s:sequence>
485
+ <s:element minOccurs="0" maxOccurs="1" name="BusinessID" nillable="true" type="s:int" />
486
+ <s:element minOccurs="0" maxOccurs="1" name="SiteID" type="s:int" />
487
+ <s:element minOccurs="0" maxOccurs="1" name="BusinessDescription" type="s:string" />
488
+ <s:element minOccurs="0" maxOccurs="1" name="AdditionalImageURLs" type="tns:ArrayOfString" />
489
+ <s:element minOccurs="0" maxOccurs="1" name="FacilitySquareFeet" nillable="true" type="s:int" />
490
+ <s:element minOccurs="0" maxOccurs="1" name="TreatmentRooms" nillable="true" type="s:int" />
491
+ <s:element minOccurs="0" maxOccurs="1" name="ProSpaFinderSite" type="s:boolean" />
492
+ <s:element minOccurs="0" maxOccurs="1" name="HasClasses" type="s:boolean" />
493
+ <s:element minOccurs="0" maxOccurs="1" name="PhoneExtension" type="s:string" />
494
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
495
+ <s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:int" />
496
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
497
+ <s:element minOccurs="0" maxOccurs="1" name="Address" type="s:string" />
498
+ <s:element minOccurs="0" maxOccurs="1" name="Address2" type="s:string" />
499
+ <s:element minOccurs="0" maxOccurs="1" name="Tax1" nillable="true" type="s:float" />
500
+ <s:element minOccurs="0" maxOccurs="1" name="Tax2" nillable="true" type="s:float" />
501
+ <s:element minOccurs="0" maxOccurs="1" name="Tax3" nillable="true" type="s:float" />
502
+ <s:element minOccurs="0" maxOccurs="1" name="Tax4" nillable="true" type="s:float" />
503
+ <s:element minOccurs="0" maxOccurs="1" name="Tax5" nillable="true" type="s:float" />
504
+ <s:element minOccurs="0" maxOccurs="1" name="Phone" type="s:string" />
505
+ <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
506
+ <s:element minOccurs="0" maxOccurs="1" name="StateProvCode" type="s:string" />
507
+ <s:element minOccurs="0" maxOccurs="1" name="PostalCode" type="s:string" />
508
+ <s:element minOccurs="0" maxOccurs="1" name="Latitude" nillable="true" type="s:double" />
509
+ <s:element minOccurs="0" maxOccurs="1" name="Longitude" nillable="true" type="s:double" />
510
+ <s:element minOccurs="0" maxOccurs="1" name="DistanceInMiles" nillable="true" type="s:double" />
511
+ <s:element minOccurs="0" maxOccurs="1" name="ImageURL" type="s:string" />
512
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
513
+ <s:element minOccurs="0" maxOccurs="1" name="HasSite" nillable="true" type="s:boolean" />
514
+ <s:element minOccurs="0" maxOccurs="1" name="CanBook" nillable="true" type="s:boolean" />
515
+ </s:sequence>
516
+ </s:extension>
517
+ </s:complexContent>
518
+ </s:complexType>
519
+ <s:simpleType name="AppointmentStatus">
520
+ <s:restriction base="s:string">
521
+ <s:enumeration value="Booked" />
522
+ <s:enumeration value="Completed" />
523
+ <s:enumeration value="Confirmed" />
524
+ <s:enumeration value="Arrived" />
525
+ <s:enumeration value="NoShow" />
526
+ <s:enumeration value="Cancelled" />
527
+ <s:enumeration value="LateCancelled" />
528
+ </s:restriction>
529
+ </s:simpleType>
530
+ <s:complexType name="ArrayOfResource">
531
+ <s:sequence>
532
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Resource" nillable="true" type="tns:Resource" />
533
+ </s:sequence>
534
+ </s:complexType>
535
+ <s:complexType name="Resource">
536
+ <s:complexContent mixed="false">
537
+ <s:extension base="tns:MBObject">
538
+ <s:sequence>
539
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
540
+ <s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:int" />
541
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
542
+ </s:sequence>
543
+ </s:extension>
544
+ </s:complexContent>
545
+ </s:complexType>
546
+ <s:complexType name="ArrayOfUnavailability">
547
+ <s:sequence>
548
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Unavailability" nillable="true" type="tns:Unavailability" />
549
+ </s:sequence>
550
+ </s:complexType>
551
+ <s:complexType name="ArrayOfAvailability">
552
+ <s:sequence>
553
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Availability" nillable="true" type="tns:Availability" />
554
+ </s:sequence>
555
+ </s:complexType>
556
+ <s:complexType name="ArrayOfLocation">
557
+ <s:sequence>
558
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Location" nillable="true" type="tns:Location" />
559
+ </s:sequence>
560
+ </s:complexType>
561
+ <s:complexType name="ArrayOfProviderIDUpdate">
562
+ <s:sequence>
563
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ProviderIDUpdate" nillable="true" type="tns:ProviderIDUpdate" />
564
+ </s:sequence>
565
+ </s:complexType>
566
+ <s:complexType name="ProviderIDUpdate">
567
+ <s:sequence>
568
+ <s:element minOccurs="0" maxOccurs="1" name="OldProviderID" type="s:string" />
569
+ <s:element minOccurs="0" maxOccurs="1" name="NewProviderID" type="s:string" />
570
+ </s:sequence>
571
+ </s:complexType>
572
+ <s:complexType name="ArrayOfSalesRep">
573
+ <s:sequence>
574
+ <s:element minOccurs="0" maxOccurs="unbounded" name="SalesRep" nillable="true" type="tns:SalesRep" />
575
+ </s:sequence>
576
+ </s:complexType>
577
+ <s:complexType name="SalesRep">
578
+ <s:complexContent mixed="false">
579
+ <s:extension base="tns:MBObject">
580
+ <s:sequence>
581
+ <s:element minOccurs="0" maxOccurs="1" name="SalesRepNumber" nillable="true" type="s:int" />
582
+ <s:element minOccurs="1" maxOccurs="1" name="ID" nillable="true" type="s:long" />
583
+ <s:element minOccurs="0" maxOccurs="1" name="FirstName" type="s:string" />
584
+ <s:element minOccurs="0" maxOccurs="1" name="LastName" type="s:string" />
585
+ <s:element minOccurs="0" maxOccurs="1" name="SalesRepNumbers" type="tns:ArrayOfInt" />
586
+ </s:sequence>
587
+ </s:extension>
588
+ </s:complexContent>
589
+ </s:complexType>
590
+ <s:complexType name="ArrayOfCustomClientField">
591
+ <s:sequence>
592
+ <s:element minOccurs="0" maxOccurs="unbounded" name="CustomClientField" nillable="true" type="tns:CustomClientField" />
593
+ </s:sequence>
594
+ </s:complexType>
595
+ <s:complexType name="CustomClientField">
596
+ <s:sequence>
597
+ <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
598
+ <s:element minOccurs="0" maxOccurs="1" name="DataType" type="s:string" />
599
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
600
+ <s:element minOccurs="0" maxOccurs="1" name="Value" type="s:string" />
601
+ </s:sequence>
602
+ </s:complexType>
603
+ <s:complexType name="Liability">
604
+ <s:sequence>
605
+ <s:element minOccurs="1" maxOccurs="1" name="IsReleased" type="s:boolean" />
606
+ <s:element minOccurs="1" maxOccurs="1" name="AgreementDate" nillable="true" type="s:dateTime" />
607
+ <s:element minOccurs="1" maxOccurs="1" name="ReleasedBy" nillable="true" type="s:long" />
608
+ </s:sequence>
609
+ </s:complexType>
610
+ <s:complexType name="ProspectStage">
611
+ <s:sequence>
612
+ <s:element minOccurs="1" maxOccurs="1" name="ID" nillable="true" type="s:int" />
613
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
614
+ <s:element minOccurs="1" maxOccurs="1" name="Active" type="s:boolean" />
615
+ </s:sequence>
616
+ </s:complexType>
617
+ <s:element name="AddOrUpdateClientsResponse">
618
+ <s:complexType>
619
+ <s:sequence>
620
+ <s:element minOccurs="0" maxOccurs="1" name="AddOrUpdateClientsResult" type="tns:AddOrUpdateClientsResult" />
621
+ </s:sequence>
622
+ </s:complexType>
623
+ </s:element>
624
+ <s:complexType name="AddOrUpdateClientsResult">
625
+ <s:complexContent mixed="false">
626
+ <s:extension base="tns:MBResult">
627
+ <s:sequence>
628
+ <s:element minOccurs="0" maxOccurs="1" name="Clients" type="tns:ArrayOfClient" />
629
+ </s:sequence>
630
+ </s:extension>
631
+ </s:complexContent>
632
+ </s:complexType>
633
+ <s:element name="GetClients">
634
+ <s:complexType>
635
+ <s:sequence>
636
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientsRequest" />
637
+ </s:sequence>
638
+ </s:complexType>
639
+ </s:element>
640
+ <s:complexType name="GetClientsRequest">
641
+ <s:complexContent mixed="false">
642
+ <s:extension base="tns:MBRequest">
643
+ <s:sequence>
644
+ <s:element minOccurs="0" maxOccurs="1" name="ClientIDs" type="tns:ArrayOfString" />
645
+ <s:element minOccurs="0" maxOccurs="1" name="SearchText" type="s:string" />
646
+ <s:element minOccurs="1" maxOccurs="1" name="IsProspect" nillable="true" type="s:boolean" />
647
+ </s:sequence>
648
+ </s:extension>
649
+ </s:complexContent>
650
+ </s:complexType>
651
+ <s:element name="GetClientsResponse">
652
+ <s:complexType>
653
+ <s:sequence>
654
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientsResult" type="tns:GetClientsResult" />
655
+ </s:sequence>
656
+ </s:complexType>
657
+ </s:element>
658
+ <s:complexType name="GetClientsResult">
659
+ <s:complexContent mixed="false">
660
+ <s:extension base="tns:MBResult">
661
+ <s:sequence>
662
+ <s:element minOccurs="0" maxOccurs="1" name="Clients" type="tns:ArrayOfClient" />
663
+ </s:sequence>
664
+ </s:extension>
665
+ </s:complexContent>
666
+ </s:complexType>
667
+ <s:element name="GetCustomClientFields">
668
+ <s:complexType>
669
+ <s:sequence>
670
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetCustomClientFieldsRequest" />
671
+ </s:sequence>
672
+ </s:complexType>
673
+ </s:element>
674
+ <s:complexType name="GetCustomClientFieldsRequest">
675
+ <s:complexContent mixed="false">
676
+ <s:extension base="tns:MBRequest" />
677
+ </s:complexContent>
678
+ </s:complexType>
679
+ <s:element name="GetCustomClientFieldsResponse">
680
+ <s:complexType>
681
+ <s:sequence>
682
+ <s:element minOccurs="0" maxOccurs="1" name="GetCustomClientFieldsResult" type="tns:GetCustomClientFieldsResult" />
683
+ </s:sequence>
684
+ </s:complexType>
685
+ </s:element>
686
+ <s:complexType name="GetCustomClientFieldsResult">
687
+ <s:complexContent mixed="false">
688
+ <s:extension base="tns:MBResult">
689
+ <s:sequence>
690
+ <s:element minOccurs="0" maxOccurs="1" name="CustomClientFields" type="tns:ArrayOfCustomClientField" />
691
+ </s:sequence>
692
+ </s:extension>
693
+ </s:complexContent>
694
+ </s:complexType>
695
+ <s:element name="GetClientIndexes">
696
+ <s:complexType>
697
+ <s:sequence>
698
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientIndexesRequest" />
699
+ </s:sequence>
700
+ </s:complexType>
701
+ </s:element>
702
+ <s:complexType name="GetClientIndexesRequest">
703
+ <s:complexContent mixed="false">
704
+ <s:extension base="tns:MBRequest">
705
+ <s:sequence>
706
+ <s:element minOccurs="1" maxOccurs="1" name="RequiredOnly" nillable="true" type="s:boolean" />
707
+ </s:sequence>
708
+ </s:extension>
709
+ </s:complexContent>
710
+ </s:complexType>
711
+ <s:element name="GetClientIndexesResponse">
712
+ <s:complexType>
713
+ <s:sequence>
714
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientIndexesResult" type="tns:GetClientIndexesResult" />
715
+ </s:sequence>
716
+ </s:complexType>
717
+ </s:element>
718
+ <s:complexType name="GetClientIndexesResult">
719
+ <s:complexContent mixed="false">
720
+ <s:extension base="tns:MBResult">
721
+ <s:sequence>
722
+ <s:element minOccurs="0" maxOccurs="1" name="ClientIndexes" type="tns:ArrayOfClientIndex" />
723
+ </s:sequence>
724
+ </s:extension>
725
+ </s:complexContent>
726
+ </s:complexType>
727
+ <s:element name="GetClientContactLogs">
728
+ <s:complexType>
729
+ <s:sequence>
730
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientContactLogsRequest" />
731
+ </s:sequence>
732
+ </s:complexType>
733
+ </s:element>
734
+ <s:complexType name="GetClientContactLogsRequest">
735
+ <s:complexContent mixed="false">
736
+ <s:extension base="tns:MBRequest">
737
+ <s:sequence>
738
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
739
+ <s:element minOccurs="1" maxOccurs="1" name="StartDate" nillable="true" type="s:dateTime" />
740
+ <s:element minOccurs="1" maxOccurs="1" name="EndDate" nillable="true" type="s:dateTime" />
741
+ <s:element minOccurs="0" maxOccurs="1" name="StaffIDs" type="tns:ArrayOfLong" />
742
+ <s:element minOccurs="1" maxOccurs="1" name="ShowSystemGenerated" nillable="true" type="s:boolean" />
743
+ <s:element minOccurs="0" maxOccurs="1" name="TypeIDs" type="tns:ArrayOfInt" />
744
+ <s:element minOccurs="0" maxOccurs="1" name="SubtypeIDs" type="tns:ArrayOfInt" />
745
+ </s:sequence>
746
+ </s:extension>
747
+ </s:complexContent>
748
+ </s:complexType>
749
+ <s:complexType name="ArrayOfLong">
750
+ <s:sequence>
751
+ <s:element minOccurs="0" maxOccurs="unbounded" name="long" type="s:long" />
752
+ </s:sequence>
753
+ </s:complexType>
754
+ <s:element name="GetClientContactLogsResponse">
755
+ <s:complexType>
756
+ <s:sequence>
757
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientContactLogsResult" type="tns:GetClientContactLogsResult" />
758
+ </s:sequence>
759
+ </s:complexType>
760
+ </s:element>
761
+ <s:complexType name="GetClientContactLogsResult">
762
+ <s:complexContent mixed="false">
763
+ <s:extension base="tns:MBResult">
764
+ <s:sequence>
765
+ <s:element minOccurs="0" maxOccurs="1" name="ContactLogs" type="tns:ArrayOfContactLog" />
766
+ </s:sequence>
767
+ </s:extension>
768
+ </s:complexContent>
769
+ </s:complexType>
770
+ <s:complexType name="ArrayOfContactLog">
771
+ <s:sequence>
772
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ContactLog" nillable="true" type="tns:ContactLog" />
773
+ </s:sequence>
774
+ </s:complexType>
775
+ <s:complexType name="ContactLog">
776
+ <s:complexContent mixed="false">
777
+ <s:extension base="tns:MBObject">
778
+ <s:sequence>
779
+ <s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:long" />
780
+ <s:element minOccurs="0" maxOccurs="1" name="CreatedBy" type="tns:Staff" />
781
+ <s:element minOccurs="0" maxOccurs="1" name="Client" type="tns:Client" />
782
+ <s:element minOccurs="0" maxOccurs="1" name="CreatedDateTime" type="s:dateTime" />
783
+ <s:element minOccurs="0" maxOccurs="1" name="FollowupByDate" nillable="true" type="s:dateTime" />
784
+ <s:element minOccurs="0" maxOccurs="1" name="ContactName" type="s:string" />
785
+ <s:element minOccurs="0" maxOccurs="1" name="Text" type="s:string" />
786
+ <s:element minOccurs="0" maxOccurs="1" name="AssignedTo" type="tns:Staff" />
787
+ <s:element minOccurs="0" maxOccurs="1" name="ContactMethod" type="s:string" />
788
+ <s:element minOccurs="0" maxOccurs="1" name="IsSystemGenerated" type="s:boolean" />
789
+ <s:element minOccurs="0" maxOccurs="1" name="Comments" type="tns:ArrayOfContactLogComment" />
790
+ <s:element minOccurs="0" maxOccurs="1" name="Types" type="tns:ArrayOfContactLogType" />
791
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
792
+ </s:sequence>
793
+ </s:extension>
794
+ </s:complexContent>
795
+ </s:complexType>
796
+ <s:complexType name="ArrayOfContactLogComment">
797
+ <s:sequence>
798
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ContactLogComment" nillable="true" type="tns:ContactLogComment" />
799
+ </s:sequence>
800
+ </s:complexType>
801
+ <s:complexType name="ContactLogComment">
802
+ <s:complexContent mixed="false">
803
+ <s:extension base="tns:MBObject">
804
+ <s:sequence>
805
+ <s:element minOccurs="0" maxOccurs="1" name="ID" type="s:int" />
806
+ <s:element minOccurs="0" maxOccurs="1" name="Text" type="s:string" />
807
+ <s:element minOccurs="0" maxOccurs="1" name="CreatedBy" type="tns:Staff" />
808
+ <s:element minOccurs="0" maxOccurs="1" name="CreatedDateTime" type="s:dateTime" />
809
+ </s:sequence>
810
+ </s:extension>
811
+ </s:complexContent>
812
+ </s:complexType>
813
+ <s:complexType name="ArrayOfContactLogType">
814
+ <s:sequence>
815
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ContactLogType" nillable="true" type="tns:ContactLogType" />
816
+ </s:sequence>
817
+ </s:complexType>
818
+ <s:complexType name="ContactLogType">
819
+ <s:complexContent mixed="false">
820
+ <s:extension base="tns:MBObject">
821
+ <s:sequence>
822
+ <s:element minOccurs="0" maxOccurs="1" name="ID" type="s:int" />
823
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
824
+ <s:element minOccurs="0" maxOccurs="1" name="Subtypes" type="tns:ArrayOfContactLogSubtype" />
825
+ </s:sequence>
826
+ </s:extension>
827
+ </s:complexContent>
828
+ </s:complexType>
829
+ <s:complexType name="ArrayOfContactLogSubtype">
830
+ <s:sequence>
831
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ContactLogSubtype" nillable="true" type="tns:ContactLogSubtype" />
832
+ </s:sequence>
833
+ </s:complexType>
834
+ <s:complexType name="ContactLogSubtype">
835
+ <s:complexContent mixed="false">
836
+ <s:extension base="tns:MBObject">
837
+ <s:sequence>
838
+ <s:element minOccurs="0" maxOccurs="1" name="ID" type="s:int" />
839
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
840
+ </s:sequence>
841
+ </s:extension>
842
+ </s:complexContent>
843
+ </s:complexType>
844
+ <s:element name="AddOrUpdateContactLogs">
845
+ <s:complexType>
846
+ <s:sequence>
847
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:AddOrUpdateContactLogsRequest" />
848
+ </s:sequence>
849
+ </s:complexType>
850
+ </s:element>
851
+ <s:complexType name="AddOrUpdateContactLogsRequest">
852
+ <s:complexContent mixed="false">
853
+ <s:extension base="tns:MBRequest">
854
+ <s:sequence>
855
+ <s:element minOccurs="0" maxOccurs="1" name="UpdateAction" type="s:string" />
856
+ <s:element minOccurs="1" maxOccurs="1" name="Test" nillable="true" type="s:boolean" />
857
+ <s:element minOccurs="0" maxOccurs="1" name="ContactLogs" type="tns:ArrayOfContactLog" />
858
+ </s:sequence>
859
+ </s:extension>
860
+ </s:complexContent>
861
+ </s:complexType>
862
+ <s:element name="AddOrUpdateContactLogsResponse">
863
+ <s:complexType>
864
+ <s:sequence>
865
+ <s:element minOccurs="0" maxOccurs="1" name="AddOrUpdateContactLogsResult" type="tns:AddOrUpdateContactLogsResult" />
866
+ </s:sequence>
867
+ </s:complexType>
868
+ </s:element>
869
+ <s:complexType name="AddOrUpdateContactLogsResult">
870
+ <s:complexContent mixed="false">
871
+ <s:extension base="tns:MBResult">
872
+ <s:sequence>
873
+ <s:element minOccurs="0" maxOccurs="1" name="ContactLogs" type="tns:ArrayOfContactLog" />
874
+ </s:sequence>
875
+ </s:extension>
876
+ </s:complexContent>
877
+ </s:complexType>
878
+ <s:element name="GetContactLogTypes">
879
+ <s:complexType>
880
+ <s:sequence>
881
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetContactLogTypesRequest" />
882
+ </s:sequence>
883
+ </s:complexType>
884
+ </s:element>
885
+ <s:complexType name="GetContactLogTypesRequest">
886
+ <s:complexContent mixed="false">
887
+ <s:extension base="tns:MBRequest" />
888
+ </s:complexContent>
889
+ </s:complexType>
890
+ <s:element name="GetContactLogTypesResponse">
891
+ <s:complexType>
892
+ <s:sequence>
893
+ <s:element minOccurs="0" maxOccurs="1" name="GetContactLogTypesResult" type="tns:GetContactLogTypesResult" />
894
+ </s:sequence>
895
+ </s:complexType>
896
+ </s:element>
897
+ <s:complexType name="GetContactLogTypesResult">
898
+ <s:complexContent mixed="false">
899
+ <s:extension base="tns:MBResult">
900
+ <s:sequence>
901
+ <s:element minOccurs="0" maxOccurs="1" name="ContatctLogTypes" type="tns:ArrayOfContactLogType" />
902
+ </s:sequence>
903
+ </s:extension>
904
+ </s:complexContent>
905
+ </s:complexType>
906
+ <s:element name="UploadClientDocument">
907
+ <s:complexType>
908
+ <s:sequence>
909
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:UploadClientDocumentRequest" />
910
+ </s:sequence>
911
+ </s:complexType>
912
+ </s:element>
913
+ <s:complexType name="UploadClientDocumentRequest">
914
+ <s:complexContent mixed="false">
915
+ <s:extension base="tns:MBRequest">
916
+ <s:sequence>
917
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
918
+ <s:element minOccurs="0" maxOccurs="1" name="FileName" type="s:string" />
919
+ <s:element minOccurs="0" maxOccurs="1" name="Bytes" type="s:base64Binary" />
920
+ </s:sequence>
921
+ </s:extension>
922
+ </s:complexContent>
923
+ </s:complexType>
924
+ <s:element name="UploadClientDocumentResponse">
925
+ <s:complexType>
926
+ <s:sequence>
927
+ <s:element minOccurs="0" maxOccurs="1" name="UploadClientDocumentResult" type="tns:UploadClientDocumentResult" />
928
+ </s:sequence>
929
+ </s:complexType>
930
+ </s:element>
931
+ <s:complexType name="UploadClientDocumentResult">
932
+ <s:complexContent mixed="false">
933
+ <s:extension base="tns:MBResult">
934
+ <s:sequence>
935
+ <s:element minOccurs="1" maxOccurs="1" name="FileSize" type="s:long" />
936
+ <s:element minOccurs="0" maxOccurs="1" name="FileName" type="s:string" />
937
+ </s:sequence>
938
+ </s:extension>
939
+ </s:complexContent>
940
+ </s:complexType>
941
+ <s:element name="UploadClientPhoto">
942
+ <s:complexType>
943
+ <s:sequence>
944
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:UploadClientPhotoRequest" />
945
+ </s:sequence>
946
+ </s:complexType>
947
+ </s:element>
948
+ <s:complexType name="UploadClientPhotoRequest">
949
+ <s:complexContent mixed="false">
950
+ <s:extension base="tns:MBRequest">
951
+ <s:sequence>
952
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
953
+ <s:element minOccurs="0" maxOccurs="1" name="Bytes" type="s:base64Binary" />
954
+ </s:sequence>
955
+ </s:extension>
956
+ </s:complexContent>
957
+ </s:complexType>
958
+ <s:element name="UploadClientPhotoResponse">
959
+ <s:complexType>
960
+ <s:sequence>
961
+ <s:element minOccurs="0" maxOccurs="1" name="UploadClientPhotoResult" type="tns:UploadClientPhotoResult" />
962
+ </s:sequence>
963
+ </s:complexType>
964
+ </s:element>
965
+ <s:complexType name="UploadClientPhotoResult">
966
+ <s:complexContent mixed="false">
967
+ <s:extension base="tns:MBResult">
968
+ <s:sequence>
969
+ <s:element minOccurs="0" maxOccurs="1" name="PhotoUrl" type="s:string" />
970
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
971
+ </s:sequence>
972
+ </s:extension>
973
+ </s:complexContent>
974
+ </s:complexType>
975
+ <s:element name="GetClientFormulaNotes">
976
+ <s:complexType>
977
+ <s:sequence>
978
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientFormulaNotesRequest" />
979
+ </s:sequence>
980
+ </s:complexType>
981
+ </s:element>
982
+ <s:complexType name="GetClientFormulaNotesRequest">
983
+ <s:complexContent mixed="false">
984
+ <s:extension base="tns:MBRequest">
985
+ <s:sequence>
986
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
987
+ <s:element minOccurs="1" maxOccurs="1" name="AppointmentID" nillable="true" type="s:long" />
988
+ </s:sequence>
989
+ </s:extension>
990
+ </s:complexContent>
991
+ </s:complexType>
992
+ <s:element name="GetClientFormulaNotesResponse">
993
+ <s:complexType>
994
+ <s:sequence>
995
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientFormulaNotesResult" type="tns:GetClientFormulaNotesResult" />
996
+ </s:sequence>
997
+ </s:complexType>
998
+ </s:element>
999
+ <s:complexType name="GetClientFormulaNotesResult">
1000
+ <s:complexContent mixed="false">
1001
+ <s:extension base="tns:MBResult">
1002
+ <s:sequence>
1003
+ <s:element minOccurs="0" maxOccurs="1" name="FormulaNotes" type="tns:ArrayOfFormulaNote" />
1004
+ </s:sequence>
1005
+ </s:extension>
1006
+ </s:complexContent>
1007
+ </s:complexType>
1008
+ <s:complexType name="ArrayOfFormulaNote">
1009
+ <s:sequence>
1010
+ <s:element minOccurs="0" maxOccurs="unbounded" name="FormulaNote" nillable="true" type="tns:FormulaNote" />
1011
+ </s:sequence>
1012
+ </s:complexType>
1013
+ <s:complexType name="FormulaNote">
1014
+ <s:complexContent mixed="false">
1015
+ <s:extension base="tns:MBObject">
1016
+ <s:sequence>
1017
+ <s:element minOccurs="0" maxOccurs="1" name="ID" type="s:long" />
1018
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1019
+ <s:element minOccurs="0" maxOccurs="1" name="Note" type="s:string" />
1020
+ <s:element minOccurs="1" maxOccurs="1" name="EntryDateTime" type="s:dateTime" />
1021
+ <s:element minOccurs="1" maxOccurs="1" name="AppointmentID" nillable="true" type="s:long" />
1022
+ </s:sequence>
1023
+ </s:extension>
1024
+ </s:complexContent>
1025
+ </s:complexType>
1026
+ <s:element name="AddClientFormulaNote">
1027
+ <s:complexType>
1028
+ <s:sequence>
1029
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:AddClientFormulaNoteRequest" />
1030
+ </s:sequence>
1031
+ </s:complexType>
1032
+ </s:element>
1033
+ <s:complexType name="AddClientFormulaNoteRequest">
1034
+ <s:complexContent mixed="false">
1035
+ <s:extension base="tns:MBRequest">
1036
+ <s:sequence>
1037
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1038
+ <s:element minOccurs="1" maxOccurs="1" name="AppointmentID" nillable="true" type="s:long" />
1039
+ <s:element minOccurs="0" maxOccurs="1" name="Note" type="s:string" />
1040
+ </s:sequence>
1041
+ </s:extension>
1042
+ </s:complexContent>
1043
+ </s:complexType>
1044
+ <s:element name="AddClientFormulaNoteResponse">
1045
+ <s:complexType>
1046
+ <s:sequence>
1047
+ <s:element minOccurs="0" maxOccurs="1" name="AddClientFormulaNoteResult" type="tns:AddClientFormulaNoteResult" />
1048
+ </s:sequence>
1049
+ </s:complexType>
1050
+ </s:element>
1051
+ <s:complexType name="AddClientFormulaNoteResult">
1052
+ <s:complexContent mixed="false">
1053
+ <s:extension base="tns:MBResult">
1054
+ <s:sequence>
1055
+ <s:element minOccurs="0" maxOccurs="1" name="FormulaNote" type="tns:FormulaNote" />
1056
+ </s:sequence>
1057
+ </s:extension>
1058
+ </s:complexContent>
1059
+ </s:complexType>
1060
+ <s:element name="DeleteClientFormulaNote">
1061
+ <s:complexType>
1062
+ <s:sequence>
1063
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:DeleteCientFormulaNoteRequest" />
1064
+ </s:sequence>
1065
+ </s:complexType>
1066
+ </s:element>
1067
+ <s:complexType name="DeleteCientFormulaNoteRequest">
1068
+ <s:complexContent mixed="false">
1069
+ <s:extension base="tns:MBRequest">
1070
+ <s:sequence>
1071
+ <s:element minOccurs="1" maxOccurs="1" name="FormulaNoteID" type="s:long" />
1072
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1073
+ </s:sequence>
1074
+ </s:extension>
1075
+ </s:complexContent>
1076
+ </s:complexType>
1077
+ <s:element name="DeleteClientFormulaNoteResponse">
1078
+ <s:complexType>
1079
+ <s:sequence>
1080
+ <s:element minOccurs="0" maxOccurs="1" name="DeleteClientFormulaNoteResult" type="tns:DeleteClientFormulaNoteResult" />
1081
+ </s:sequence>
1082
+ </s:complexType>
1083
+ </s:element>
1084
+ <s:complexType name="DeleteClientFormulaNoteResult">
1085
+ <s:complexContent mixed="false">
1086
+ <s:extension base="tns:MBResult">
1087
+ <s:sequence>
1088
+ <s:element minOccurs="0" maxOccurs="1" name="FormulaNote" type="tns:FormulaNote" />
1089
+ </s:sequence>
1090
+ </s:extension>
1091
+ </s:complexContent>
1092
+ </s:complexType>
1093
+ <s:element name="GetClientReferralTypes">
1094
+ <s:complexType>
1095
+ <s:sequence>
1096
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientReferralTypesRequest" />
1097
+ </s:sequence>
1098
+ </s:complexType>
1099
+ </s:element>
1100
+ <s:complexType name="GetClientReferralTypesRequest">
1101
+ <s:complexContent mixed="false">
1102
+ <s:extension base="tns:MBRequest">
1103
+ <s:sequence>
1104
+ <s:element minOccurs="1" maxOccurs="1" name="IncludeInactive" nillable="true" type="s:boolean" />
1105
+ </s:sequence>
1106
+ </s:extension>
1107
+ </s:complexContent>
1108
+ </s:complexType>
1109
+ <s:element name="GetClientReferralTypesResponse">
1110
+ <s:complexType>
1111
+ <s:sequence>
1112
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientReferralTypesResult" type="tns:GetClientReferralTypesResult" />
1113
+ </s:sequence>
1114
+ </s:complexType>
1115
+ </s:element>
1116
+ <s:complexType name="GetClientReferralTypesResult">
1117
+ <s:complexContent mixed="false">
1118
+ <s:extension base="tns:MBResult">
1119
+ <s:sequence>
1120
+ <s:element minOccurs="0" maxOccurs="1" name="ReferralTypes" type="tns:ArrayOfString" />
1121
+ </s:sequence>
1122
+ </s:extension>
1123
+ </s:complexContent>
1124
+ </s:complexType>
1125
+ <s:element name="GetActiveClientMemberships">
1126
+ <s:complexType>
1127
+ <s:sequence>
1128
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetActiveClientMembershipsRequest" />
1129
+ </s:sequence>
1130
+ </s:complexType>
1131
+ </s:element>
1132
+ <s:complexType name="GetActiveClientMembershipsRequest">
1133
+ <s:complexContent mixed="false">
1134
+ <s:extension base="tns:MBRequest">
1135
+ <s:sequence>
1136
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1137
+ <s:element minOccurs="1" maxOccurs="1" name="LocationID" nillable="true" type="s:int" />
1138
+ </s:sequence>
1139
+ </s:extension>
1140
+ </s:complexContent>
1141
+ </s:complexType>
1142
+ <s:element name="GetActiveClientMembershipsResponse">
1143
+ <s:complexType>
1144
+ <s:sequence>
1145
+ <s:element minOccurs="0" maxOccurs="1" name="GetActiveClientMembershipsResult" type="tns:GetActiveClientMembershipsResult" />
1146
+ </s:sequence>
1147
+ </s:complexType>
1148
+ </s:element>
1149
+ <s:complexType name="GetActiveClientMembershipsResult">
1150
+ <s:complexContent mixed="false">
1151
+ <s:extension base="tns:MBResult">
1152
+ <s:sequence>
1153
+ <s:element minOccurs="0" maxOccurs="1" name="ClientMemberships" type="tns:ArrayOfClientMembership" />
1154
+ </s:sequence>
1155
+ </s:extension>
1156
+ </s:complexContent>
1157
+ </s:complexType>
1158
+ <s:complexType name="ArrayOfClientMembership">
1159
+ <s:sequence>
1160
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ClientMembership" nillable="true" type="tns:ClientMembership" />
1161
+ </s:sequence>
1162
+ </s:complexType>
1163
+ <s:complexType name="ClientMembership">
1164
+ <s:complexContent mixed="false">
1165
+ <s:extension base="tns:ClientService">
1166
+ <s:sequence>
1167
+ <s:element minOccurs="0" maxOccurs="1" name="RestrictedLocations" type="tns:ArrayOfLocation" />
1168
+ <s:element minOccurs="0" maxOccurs="1" name="IconCode" type="s:string" />
1169
+ </s:sequence>
1170
+ </s:extension>
1171
+ </s:complexContent>
1172
+ </s:complexType>
1173
+ <s:element name="GetClientContracts">
1174
+ <s:complexType>
1175
+ <s:sequence>
1176
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientContractsRequest" />
1177
+ </s:sequence>
1178
+ </s:complexType>
1179
+ </s:element>
1180
+ <s:complexType name="GetClientContractsRequest">
1181
+ <s:complexContent mixed="false">
1182
+ <s:extension base="tns:MBRequest">
1183
+ <s:sequence>
1184
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1185
+ </s:sequence>
1186
+ </s:extension>
1187
+ </s:complexContent>
1188
+ </s:complexType>
1189
+ <s:element name="GetClientContractsResponse">
1190
+ <s:complexType>
1191
+ <s:sequence>
1192
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientContractsResult" type="tns:GetClientContractsResult" />
1193
+ </s:sequence>
1194
+ </s:complexType>
1195
+ </s:element>
1196
+ <s:complexType name="GetClientContractsResult">
1197
+ <s:complexContent mixed="false">
1198
+ <s:extension base="tns:MBResult">
1199
+ <s:sequence>
1200
+ <s:element minOccurs="0" maxOccurs="1" name="Contracts" type="tns:ArrayOfClientContract" />
1201
+ </s:sequence>
1202
+ </s:extension>
1203
+ </s:complexContent>
1204
+ </s:complexType>
1205
+ <s:complexType name="ArrayOfClientContract">
1206
+ <s:sequence>
1207
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ClientContract" nillable="true" type="tns:ClientContract" />
1208
+ </s:sequence>
1209
+ </s:complexType>
1210
+ <s:complexType name="ClientContract">
1211
+ <s:complexContent mixed="false">
1212
+ <s:extension base="tns:MBObject">
1213
+ <s:sequence>
1214
+ <s:element minOccurs="1" maxOccurs="1" name="AgreementDate" type="s:dateTime" />
1215
+ <s:element minOccurs="1" maxOccurs="1" name="StartDate" type="s:dateTime" />
1216
+ <s:element minOccurs="1" maxOccurs="1" name="EndDate" type="s:dateTime" />
1217
+ <s:element minOccurs="0" maxOccurs="1" name="ContractName" type="s:string" />
1218
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
1219
+ <s:element minOccurs="1" maxOccurs="1" name="ID" nillable="true" type="s:int" />
1220
+ </s:sequence>
1221
+ </s:extension>
1222
+ </s:complexContent>
1223
+ </s:complexType>
1224
+ <s:element name="GetClientAccountBalances">
1225
+ <s:complexType>
1226
+ <s:sequence>
1227
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientAccountBalancesRequest" />
1228
+ </s:sequence>
1229
+ </s:complexType>
1230
+ </s:element>
1231
+ <s:complexType name="GetClientAccountBalancesRequest">
1232
+ <s:complexContent mixed="false">
1233
+ <s:extension base="tns:MBRequest">
1234
+ <s:sequence>
1235
+ <s:element minOccurs="0" maxOccurs="1" name="ClientIDs" type="tns:ArrayOfString" />
1236
+ <s:element minOccurs="1" maxOccurs="1" name="BalanceDate" nillable="true" type="s:dateTime" />
1237
+ <s:element minOccurs="1" maxOccurs="1" name="ClassID" nillable="true" type="s:long" />
1238
+ </s:sequence>
1239
+ </s:extension>
1240
+ </s:complexContent>
1241
+ </s:complexType>
1242
+ <s:element name="GetClientAccountBalancesResponse">
1243
+ <s:complexType>
1244
+ <s:sequence>
1245
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientAccountBalancesResult" type="tns:GetClientAccountBalancesResult" />
1246
+ </s:sequence>
1247
+ </s:complexType>
1248
+ </s:element>
1249
+ <s:complexType name="GetClientAccountBalancesResult">
1250
+ <s:complexContent mixed="false">
1251
+ <s:extension base="tns:MBResult">
1252
+ <s:sequence>
1253
+ <s:element minOccurs="0" maxOccurs="1" name="Clients" type="tns:ArrayOfClient" />
1254
+ </s:sequence>
1255
+ </s:extension>
1256
+ </s:complexContent>
1257
+ </s:complexType>
1258
+ <s:element name="GetClientServices">
1259
+ <s:complexType>
1260
+ <s:sequence>
1261
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientServicesRequest" />
1262
+ </s:sequence>
1263
+ </s:complexType>
1264
+ </s:element>
1265
+ <s:complexType name="GetClientServicesRequest">
1266
+ <s:complexContent mixed="false">
1267
+ <s:extension base="tns:MBRequest">
1268
+ <s:sequence>
1269
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1270
+ <s:element minOccurs="1" maxOccurs="1" name="ClassID" type="s:int" />
1271
+ <s:element minOccurs="0" maxOccurs="1" name="ProgramIDs" type="tns:ArrayOfInt" />
1272
+ <s:element minOccurs="0" maxOccurs="1" name="SessionTypeIDs" type="tns:ArrayOfInt" />
1273
+ <s:element minOccurs="0" maxOccurs="1" name="LocationIDs" type="tns:ArrayOfInt" />
1274
+ <s:element minOccurs="1" maxOccurs="1" name="VisitCount" nillable="true" type="s:int" />
1275
+ <s:element minOccurs="1" maxOccurs="1" name="StartDate" nillable="true" type="s:dateTime" />
1276
+ <s:element minOccurs="1" maxOccurs="1" name="EndDate" nillable="true" type="s:dateTime" />
1277
+ <s:element minOccurs="1" maxOccurs="1" name="ShowActiveOnly" nillable="true" type="s:boolean" />
1278
+ </s:sequence>
1279
+ </s:extension>
1280
+ </s:complexContent>
1281
+ </s:complexType>
1282
+ <s:element name="GetClientServicesResponse">
1283
+ <s:complexType>
1284
+ <s:sequence>
1285
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientServicesResult" type="tns:GetClientServicesResult" />
1286
+ </s:sequence>
1287
+ </s:complexType>
1288
+ </s:element>
1289
+ <s:complexType name="GetClientServicesResult">
1290
+ <s:complexContent mixed="false">
1291
+ <s:extension base="tns:MBResult">
1292
+ <s:sequence>
1293
+ <s:element minOccurs="0" maxOccurs="1" name="ClientServices" type="tns:ArrayOfClientService" />
1294
+ </s:sequence>
1295
+ </s:extension>
1296
+ </s:complexContent>
1297
+ </s:complexType>
1298
+ <s:complexType name="ArrayOfClientService">
1299
+ <s:sequence>
1300
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ClientService" nillable="true" type="tns:ClientService" />
1301
+ </s:sequence>
1302
+ </s:complexType>
1303
+ <s:element name="GetClientVisits">
1304
+ <s:complexType>
1305
+ <s:sequence>
1306
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientVisitsRequest" />
1307
+ </s:sequence>
1308
+ </s:complexType>
1309
+ </s:element>
1310
+ <s:complexType name="GetClientVisitsRequest">
1311
+ <s:complexContent mixed="false">
1312
+ <s:extension base="tns:MBRequest">
1313
+ <s:sequence>
1314
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1315
+ <s:element minOccurs="1" maxOccurs="1" name="StartDate" nillable="true" type="s:dateTime" />
1316
+ <s:element minOccurs="1" maxOccurs="1" name="EndDate" nillable="true" type="s:dateTime" />
1317
+ <s:element minOccurs="1" maxOccurs="1" name="UnpaidsOnly" type="s:boolean" />
1318
+ </s:sequence>
1319
+ </s:extension>
1320
+ </s:complexContent>
1321
+ </s:complexType>
1322
+ <s:element name="GetClientVisitsResponse">
1323
+ <s:complexType>
1324
+ <s:sequence>
1325
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientVisitsResult" type="tns:GetClientVisitsResult" />
1326
+ </s:sequence>
1327
+ </s:complexType>
1328
+ </s:element>
1329
+ <s:complexType name="GetClientVisitsResult">
1330
+ <s:complexContent mixed="false">
1331
+ <s:extension base="tns:MBResult">
1332
+ <s:sequence>
1333
+ <s:element minOccurs="0" maxOccurs="1" name="Visits" type="tns:ArrayOfVisit" />
1334
+ </s:sequence>
1335
+ </s:extension>
1336
+ </s:complexContent>
1337
+ </s:complexType>
1338
+ <s:complexType name="ArrayOfVisit">
1339
+ <s:sequence>
1340
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Visit" nillable="true" type="tns:Visit" />
1341
+ </s:sequence>
1342
+ </s:complexType>
1343
+ <s:complexType name="Visit">
1344
+ <s:complexContent mixed="false">
1345
+ <s:extension base="tns:MBObject">
1346
+ <s:sequence>
1347
+ <s:element minOccurs="0" maxOccurs="1" name="ID" type="s:long" />
1348
+ <s:element minOccurs="0" maxOccurs="1" name="ClassID" type="s:int" />
1349
+ <s:element minOccurs="0" maxOccurs="1" name="AppointmentID" type="s:int" />
1350
+ <s:element minOccurs="0" maxOccurs="1" name="AppointmentGenderPreference" type="s:string" />
1351
+ <s:element minOccurs="0" maxOccurs="1" name="StartDateTime" type="s:dateTime" />
1352
+ <s:element minOccurs="0" maxOccurs="1" name="LateCancelled" type="s:boolean" />
1353
+ <s:element minOccurs="0" maxOccurs="1" name="EndDateTime" type="s:dateTime" />
1354
+ <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
1355
+ <s:element minOccurs="0" maxOccurs="1" name="Staff" type="tns:Staff" />
1356
+ <s:element minOccurs="0" maxOccurs="1" name="Location" type="tns:Location" />
1357
+ <s:element minOccurs="0" maxOccurs="1" name="Client" type="tns:Client" />
1358
+ <s:element minOccurs="0" maxOccurs="1" name="WebSignup" type="s:boolean" />
1359
+ <s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
1360
+ <s:element minOccurs="0" maxOccurs="1" name="SignedIn" nillable="true" type="s:boolean" />
1361
+ <s:element minOccurs="0" maxOccurs="1" name="AppointmentStatus" type="s:string" />
1362
+ <s:element minOccurs="0" maxOccurs="1" name="MakeUp" nillable="true" type="s:boolean" />
1363
+ <s:element minOccurs="0" maxOccurs="1" name="Service" type="tns:ClientService" />
1364
+ </s:sequence>
1365
+ </s:extension>
1366
+ </s:complexContent>
1367
+ </s:complexType>
1368
+ <s:element name="GetClientPurchases">
1369
+ <s:complexType>
1370
+ <s:sequence>
1371
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientPurchasesRequest" />
1372
+ </s:sequence>
1373
+ </s:complexType>
1374
+ </s:element>
1375
+ <s:complexType name="GetClientPurchasesRequest">
1376
+ <s:complexContent mixed="false">
1377
+ <s:extension base="tns:MBRequest">
1378
+ <s:sequence>
1379
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1380
+ <s:element minOccurs="1" maxOccurs="1" name="StartDate" nillable="true" type="s:dateTime" />
1381
+ <s:element minOccurs="1" maxOccurs="1" name="EndDate" nillable="true" type="s:dateTime" />
1382
+ <s:element minOccurs="1" maxOccurs="1" name="SaleID" nillable="true" type="s:int" />
1383
+ </s:sequence>
1384
+ </s:extension>
1385
+ </s:complexContent>
1386
+ </s:complexType>
1387
+ <s:element name="GetClientPurchasesResponse">
1388
+ <s:complexType>
1389
+ <s:sequence>
1390
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientPurchasesResult" type="tns:GetClientPurchasesResult" />
1391
+ </s:sequence>
1392
+ </s:complexType>
1393
+ </s:element>
1394
+ <s:complexType name="GetClientPurchasesResult">
1395
+ <s:complexContent mixed="false">
1396
+ <s:extension base="tns:MBResult">
1397
+ <s:sequence>
1398
+ <s:element minOccurs="0" maxOccurs="1" name="Purchases" type="tns:ArrayOfSaleItem" />
1399
+ </s:sequence>
1400
+ </s:extension>
1401
+ </s:complexContent>
1402
+ </s:complexType>
1403
+ <s:complexType name="ArrayOfSaleItem">
1404
+ <s:sequence>
1405
+ <s:element minOccurs="0" maxOccurs="unbounded" name="SaleItem" nillable="true" type="tns:SaleItem" />
1406
+ </s:sequence>
1407
+ </s:complexType>
1408
+ <s:complexType name="SaleItem">
1409
+ <s:complexContent mixed="false">
1410
+ <s:extension base="tns:MBObject">
1411
+ <s:sequence>
1412
+ <s:element minOccurs="0" maxOccurs="1" name="Sale" type="tns:Sale" />
1413
+ <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
1414
+ <s:element minOccurs="0" maxOccurs="1" name="AccountPayment" nillable="true" type="s:boolean" />
1415
+ <s:element minOccurs="0" maxOccurs="1" name="Price" type="s:decimal" />
1416
+ <s:element minOccurs="0" maxOccurs="1" name="AmountPaid" type="s:decimal" />
1417
+ <s:element minOccurs="0" maxOccurs="1" name="Discount" type="s:decimal" />
1418
+ <s:element minOccurs="0" maxOccurs="1" name="Tax" type="s:decimal" />
1419
+ <s:element minOccurs="0" maxOccurs="1" name="Returned" type="s:boolean" />
1420
+ <s:element minOccurs="0" maxOccurs="1" name="Quantity" type="s:int" />
1421
+ </s:sequence>
1422
+ </s:extension>
1423
+ </s:complexContent>
1424
+ </s:complexType>
1425
+ <s:complexType name="Sale">
1426
+ <s:sequence>
1427
+ <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:long" />
1428
+ <s:element minOccurs="1" maxOccurs="1" name="SaleTime" type="s:dateTime" />
1429
+ <s:element minOccurs="1" maxOccurs="1" name="SaleDate" type="s:dateTime" />
1430
+ <s:element minOccurs="1" maxOccurs="1" name="SaleDateTime" type="s:dateTime" />
1431
+ <s:element minOccurs="0" maxOccurs="1" name="Location" type="tns:Location" />
1432
+ <s:element minOccurs="0" maxOccurs="1" name="Payments" type="tns:ArrayOfPayment" />
1433
+ </s:sequence>
1434
+ </s:complexType>
1435
+ <s:complexType name="ArrayOfPayment">
1436
+ <s:sequence>
1437
+ <s:element minOccurs="0" maxOccurs="unbounded" name="Payment" nillable="true" type="tns:Payment" />
1438
+ </s:sequence>
1439
+ </s:complexType>
1440
+ <s:complexType name="Payment">
1441
+ <s:sequence>
1442
+ <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:long" />
1443
+ <s:element minOccurs="1" maxOccurs="1" name="Amount" type="s:decimal" />
1444
+ <s:element minOccurs="1" maxOccurs="1" name="Method" type="s:int" />
1445
+ <s:element minOccurs="0" maxOccurs="1" name="Type" type="s:string" />
1446
+ <s:element minOccurs="0" maxOccurs="1" name="LastFour" type="s:string" />
1447
+ <s:element minOccurs="0" maxOccurs="1" name="Notes" type="s:string" />
1448
+ </s:sequence>
1449
+ </s:complexType>
1450
+ <s:element name="GetClientSchedule">
1451
+ <s:complexType>
1452
+ <s:sequence>
1453
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientScheduleRequest" />
1454
+ </s:sequence>
1455
+ </s:complexType>
1456
+ </s:element>
1457
+ <s:complexType name="GetClientScheduleRequest">
1458
+ <s:complexContent mixed="false">
1459
+ <s:extension base="tns:MBRequest">
1460
+ <s:sequence>
1461
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1462
+ <s:element minOccurs="1" maxOccurs="1" name="StartDate" nillable="true" type="s:dateTime" />
1463
+ <s:element minOccurs="1" maxOccurs="1" name="EndDate" nillable="true" type="s:dateTime" />
1464
+ </s:sequence>
1465
+ </s:extension>
1466
+ </s:complexContent>
1467
+ </s:complexType>
1468
+ <s:element name="GetClientScheduleResponse">
1469
+ <s:complexType>
1470
+ <s:sequence>
1471
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientScheduleResult" type="tns:GetClientScheduleResult" />
1472
+ </s:sequence>
1473
+ </s:complexType>
1474
+ </s:element>
1475
+ <s:complexType name="GetClientScheduleResult">
1476
+ <s:complexContent mixed="false">
1477
+ <s:extension base="tns:MBResult">
1478
+ <s:sequence>
1479
+ <s:element minOccurs="0" maxOccurs="1" name="Visits" type="tns:ArrayOfVisit" />
1480
+ </s:sequence>
1481
+ </s:extension>
1482
+ </s:complexContent>
1483
+ </s:complexType>
1484
+ <s:element name="GetRequiredClientFields">
1485
+ <s:complexType>
1486
+ <s:sequence>
1487
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetRequiredClientFieldsRequest" />
1488
+ </s:sequence>
1489
+ </s:complexType>
1490
+ </s:element>
1491
+ <s:complexType name="GetRequiredClientFieldsRequest">
1492
+ <s:complexContent mixed="false">
1493
+ <s:extension base="tns:MBRequest" />
1494
+ </s:complexContent>
1495
+ </s:complexType>
1496
+ <s:element name="GetRequiredClientFieldsResponse">
1497
+ <s:complexType>
1498
+ <s:sequence>
1499
+ <s:element minOccurs="0" maxOccurs="1" name="GetRequiredClientFieldsResult" type="tns:GetRequiredClientFieldsResult" />
1500
+ </s:sequence>
1501
+ </s:complexType>
1502
+ </s:element>
1503
+ <s:complexType name="GetRequiredClientFieldsResult">
1504
+ <s:complexContent mixed="false">
1505
+ <s:extension base="tns:MBResult">
1506
+ <s:sequence>
1507
+ <s:element minOccurs="0" maxOccurs="1" name="RequiredClientFields" type="tns:ArrayOfString" />
1508
+ </s:sequence>
1509
+ </s:extension>
1510
+ </s:complexContent>
1511
+ </s:complexType>
1512
+ <s:element name="ValidateLogin">
1513
+ <s:complexType>
1514
+ <s:sequence>
1515
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:ValidateLoginRequest" />
1516
+ </s:sequence>
1517
+ </s:complexType>
1518
+ </s:element>
1519
+ <s:complexType name="ValidateLoginRequest">
1520
+ <s:complexContent mixed="false">
1521
+ <s:extension base="tns:MBRequest">
1522
+ <s:sequence>
1523
+ <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
1524
+ <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
1525
+ </s:sequence>
1526
+ </s:extension>
1527
+ </s:complexContent>
1528
+ </s:complexType>
1529
+ <s:element name="ValidateLoginResponse">
1530
+ <s:complexType>
1531
+ <s:sequence>
1532
+ <s:element minOccurs="0" maxOccurs="1" name="ValidateLoginResult" type="tns:ValidateLoginResult" />
1533
+ </s:sequence>
1534
+ </s:complexType>
1535
+ </s:element>
1536
+ <s:complexType name="ValidateLoginResult">
1537
+ <s:complexContent mixed="false">
1538
+ <s:extension base="tns:MBResult">
1539
+ <s:sequence>
1540
+ <s:element minOccurs="0" maxOccurs="1" name="GUID" type="s:string" />
1541
+ <s:element minOccurs="0" maxOccurs="1" name="Client" type="tns:Client" />
1542
+ <s:element minOccurs="0" maxOccurs="1" name="Staff" type="tns:Staff" />
1543
+ </s:sequence>
1544
+ </s:extension>
1545
+ </s:complexContent>
1546
+ </s:complexType>
1547
+ <s:element name="UpdateClientServices">
1548
+ <s:complexType>
1549
+ <s:sequence>
1550
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:UpdateClientServicesRequest" />
1551
+ </s:sequence>
1552
+ </s:complexType>
1553
+ </s:element>
1554
+ <s:complexType name="UpdateClientServicesRequest">
1555
+ <s:complexContent mixed="false">
1556
+ <s:extension base="tns:MBRequest">
1557
+ <s:sequence>
1558
+ <s:element minOccurs="0" maxOccurs="1" name="ClientServices" type="tns:ArrayOfClientService" />
1559
+ <s:element minOccurs="1" maxOccurs="1" name="Test" nillable="true" type="s:boolean" />
1560
+ </s:sequence>
1561
+ </s:extension>
1562
+ </s:complexContent>
1563
+ </s:complexType>
1564
+ <s:element name="UpdateClientServicesResponse">
1565
+ <s:complexType>
1566
+ <s:sequence>
1567
+ <s:element minOccurs="0" maxOccurs="1" name="UpdateClientServicesResult" type="tns:UpdateClientServicesResult" />
1568
+ </s:sequence>
1569
+ </s:complexType>
1570
+ </s:element>
1571
+ <s:complexType name="UpdateClientServicesResult">
1572
+ <s:complexContent mixed="false">
1573
+ <s:extension base="tns:MBResult">
1574
+ <s:sequence>
1575
+ <s:element minOccurs="0" maxOccurs="1" name="ClientServices" type="tns:ArrayOfClientService" />
1576
+ </s:sequence>
1577
+ </s:extension>
1578
+ </s:complexContent>
1579
+ </s:complexType>
1580
+ <s:element name="SendUserNewPassword">
1581
+ <s:complexType>
1582
+ <s:sequence>
1583
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:ClientSendUserNewPasswordRequest" />
1584
+ </s:sequence>
1585
+ </s:complexType>
1586
+ </s:element>
1587
+ <s:complexType name="ClientSendUserNewPasswordRequest">
1588
+ <s:complexContent mixed="false">
1589
+ <s:extension base="tns:MBRequest">
1590
+ <s:sequence>
1591
+ <s:element minOccurs="0" maxOccurs="1" name="UserEmail" type="s:string" />
1592
+ <s:element minOccurs="0" maxOccurs="1" name="UserFirstName" type="s:string" />
1593
+ <s:element minOccurs="0" maxOccurs="1" name="UserLastName" type="s:string" />
1594
+ </s:sequence>
1595
+ </s:extension>
1596
+ </s:complexContent>
1597
+ </s:complexType>
1598
+ <s:element name="SendUserNewPasswordResponse">
1599
+ <s:complexType>
1600
+ <s:sequence>
1601
+ <s:element minOccurs="0" maxOccurs="1" name="SendUserNewPasswordResult" type="tns:ClientSendUserNewPasswordResult" />
1602
+ </s:sequence>
1603
+ </s:complexType>
1604
+ </s:element>
1605
+ <s:complexType name="ClientSendUserNewPasswordResult">
1606
+ <s:complexContent mixed="false">
1607
+ <s:extension base="tns:MBResult" />
1608
+ </s:complexContent>
1609
+ </s:complexType>
1610
+ <s:element name="GetClientRelationships">
1611
+ <s:complexType>
1612
+ <s:sequence>
1613
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetClientRelationshipsRequest" />
1614
+ </s:sequence>
1615
+ </s:complexType>
1616
+ </s:element>
1617
+ <s:complexType name="GetClientRelationshipsRequest">
1618
+ <s:complexContent mixed="false">
1619
+ <s:extension base="tns:MBRequest">
1620
+ <s:sequence>
1621
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1622
+ </s:sequence>
1623
+ </s:extension>
1624
+ </s:complexContent>
1625
+ </s:complexType>
1626
+ <s:element name="GetClientRelationshipsResponse">
1627
+ <s:complexType>
1628
+ <s:sequence>
1629
+ <s:element minOccurs="0" maxOccurs="1" name="GetClientRelationshipsResult" type="tns:GetClientRelationshipsResult" />
1630
+ </s:sequence>
1631
+ </s:complexType>
1632
+ </s:element>
1633
+ <s:complexType name="GetClientRelationshipsResult">
1634
+ <s:complexContent mixed="false">
1635
+ <s:extension base="tns:MBResult">
1636
+ <s:sequence>
1637
+ <s:element minOccurs="0" maxOccurs="1" name="ClientRelationships" type="tns:ArrayOfConsumerRelationship" />
1638
+ </s:sequence>
1639
+ </s:extension>
1640
+ </s:complexContent>
1641
+ </s:complexType>
1642
+ <s:complexType name="ArrayOfConsumerRelationship">
1643
+ <s:sequence>
1644
+ <s:element minOccurs="0" maxOccurs="unbounded" name="ConsumerRelationship" nillable="true" type="tns:ConsumerRelationship" />
1645
+ </s:sequence>
1646
+ </s:complexType>
1647
+ <s:complexType name="ConsumerRelationship">
1648
+ <s:sequence>
1649
+ <s:element minOccurs="0" maxOccurs="1" name="RelatedClientID" type="s:string" />
1650
+ <s:element minOccurs="1" maxOccurs="1" name="RelationshipID" nillable="true" type="s:int" />
1651
+ <s:element minOccurs="0" maxOccurs="1" name="RelationshipName" type="s:string" />
1652
+ <s:element minOccurs="0" maxOccurs="1" name="ClientRelationshipID" nillable="true" type="s:int" />
1653
+ <s:element minOccurs="0" maxOccurs="1" name="Messages" type="tns:ArrayOfString" />
1654
+ </s:sequence>
1655
+ </s:complexType>
1656
+ <s:element name="AddClientRelationships">
1657
+ <s:complexType>
1658
+ <s:sequence>
1659
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:AddClientRelationshipsRequest" />
1660
+ </s:sequence>
1661
+ </s:complexType>
1662
+ </s:element>
1663
+ <s:complexType name="AddClientRelationshipsRequest">
1664
+ <s:complexContent mixed="false">
1665
+ <s:extension base="tns:MBRequest">
1666
+ <s:sequence>
1667
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1668
+ <s:element minOccurs="0" maxOccurs="1" name="ClientRelationships" type="tns:ArrayOfConsumerRelationship" />
1669
+ </s:sequence>
1670
+ </s:extension>
1671
+ </s:complexContent>
1672
+ </s:complexType>
1673
+ <s:element name="AddClientRelationshipsResponse">
1674
+ <s:complexType>
1675
+ <s:sequence>
1676
+ <s:element minOccurs="0" maxOccurs="1" name="AddClientRelationshipsResult" type="tns:AddClientRelationshipsResult" />
1677
+ </s:sequence>
1678
+ </s:complexType>
1679
+ </s:element>
1680
+ <s:complexType name="AddClientRelationshipsResult">
1681
+ <s:complexContent mixed="false">
1682
+ <s:extension base="tns:MBResult">
1683
+ <s:sequence>
1684
+ <s:element minOccurs="0" maxOccurs="1" name="ClientRelationships" type="tns:ArrayOfConsumerRelationship" />
1685
+ </s:sequence>
1686
+ </s:extension>
1687
+ </s:complexContent>
1688
+ </s:complexType>
1689
+ <s:element name="DeleteClientRelationships">
1690
+ <s:complexType>
1691
+ <s:sequence>
1692
+ <s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:DeleteClientRelationshipsRequest" />
1693
+ </s:sequence>
1694
+ </s:complexType>
1695
+ </s:element>
1696
+ <s:complexType name="DeleteClientRelationshipsRequest">
1697
+ <s:complexContent mixed="false">
1698
+ <s:extension base="tns:MBRequest">
1699
+ <s:sequence>
1700
+ <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string" />
1701
+ <s:element minOccurs="0" maxOccurs="1" name="ClientRelationshipIDs" type="tns:ArrayOfInt" />
1702
+ </s:sequence>
1703
+ </s:extension>
1704
+ </s:complexContent>
1705
+ </s:complexType>
1706
+ <s:element name="DeleteClientRelationshipsResponse">
1707
+ <s:complexType>
1708
+ <s:sequence>
1709
+ <s:element minOccurs="0" maxOccurs="1" name="DeleteClientRelationshipsResult" type="tns:DeleteClientRelationshipsResult" />
1710
+ </s:sequence>
1711
+ </s:complexType>
1712
+ </s:element>
1713
+ <s:complexType name="DeleteClientRelationshipsResult">
1714
+ <s:complexContent mixed="false">
1715
+ <s:extension base="tns:MBResult">
1716
+ <s:sequence>
1717
+ <s:element minOccurs="0" maxOccurs="1" name="ClientRelationships" type="tns:ArrayOfConsumerRelationship" />
1718
+ </s:sequence>
1719
+ </s:extension>
1720
+ </s:complexContent>
1721
+ </s:complexType>
1722
+ </s:schema>
1723
+ </wsdl:types>
1724
+ <wsdl:message name="AddArrivalSoapIn">
1725
+ <wsdl:part name="parameters" element="tns:AddArrival" />
1726
+ </wsdl:message>
1727
+ <wsdl:message name="AddArrivalSoapOut">
1728
+ <wsdl:part name="parameters" element="tns:AddArrivalResponse" />
1729
+ </wsdl:message>
1730
+ <wsdl:message name="AddOrUpdateClientsSoapIn">
1731
+ <wsdl:part name="parameters" element="tns:AddOrUpdateClients" />
1732
+ </wsdl:message>
1733
+ <wsdl:message name="AddOrUpdateClientsSoapOut">
1734
+ <wsdl:part name="parameters" element="tns:AddOrUpdateClientsResponse" />
1735
+ </wsdl:message>
1736
+ <wsdl:message name="GetClientsSoapIn">
1737
+ <wsdl:part name="parameters" element="tns:GetClients" />
1738
+ </wsdl:message>
1739
+ <wsdl:message name="GetClientsSoapOut">
1740
+ <wsdl:part name="parameters" element="tns:GetClientsResponse" />
1741
+ </wsdl:message>
1742
+ <wsdl:message name="GetCustomClientFieldsSoapIn">
1743
+ <wsdl:part name="parameters" element="tns:GetCustomClientFields" />
1744
+ </wsdl:message>
1745
+ <wsdl:message name="GetCustomClientFieldsSoapOut">
1746
+ <wsdl:part name="parameters" element="tns:GetCustomClientFieldsResponse" />
1747
+ </wsdl:message>
1748
+ <wsdl:message name="GetClientIndexesSoapIn">
1749
+ <wsdl:part name="parameters" element="tns:GetClientIndexes" />
1750
+ </wsdl:message>
1751
+ <wsdl:message name="GetClientIndexesSoapOut">
1752
+ <wsdl:part name="parameters" element="tns:GetClientIndexesResponse" />
1753
+ </wsdl:message>
1754
+ <wsdl:message name="GetClientContactLogsSoapIn">
1755
+ <wsdl:part name="parameters" element="tns:GetClientContactLogs" />
1756
+ </wsdl:message>
1757
+ <wsdl:message name="GetClientContactLogsSoapOut">
1758
+ <wsdl:part name="parameters" element="tns:GetClientContactLogsResponse" />
1759
+ </wsdl:message>
1760
+ <wsdl:message name="AddOrUpdateContactLogsSoapIn">
1761
+ <wsdl:part name="parameters" element="tns:AddOrUpdateContactLogs" />
1762
+ </wsdl:message>
1763
+ <wsdl:message name="AddOrUpdateContactLogsSoapOut">
1764
+ <wsdl:part name="parameters" element="tns:AddOrUpdateContactLogsResponse" />
1765
+ </wsdl:message>
1766
+ <wsdl:message name="GetContactLogTypesSoapIn">
1767
+ <wsdl:part name="parameters" element="tns:GetContactLogTypes" />
1768
+ </wsdl:message>
1769
+ <wsdl:message name="GetContactLogTypesSoapOut">
1770
+ <wsdl:part name="parameters" element="tns:GetContactLogTypesResponse" />
1771
+ </wsdl:message>
1772
+ <wsdl:message name="UploadClientDocumentSoapIn">
1773
+ <wsdl:part name="parameters" element="tns:UploadClientDocument" />
1774
+ </wsdl:message>
1775
+ <wsdl:message name="UploadClientDocumentSoapOut">
1776
+ <wsdl:part name="parameters" element="tns:UploadClientDocumentResponse" />
1777
+ </wsdl:message>
1778
+ <wsdl:message name="UploadClientPhotoSoapIn">
1779
+ <wsdl:part name="parameters" element="tns:UploadClientPhoto" />
1780
+ </wsdl:message>
1781
+ <wsdl:message name="UploadClientPhotoSoapOut">
1782
+ <wsdl:part name="parameters" element="tns:UploadClientPhotoResponse" />
1783
+ </wsdl:message>
1784
+ <wsdl:message name="GetClientFormulaNotesSoapIn">
1785
+ <wsdl:part name="parameters" element="tns:GetClientFormulaNotes" />
1786
+ </wsdl:message>
1787
+ <wsdl:message name="GetClientFormulaNotesSoapOut">
1788
+ <wsdl:part name="parameters" element="tns:GetClientFormulaNotesResponse" />
1789
+ </wsdl:message>
1790
+ <wsdl:message name="AddClientFormulaNoteSoapIn">
1791
+ <wsdl:part name="parameters" element="tns:AddClientFormulaNote" />
1792
+ </wsdl:message>
1793
+ <wsdl:message name="AddClientFormulaNoteSoapOut">
1794
+ <wsdl:part name="parameters" element="tns:AddClientFormulaNoteResponse" />
1795
+ </wsdl:message>
1796
+ <wsdl:message name="DeleteClientFormulaNoteSoapIn">
1797
+ <wsdl:part name="parameters" element="tns:DeleteClientFormulaNote" />
1798
+ </wsdl:message>
1799
+ <wsdl:message name="DeleteClientFormulaNoteSoapOut">
1800
+ <wsdl:part name="parameters" element="tns:DeleteClientFormulaNoteResponse" />
1801
+ </wsdl:message>
1802
+ <wsdl:message name="GetClientReferralTypesSoapIn">
1803
+ <wsdl:part name="parameters" element="tns:GetClientReferralTypes" />
1804
+ </wsdl:message>
1805
+ <wsdl:message name="GetClientReferralTypesSoapOut">
1806
+ <wsdl:part name="parameters" element="tns:GetClientReferralTypesResponse" />
1807
+ </wsdl:message>
1808
+ <wsdl:message name="GetActiveClientMembershipsSoapIn">
1809
+ <wsdl:part name="parameters" element="tns:GetActiveClientMemberships" />
1810
+ </wsdl:message>
1811
+ <wsdl:message name="GetActiveClientMembershipsSoapOut">
1812
+ <wsdl:part name="parameters" element="tns:GetActiveClientMembershipsResponse" />
1813
+ </wsdl:message>
1814
+ <wsdl:message name="GetClientContractsSoapIn">
1815
+ <wsdl:part name="parameters" element="tns:GetClientContracts" />
1816
+ </wsdl:message>
1817
+ <wsdl:message name="GetClientContractsSoapOut">
1818
+ <wsdl:part name="parameters" element="tns:GetClientContractsResponse" />
1819
+ </wsdl:message>
1820
+ <wsdl:message name="GetClientAccountBalancesSoapIn">
1821
+ <wsdl:part name="parameters" element="tns:GetClientAccountBalances" />
1822
+ </wsdl:message>
1823
+ <wsdl:message name="GetClientAccountBalancesSoapOut">
1824
+ <wsdl:part name="parameters" element="tns:GetClientAccountBalancesResponse" />
1825
+ </wsdl:message>
1826
+ <wsdl:message name="GetClientServicesSoapIn">
1827
+ <wsdl:part name="parameters" element="tns:GetClientServices" />
1828
+ </wsdl:message>
1829
+ <wsdl:message name="GetClientServicesSoapOut">
1830
+ <wsdl:part name="parameters" element="tns:GetClientServicesResponse" />
1831
+ </wsdl:message>
1832
+ <wsdl:message name="GetClientVisitsSoapIn">
1833
+ <wsdl:part name="parameters" element="tns:GetClientVisits" />
1834
+ </wsdl:message>
1835
+ <wsdl:message name="GetClientVisitsSoapOut">
1836
+ <wsdl:part name="parameters" element="tns:GetClientVisitsResponse" />
1837
+ </wsdl:message>
1838
+ <wsdl:message name="GetClientPurchasesSoapIn">
1839
+ <wsdl:part name="parameters" element="tns:GetClientPurchases" />
1840
+ </wsdl:message>
1841
+ <wsdl:message name="GetClientPurchasesSoapOut">
1842
+ <wsdl:part name="parameters" element="tns:GetClientPurchasesResponse" />
1843
+ </wsdl:message>
1844
+ <wsdl:message name="GetClientScheduleSoapIn">
1845
+ <wsdl:part name="parameters" element="tns:GetClientSchedule" />
1846
+ </wsdl:message>
1847
+ <wsdl:message name="GetClientScheduleSoapOut">
1848
+ <wsdl:part name="parameters" element="tns:GetClientScheduleResponse" />
1849
+ </wsdl:message>
1850
+ <wsdl:message name="GetRequiredClientFieldsSoapIn">
1851
+ <wsdl:part name="parameters" element="tns:GetRequiredClientFields" />
1852
+ </wsdl:message>
1853
+ <wsdl:message name="GetRequiredClientFieldsSoapOut">
1854
+ <wsdl:part name="parameters" element="tns:GetRequiredClientFieldsResponse" />
1855
+ </wsdl:message>
1856
+ <wsdl:message name="ValidateLoginSoapIn">
1857
+ <wsdl:part name="parameters" element="tns:ValidateLogin" />
1858
+ </wsdl:message>
1859
+ <wsdl:message name="ValidateLoginSoapOut">
1860
+ <wsdl:part name="parameters" element="tns:ValidateLoginResponse" />
1861
+ </wsdl:message>
1862
+ <wsdl:message name="UpdateClientServicesSoapIn">
1863
+ <wsdl:part name="parameters" element="tns:UpdateClientServices" />
1864
+ </wsdl:message>
1865
+ <wsdl:message name="UpdateClientServicesSoapOut">
1866
+ <wsdl:part name="parameters" element="tns:UpdateClientServicesResponse" />
1867
+ </wsdl:message>
1868
+ <wsdl:message name="SendUserNewPasswordSoapIn">
1869
+ <wsdl:part name="parameters" element="tns:SendUserNewPassword" />
1870
+ </wsdl:message>
1871
+ <wsdl:message name="SendUserNewPasswordSoapOut">
1872
+ <wsdl:part name="parameters" element="tns:SendUserNewPasswordResponse" />
1873
+ </wsdl:message>
1874
+ <wsdl:message name="GetClientRelationshipsSoapIn">
1875
+ <wsdl:part name="parameters" element="tns:GetClientRelationships" />
1876
+ </wsdl:message>
1877
+ <wsdl:message name="GetClientRelationshipsSoapOut">
1878
+ <wsdl:part name="parameters" element="tns:GetClientRelationshipsResponse" />
1879
+ </wsdl:message>
1880
+ <wsdl:message name="AddClientRelationshipsSoapIn">
1881
+ <wsdl:part name="parameters" element="tns:AddClientRelationships" />
1882
+ </wsdl:message>
1883
+ <wsdl:message name="AddClientRelationshipsSoapOut">
1884
+ <wsdl:part name="parameters" element="tns:AddClientRelationshipsResponse" />
1885
+ </wsdl:message>
1886
+ <wsdl:message name="DeleteClientRelationshipsSoapIn">
1887
+ <wsdl:part name="parameters" element="tns:DeleteClientRelationships" />
1888
+ </wsdl:message>
1889
+ <wsdl:message name="DeleteClientRelationshipsSoapOut">
1890
+ <wsdl:part name="parameters" element="tns:DeleteClientRelationshipsResponse" />
1891
+ </wsdl:message>
1892
+ <wsdl:portType name="Client_x0020_ServiceSoap">
1893
+ <wsdl:operation name="AddArrival">
1894
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Adds an arrival record for the given client.</wsdl:documentation>
1895
+ <wsdl:input message="tns:AddArrivalSoapIn" />
1896
+ <wsdl:output message="tns:AddArrivalSoapOut" />
1897
+ </wsdl:operation>
1898
+ <wsdl:operation name="AddOrUpdateClients">
1899
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Adds or updates information for a list of clients.</wsdl:documentation>
1900
+ <wsdl:input message="tns:AddOrUpdateClientsSoapIn" />
1901
+ <wsdl:output message="tns:AddOrUpdateClientsSoapOut" />
1902
+ </wsdl:operation>
1903
+ <wsdl:operation name="GetClients">
1904
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets a list of clients.</wsdl:documentation>
1905
+ <wsdl:input message="tns:GetClientsSoapIn" />
1906
+ <wsdl:output message="tns:GetClientsSoapOut" />
1907
+ </wsdl:operation>
1908
+ <wsdl:operation name="GetCustomClientFields">
1909
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets a list of currently available client indexes.</wsdl:documentation>
1910
+ <wsdl:input message="tns:GetCustomClientFieldsSoapIn" />
1911
+ <wsdl:output message="tns:GetCustomClientFieldsSoapOut" />
1912
+ </wsdl:operation>
1913
+ <wsdl:operation name="GetClientIndexes">
1914
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets a list of currently available client indexes.</wsdl:documentation>
1915
+ <wsdl:input message="tns:GetClientIndexesSoapIn" />
1916
+ <wsdl:output message="tns:GetClientIndexesSoapOut" />
1917
+ </wsdl:operation>
1918
+ <wsdl:operation name="GetClientContactLogs">
1919
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get contact logs for a client.</wsdl:documentation>
1920
+ <wsdl:input message="tns:GetClientContactLogsSoapIn" />
1921
+ <wsdl:output message="tns:GetClientContactLogsSoapOut" />
1922
+ </wsdl:operation>
1923
+ <wsdl:operation name="AddOrUpdateContactLogs">
1924
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Add or update client contact logs.</wsdl:documentation>
1925
+ <wsdl:input message="tns:AddOrUpdateContactLogsSoapIn" />
1926
+ <wsdl:output message="tns:AddOrUpdateContactLogsSoapOut" />
1927
+ </wsdl:operation>
1928
+ <wsdl:operation name="GetContactLogTypes">
1929
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get contact log types for a client.</wsdl:documentation>
1930
+ <wsdl:input message="tns:GetContactLogTypesSoapIn" />
1931
+ <wsdl:output message="tns:GetContactLogTypesSoapOut" />
1932
+ </wsdl:operation>
1933
+ <wsdl:operation name="UploadClientDocument">
1934
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Upload a client document.</wsdl:documentation>
1935
+ <wsdl:input message="tns:UploadClientDocumentSoapIn" />
1936
+ <wsdl:output message="tns:UploadClientDocumentSoapOut" />
1937
+ </wsdl:operation>
1938
+ <wsdl:operation name="UploadClientPhoto">
1939
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Upload a client photo.</wsdl:documentation>
1940
+ <wsdl:input message="tns:UploadClientPhotoSoapIn" />
1941
+ <wsdl:output message="tns:UploadClientPhotoSoapOut" />
1942
+ </wsdl:operation>
1943
+ <wsdl:operation name="GetClientFormulaNotes">
1944
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets a list of client formula notes.</wsdl:documentation>
1945
+ <wsdl:input message="tns:GetClientFormulaNotesSoapIn" />
1946
+ <wsdl:output message="tns:GetClientFormulaNotesSoapOut" />
1947
+ </wsdl:operation>
1948
+ <wsdl:operation name="AddClientFormulaNote">
1949
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Adds a formula note to a client.</wsdl:documentation>
1950
+ <wsdl:input message="tns:AddClientFormulaNoteSoapIn" />
1951
+ <wsdl:output message="tns:AddClientFormulaNoteSoapOut" />
1952
+ </wsdl:operation>
1953
+ <wsdl:operation name="DeleteClientFormulaNote">
1954
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Deletes a formula note to a client.</wsdl:documentation>
1955
+ <wsdl:input message="tns:DeleteClientFormulaNoteSoapIn" />
1956
+ <wsdl:output message="tns:DeleteClientFormulaNoteSoapOut" />
1957
+ </wsdl:operation>
1958
+ <wsdl:operation name="GetClientReferralTypes">
1959
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets a list of clients.</wsdl:documentation>
1960
+ <wsdl:input message="tns:GetClientReferralTypesSoapIn" />
1961
+ <wsdl:output message="tns:GetClientReferralTypesSoapOut" />
1962
+ </wsdl:operation>
1963
+ <wsdl:operation name="GetActiveClientMemberships">
1964
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets the active membership for a given client.</wsdl:documentation>
1965
+ <wsdl:input message="tns:GetActiveClientMembershipsSoapIn" />
1966
+ <wsdl:output message="tns:GetActiveClientMembershipsSoapOut" />
1967
+ </wsdl:operation>
1968
+ <wsdl:operation name="GetClientContracts">
1969
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets a list of contracts for a given client.</wsdl:documentation>
1970
+ <wsdl:input message="tns:GetClientContractsSoapIn" />
1971
+ <wsdl:output message="tns:GetClientContractsSoapOut" />
1972
+ </wsdl:operation>
1973
+ <wsdl:operation name="GetClientAccountBalances">
1974
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets account balances for the given clients.</wsdl:documentation>
1975
+ <wsdl:input message="tns:GetClientAccountBalancesSoapIn" />
1976
+ <wsdl:output message="tns:GetClientAccountBalancesSoapOut" />
1977
+ </wsdl:operation>
1978
+ <wsdl:operation name="GetClientServices">
1979
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets a client service for a given client.</wsdl:documentation>
1980
+ <wsdl:input message="tns:GetClientServicesSoapIn" />
1981
+ <wsdl:output message="tns:GetClientServicesSoapOut" />
1982
+ </wsdl:operation>
1983
+ <wsdl:operation name="GetClientVisits">
1984
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get visits for a client.</wsdl:documentation>
1985
+ <wsdl:input message="tns:GetClientVisitsSoapIn" />
1986
+ <wsdl:output message="tns:GetClientVisitsSoapOut" />
1987
+ </wsdl:operation>
1988
+ <wsdl:operation name="GetClientPurchases">
1989
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get purchases for a client.</wsdl:documentation>
1990
+ <wsdl:input message="tns:GetClientPurchasesSoapIn" />
1991
+ <wsdl:output message="tns:GetClientPurchasesSoapOut" />
1992
+ </wsdl:operation>
1993
+ <wsdl:operation name="GetClientSchedule">
1994
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get visits for a client.</wsdl:documentation>
1995
+ <wsdl:input message="tns:GetClientScheduleSoapIn" />
1996
+ <wsdl:output message="tns:GetClientScheduleSoapOut" />
1997
+ </wsdl:operation>
1998
+ <wsdl:operation name="GetRequiredClientFields">
1999
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Updates a client service for a given client.</wsdl:documentation>
2000
+ <wsdl:input message="tns:GetRequiredClientFieldsSoapIn" />
2001
+ <wsdl:output message="tns:GetRequiredClientFieldsSoapOut" />
2002
+ </wsdl:operation>
2003
+ <wsdl:operation name="ValidateLogin">
2004
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Validates a username and password. This method returns the associated clients record and a session GUID on success.</wsdl:documentation>
2005
+ <wsdl:input message="tns:ValidateLoginSoapIn" />
2006
+ <wsdl:output message="tns:ValidateLoginSoapOut" />
2007
+ </wsdl:operation>
2008
+ <wsdl:operation name="UpdateClientServices">
2009
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Updates a client service for a given client.</wsdl:documentation>
2010
+ <wsdl:input message="tns:UpdateClientServicesSoapIn" />
2011
+ <wsdl:output message="tns:UpdateClientServicesSoapOut" />
2012
+ </wsdl:operation>
2013
+ <wsdl:operation name="SendUserNewPassword">
2014
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Sends the user a new password.</wsdl:documentation>
2015
+ <wsdl:input message="tns:SendUserNewPasswordSoapIn" />
2016
+ <wsdl:output message="tns:SendUserNewPasswordSoapOut" />
2017
+ </wsdl:operation>
2018
+ <wsdl:operation name="GetClientRelationships">
2019
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets relationships for a specific client</wsdl:documentation>
2020
+ <wsdl:input message="tns:GetClientRelationshipsSoapIn" />
2021
+ <wsdl:output message="tns:GetClientRelationshipsSoapOut" />
2022
+ </wsdl:operation>
2023
+ <wsdl:operation name="AddClientRelationships">
2024
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Adds relationships for a specific client</wsdl:documentation>
2025
+ <wsdl:input message="tns:AddClientRelationshipsSoapIn" />
2026
+ <wsdl:output message="tns:AddClientRelationshipsSoapOut" />
2027
+ </wsdl:operation>
2028
+ <wsdl:operation name="DeleteClientRelationships">
2029
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Deletes specified relationships for a specific client</wsdl:documentation>
2030
+ <wsdl:input message="tns:DeleteClientRelationshipsSoapIn" />
2031
+ <wsdl:output message="tns:DeleteClientRelationshipsSoapOut" />
2032
+ </wsdl:operation>
2033
+ </wsdl:portType>
2034
+ <wsdl:binding name="Client_x0020_ServiceSoap" type="tns:Client_x0020_ServiceSoap">
2035
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
2036
+ <wsdl:operation name="AddArrival">
2037
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/AddArrival" style="document" />
2038
+ <wsdl:input>
2039
+ <soap:body use="literal" />
2040
+ </wsdl:input>
2041
+ <wsdl:output>
2042
+ <soap:body use="literal" />
2043
+ </wsdl:output>
2044
+ </wsdl:operation>
2045
+ <wsdl:operation name="AddOrUpdateClients">
2046
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/AddOrUpdateClients" style="document" />
2047
+ <wsdl:input>
2048
+ <soap:body use="literal" />
2049
+ </wsdl:input>
2050
+ <wsdl:output>
2051
+ <soap:body use="literal" />
2052
+ </wsdl:output>
2053
+ </wsdl:operation>
2054
+ <wsdl:operation name="GetClients">
2055
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClients" style="document" />
2056
+ <wsdl:input>
2057
+ <soap:body use="literal" />
2058
+ </wsdl:input>
2059
+ <wsdl:output>
2060
+ <soap:body use="literal" />
2061
+ </wsdl:output>
2062
+ </wsdl:operation>
2063
+ <wsdl:operation name="GetCustomClientFields">
2064
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetCustomClientFields" style="document" />
2065
+ <wsdl:input>
2066
+ <soap:body use="literal" />
2067
+ </wsdl:input>
2068
+ <wsdl:output>
2069
+ <soap:body use="literal" />
2070
+ </wsdl:output>
2071
+ </wsdl:operation>
2072
+ <wsdl:operation name="GetClientIndexes">
2073
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClientIndexes" style="document" />
2074
+ <wsdl:input>
2075
+ <soap:body use="literal" />
2076
+ </wsdl:input>
2077
+ <wsdl:output>
2078
+ <soap:body use="literal" />
2079
+ </wsdl:output>
2080
+ </wsdl:operation>
2081
+ <wsdl:operation name="GetClientContactLogs">
2082
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClientContactLogs" style="document" />
2083
+ <wsdl:input>
2084
+ <soap:body use="literal" />
2085
+ </wsdl:input>
2086
+ <wsdl:output>
2087
+ <soap:body use="literal" />
2088
+ </wsdl:output>
2089
+ </wsdl:operation>
2090
+ <wsdl:operation name="AddOrUpdateContactLogs">
2091
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/AddOrUpdateContactLogs" style="document" />
2092
+ <wsdl:input>
2093
+ <soap:body use="literal" />
2094
+ </wsdl:input>
2095
+ <wsdl:output>
2096
+ <soap:body use="literal" />
2097
+ </wsdl:output>
2098
+ </wsdl:operation>
2099
+ <wsdl:operation name="GetContactLogTypes">
2100
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetContactLogTypes" style="document" />
2101
+ <wsdl:input>
2102
+ <soap:body use="literal" />
2103
+ </wsdl:input>
2104
+ <wsdl:output>
2105
+ <soap:body use="literal" />
2106
+ </wsdl:output>
2107
+ </wsdl:operation>
2108
+ <wsdl:operation name="UploadClientDocument">
2109
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/UploadClientDocument" style="document" />
2110
+ <wsdl:input>
2111
+ <soap:body use="literal" />
2112
+ </wsdl:input>
2113
+ <wsdl:output>
2114
+ <soap:body use="literal" />
2115
+ </wsdl:output>
2116
+ </wsdl:operation>
2117
+ <wsdl:operation name="UploadClientPhoto">
2118
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/UploadClientPhoto" style="document" />
2119
+ <wsdl:input>
2120
+ <soap:body use="literal" />
2121
+ </wsdl:input>
2122
+ <wsdl:output>
2123
+ <soap:body use="literal" />
2124
+ </wsdl:output>
2125
+ </wsdl:operation>
2126
+ <wsdl:operation name="GetClientFormulaNotes">
2127
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClientFormulaNotes" style="document" />
2128
+ <wsdl:input>
2129
+ <soap:body use="literal" />
2130
+ </wsdl:input>
2131
+ <wsdl:output>
2132
+ <soap:body use="literal" />
2133
+ </wsdl:output>
2134
+ </wsdl:operation>
2135
+ <wsdl:operation name="AddClientFormulaNote">
2136
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/AddClientFormulaNote" style="document" />
2137
+ <wsdl:input>
2138
+ <soap:body use="literal" />
2139
+ </wsdl:input>
2140
+ <wsdl:output>
2141
+ <soap:body use="literal" />
2142
+ </wsdl:output>
2143
+ </wsdl:operation>
2144
+ <wsdl:operation name="DeleteClientFormulaNote">
2145
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/DeleteClientFormulaNote" style="document" />
2146
+ <wsdl:input>
2147
+ <soap:body use="literal" />
2148
+ </wsdl:input>
2149
+ <wsdl:output>
2150
+ <soap:body use="literal" />
2151
+ </wsdl:output>
2152
+ </wsdl:operation>
2153
+ <wsdl:operation name="GetClientReferralTypes">
2154
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClientReferralTypes" style="document" />
2155
+ <wsdl:input>
2156
+ <soap:body use="literal" />
2157
+ </wsdl:input>
2158
+ <wsdl:output>
2159
+ <soap:body use="literal" />
2160
+ </wsdl:output>
2161
+ </wsdl:operation>
2162
+ <wsdl:operation name="GetActiveClientMemberships">
2163
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetActiveClientMemberships" style="document" />
2164
+ <wsdl:input>
2165
+ <soap:body use="literal" />
2166
+ </wsdl:input>
2167
+ <wsdl:output>
2168
+ <soap:body use="literal" />
2169
+ </wsdl:output>
2170
+ </wsdl:operation>
2171
+ <wsdl:operation name="GetClientContracts">
2172
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClientContracts" style="document" />
2173
+ <wsdl:input>
2174
+ <soap:body use="literal" />
2175
+ </wsdl:input>
2176
+ <wsdl:output>
2177
+ <soap:body use="literal" />
2178
+ </wsdl:output>
2179
+ </wsdl:operation>
2180
+ <wsdl:operation name="GetClientAccountBalances">
2181
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClientAccountBalances" style="document" />
2182
+ <wsdl:input>
2183
+ <soap:body use="literal" />
2184
+ </wsdl:input>
2185
+ <wsdl:output>
2186
+ <soap:body use="literal" />
2187
+ </wsdl:output>
2188
+ </wsdl:operation>
2189
+ <wsdl:operation name="GetClientServices">
2190
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClientServices" style="document" />
2191
+ <wsdl:input>
2192
+ <soap:body use="literal" />
2193
+ </wsdl:input>
2194
+ <wsdl:output>
2195
+ <soap:body use="literal" />
2196
+ </wsdl:output>
2197
+ </wsdl:operation>
2198
+ <wsdl:operation name="GetClientVisits">
2199
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClientVisits" style="document" />
2200
+ <wsdl:input>
2201
+ <soap:body use="literal" />
2202
+ </wsdl:input>
2203
+ <wsdl:output>
2204
+ <soap:body use="literal" />
2205
+ </wsdl:output>
2206
+ </wsdl:operation>
2207
+ <wsdl:operation name="GetClientPurchases">
2208
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClientPurchases" style="document" />
2209
+ <wsdl:input>
2210
+ <soap:body use="literal" />
2211
+ </wsdl:input>
2212
+ <wsdl:output>
2213
+ <soap:body use="literal" />
2214
+ </wsdl:output>
2215
+ </wsdl:operation>
2216
+ <wsdl:operation name="GetClientSchedule">
2217
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClientSchedule" style="document" />
2218
+ <wsdl:input>
2219
+ <soap:body use="literal" />
2220
+ </wsdl:input>
2221
+ <wsdl:output>
2222
+ <soap:body use="literal" />
2223
+ </wsdl:output>
2224
+ </wsdl:operation>
2225
+ <wsdl:operation name="GetRequiredClientFields">
2226
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetRequiredClientFields" style="document" />
2227
+ <wsdl:input>
2228
+ <soap:body use="literal" />
2229
+ </wsdl:input>
2230
+ <wsdl:output>
2231
+ <soap:body use="literal" />
2232
+ </wsdl:output>
2233
+ </wsdl:operation>
2234
+ <wsdl:operation name="ValidateLogin">
2235
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/ValidateLogin" style="document" />
2236
+ <wsdl:input>
2237
+ <soap:body use="literal" />
2238
+ </wsdl:input>
2239
+ <wsdl:output>
2240
+ <soap:body use="literal" />
2241
+ </wsdl:output>
2242
+ </wsdl:operation>
2243
+ <wsdl:operation name="UpdateClientServices">
2244
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/UpdateClientServices" style="document" />
2245
+ <wsdl:input>
2246
+ <soap:body use="literal" />
2247
+ </wsdl:input>
2248
+ <wsdl:output>
2249
+ <soap:body use="literal" />
2250
+ </wsdl:output>
2251
+ </wsdl:operation>
2252
+ <wsdl:operation name="SendUserNewPassword">
2253
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/SendUserNewPassword" style="document" />
2254
+ <wsdl:input>
2255
+ <soap:body use="literal" />
2256
+ </wsdl:input>
2257
+ <wsdl:output>
2258
+ <soap:body use="literal" />
2259
+ </wsdl:output>
2260
+ </wsdl:operation>
2261
+ <wsdl:operation name="GetClientRelationships">
2262
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetClientRelationships" style="document" />
2263
+ <wsdl:input>
2264
+ <soap:body use="literal" />
2265
+ </wsdl:input>
2266
+ <wsdl:output>
2267
+ <soap:body use="literal" />
2268
+ </wsdl:output>
2269
+ </wsdl:operation>
2270
+ <wsdl:operation name="AddClientRelationships">
2271
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/AddClientRelationships" style="document" />
2272
+ <wsdl:input>
2273
+ <soap:body use="literal" />
2274
+ </wsdl:input>
2275
+ <wsdl:output>
2276
+ <soap:body use="literal" />
2277
+ </wsdl:output>
2278
+ </wsdl:operation>
2279
+ <wsdl:operation name="DeleteClientRelationships">
2280
+ <soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/DeleteClientRelationships" style="document" />
2281
+ <wsdl:input>
2282
+ <soap:body use="literal" />
2283
+ </wsdl:input>
2284
+ <wsdl:output>
2285
+ <soap:body use="literal" />
2286
+ </wsdl:output>
2287
+ </wsdl:operation>
2288
+ </wsdl:binding>
2289
+ <wsdl:service name="Client_x0020_Service">
2290
+ <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides methods and attributes relating to clients.</wsdl:documentation>
2291
+ <wsdl:port name="Client_x0020_ServiceSoap" binding="tns:Client_x0020_ServiceSoap">
2292
+ <soap:address location="https://api.mindbodyonline.com/0_5/ClientService.asmx" />
2293
+ </wsdl:port>
2294
+ </wsdl:service>
2295
+ </wsdl:definitions>