mindbody 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/blah.rb +31 -0
- data/lib/mindbody.rb +4 -2
- data/lib/mindbody/appointment_service.rb +4 -2
- data/lib/mindbody/class_service.rb +4 -2
- data/lib/mindbody/client_service.rb +4 -2
- data/lib/mindbody/credentials.rb +21 -29
- data/lib/mindbody/{mb_meta.rb → meta.rb} +3 -1
- data/lib/mindbody/options.rb +29 -0
- data/lib/mindbody/sale_service.rb +4 -2
- data/lib/mindbody/service.rb +118 -0
- data/lib/mindbody/site_service.rb +4 -2
- data/lib/mindbody/source_credentials.rb +4 -2
- data/lib/mindbody/staff_options.rb +20 -0
- data/lib/mindbody/staff_service.rb +19 -2
- data/lib/mindbody/version.rb +1 -1
- data/lib/mindbody/wsdl/appointment.xml +890 -0
- data/lib/mindbody/wsdl/class.xml +1001 -0
- data/lib/mindbody/wsdl/staff.xml +591 -0
- metadata +14 -17
- data/.document +0 -5
- data/.gitignore +0 -48
- data/.rvmrc +0 -2
- data/Gemfile +0 -15
- data/README.rdoc +0 -19
- data/Rakefile +0 -53
- data/lib/mindbody/mb_service.rb +0 -56
- data/mindbody.gemspec +0 -22
- data/test/helper.rb +0 -18
- data/test/test_mindbody.rb +0 -7
@@ -0,0 +1,591 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 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: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 staff.</wsdl:documentation>
|
4
|
+
<wsdl:types>
|
5
|
+
<s:schema elementFormDefault="qualified" targetNamespace="http://clients.mindbodyonline.com/api/0_5">
|
6
|
+
<s:element name="GetStaff">
|
7
|
+
<s:complexType>
|
8
|
+
<s:sequence>
|
9
|
+
<s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetStaffRequest" />
|
10
|
+
</s:sequence>
|
11
|
+
</s:complexType>
|
12
|
+
</s:element>
|
13
|
+
<s:complexType name="GetStaffRequest">
|
14
|
+
<s:complexContent mixed="false">
|
15
|
+
<s:extension base="tns:MBRequest">
|
16
|
+
<s:sequence>
|
17
|
+
<s:element minOccurs="0" maxOccurs="1" name="StaffIDs" type="tns:ArrayOfLong" />
|
18
|
+
<s:element minOccurs="0" maxOccurs="1" name="StaffCredentials" type="tns:StaffCredentials" />
|
19
|
+
<s:element minOccurs="0" maxOccurs="1" name="Filters" type="tns:ArrayOfStaffFilter" />
|
20
|
+
<s:element minOccurs="1" maxOccurs="1" name="SessionTypeID" nillable="true" type="s:int" />
|
21
|
+
<s:element minOccurs="1" maxOccurs="1" name="StartDateTime" nillable="true" type="s:dateTime" />
|
22
|
+
<s:element minOccurs="1" maxOccurs="1" name="LocationID" nillable="true" type="s:int" />
|
23
|
+
</s:sequence>
|
24
|
+
</s:extension>
|
25
|
+
</s:complexContent>
|
26
|
+
</s:complexType>
|
27
|
+
<s:complexType name="MBRequest">
|
28
|
+
<s:sequence>
|
29
|
+
<s:element minOccurs="0" maxOccurs="1" name="SourceCredentials" type="tns:SourceCredentials" />
|
30
|
+
<s:element minOccurs="0" maxOccurs="1" name="UserCredentials" type="tns:UserCredentials" />
|
31
|
+
<s:element minOccurs="1" maxOccurs="1" name="XMLDetail" nillable="true" type="tns:XMLDetailLevel" />
|
32
|
+
<s:element minOccurs="1" maxOccurs="1" name="PageSize" nillable="true" type="s:int" />
|
33
|
+
<s:element minOccurs="1" maxOccurs="1" name="CurrentPageIndex" nillable="true" type="s:int" />
|
34
|
+
<s:element minOccurs="0" maxOccurs="1" name="Fields" type="tns:ArrayOfString" />
|
35
|
+
</s:sequence>
|
36
|
+
</s:complexType>
|
37
|
+
<s:complexType name="SourceCredentials">
|
38
|
+
<s:sequence>
|
39
|
+
<s:element minOccurs="0" maxOccurs="1" name="SourceName" type="s:string" />
|
40
|
+
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
|
41
|
+
<s:element minOccurs="0" maxOccurs="1" name="SiteIDs" type="tns:ArrayOfInt" />
|
42
|
+
</s:sequence>
|
43
|
+
</s:complexType>
|
44
|
+
<s:complexType name="ArrayOfInt">
|
45
|
+
<s:sequence>
|
46
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="int" type="s:int" />
|
47
|
+
</s:sequence>
|
48
|
+
</s:complexType>
|
49
|
+
<s:complexType name="UserCredentials">
|
50
|
+
<s:sequence>
|
51
|
+
<s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
|
52
|
+
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
|
53
|
+
<s:element minOccurs="0" maxOccurs="1" name="SiteIDs" type="tns:ArrayOfInt" />
|
54
|
+
</s:sequence>
|
55
|
+
</s:complexType>
|
56
|
+
<s:simpleType name="XMLDetailLevel">
|
57
|
+
<s:restriction base="s:string">
|
58
|
+
<s:enumeration value="Bare" />
|
59
|
+
<s:enumeration value="Basic" />
|
60
|
+
<s:enumeration value="Full" />
|
61
|
+
</s:restriction>
|
62
|
+
</s:simpleType>
|
63
|
+
<s:complexType name="ArrayOfString">
|
64
|
+
<s:sequence>
|
65
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
|
66
|
+
</s:sequence>
|
67
|
+
</s:complexType>
|
68
|
+
<s:complexType name="ArrayOfLong">
|
69
|
+
<s:sequence>
|
70
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="long" type="s:long" />
|
71
|
+
</s:sequence>
|
72
|
+
</s:complexType>
|
73
|
+
<s:complexType name="StaffCredentials">
|
74
|
+
<s:sequence>
|
75
|
+
<s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
|
76
|
+
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
|
77
|
+
<s:element minOccurs="0" maxOccurs="1" name="SiteIDs" type="tns:ArrayOfInt" />
|
78
|
+
</s:sequence>
|
79
|
+
</s:complexType>
|
80
|
+
<s:complexType name="ArrayOfStaffFilter">
|
81
|
+
<s:sequence>
|
82
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="StaffFilter" type="tns:StaffFilter" />
|
83
|
+
</s:sequence>
|
84
|
+
</s:complexType>
|
85
|
+
<s:simpleType name="StaffFilter">
|
86
|
+
<s:restriction base="s:string">
|
87
|
+
<s:enumeration value="StaffViewable" />
|
88
|
+
<s:enumeration value="AppointmentInstructor" />
|
89
|
+
<s:enumeration value="ClassInstructor" />
|
90
|
+
<s:enumeration value="Male" />
|
91
|
+
<s:enumeration value="Female" />
|
92
|
+
</s:restriction>
|
93
|
+
</s:simpleType>
|
94
|
+
<s:element name="GetStaffResponse">
|
95
|
+
<s:complexType>
|
96
|
+
<s:sequence>
|
97
|
+
<s:element minOccurs="0" maxOccurs="1" name="GetStaffResult" type="tns:GetStaffResult" />
|
98
|
+
</s:sequence>
|
99
|
+
</s:complexType>
|
100
|
+
</s:element>
|
101
|
+
<s:complexType name="GetStaffResult">
|
102
|
+
<s:complexContent mixed="false">
|
103
|
+
<s:extension base="tns:MBResult">
|
104
|
+
<s:sequence>
|
105
|
+
<s:element minOccurs="0" maxOccurs="1" name="StaffMembers" type="tns:ArrayOfStaff" />
|
106
|
+
</s:sequence>
|
107
|
+
</s:extension>
|
108
|
+
</s:complexContent>
|
109
|
+
</s:complexType>
|
110
|
+
<s:complexType name="MBResult">
|
111
|
+
<s:sequence>
|
112
|
+
<s:element minOccurs="1" maxOccurs="1" name="Status" type="tns:StatusCode" />
|
113
|
+
<s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
|
114
|
+
<s:element minOccurs="1" maxOccurs="1" name="XMLDetail" type="tns:XMLDetailLevel" />
|
115
|
+
<s:element minOccurs="1" maxOccurs="1" name="ResultCount" type="s:int" />
|
116
|
+
<s:element minOccurs="1" maxOccurs="1" name="CurrentPageIndex" type="s:int" />
|
117
|
+
<s:element minOccurs="1" maxOccurs="1" name="TotalPageCount" type="s:int" />
|
118
|
+
</s:sequence>
|
119
|
+
</s:complexType>
|
120
|
+
<s:simpleType name="StatusCode">
|
121
|
+
<s:restriction base="s:string">
|
122
|
+
<s:enumeration value="Success" />
|
123
|
+
<s:enumeration value="InvalidCredentials" />
|
124
|
+
<s:enumeration value="InvalidParameters" />
|
125
|
+
<s:enumeration value="InternalException" />
|
126
|
+
<s:enumeration value="Unknown" />
|
127
|
+
<s:enumeration value="FailedAction" />
|
128
|
+
</s:restriction>
|
129
|
+
</s:simpleType>
|
130
|
+
<s:complexType name="ArrayOfStaff">
|
131
|
+
<s:sequence>
|
132
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="Staff" nillable="true" type="tns:Staff" />
|
133
|
+
</s:sequence>
|
134
|
+
</s:complexType>
|
135
|
+
<s:complexType name="Staff">
|
136
|
+
<s:complexContent mixed="false">
|
137
|
+
<s:extension base="tns:MBObject">
|
138
|
+
<s:sequence>
|
139
|
+
<s:element minOccurs="0" maxOccurs="1" name="Appointments" type="tns:ArrayOfAppointment" />
|
140
|
+
<s:element minOccurs="0" maxOccurs="1" name="Unavailabilities" type="tns:ArrayOfUnavailability" />
|
141
|
+
<s:element minOccurs="0" maxOccurs="1" name="Availabilities" type="tns:ArrayOfAvailability" />
|
142
|
+
<s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
|
143
|
+
<s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:long" />
|
144
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
|
145
|
+
<s:element minOccurs="0" maxOccurs="1" name="FirstName" type="s:string" />
|
146
|
+
<s:element minOccurs="0" maxOccurs="1" name="LastName" type="s:string" />
|
147
|
+
<s:element minOccurs="0" maxOccurs="1" name="ImageURL" type="s:string" />
|
148
|
+
<s:element minOccurs="0" maxOccurs="1" name="Bio" type="s:string" />
|
149
|
+
<s:element minOccurs="1" maxOccurs="1" name="isMale" type="s:boolean" />
|
150
|
+
</s:sequence>
|
151
|
+
</s:extension>
|
152
|
+
</s:complexContent>
|
153
|
+
</s:complexType>
|
154
|
+
<s:complexType name="MBObject">
|
155
|
+
<s:sequence>
|
156
|
+
<s:element minOccurs="0" maxOccurs="1" name="Site" type="tns:Site" />
|
157
|
+
<s:element minOccurs="0" maxOccurs="1" name="Messages" type="tns:ArrayOfString" />
|
158
|
+
<s:element minOccurs="0" maxOccurs="1" name="Execute" type="s:string" />
|
159
|
+
</s:sequence>
|
160
|
+
</s:complexType>
|
161
|
+
<s:complexType name="Site">
|
162
|
+
<s:sequence>
|
163
|
+
<s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
|
164
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
|
165
|
+
<s:element minOccurs="0" maxOccurs="1" name="LogoURL" type="s:string" />
|
166
|
+
<s:element minOccurs="0" maxOccurs="1" name="PageColor1" type="s:string" />
|
167
|
+
<s:element minOccurs="0" maxOccurs="1" name="PageColor2" type="s:string" />
|
168
|
+
<s:element minOccurs="0" maxOccurs="1" name="PageColor3" type="s:string" />
|
169
|
+
<s:element minOccurs="0" maxOccurs="1" name="PageColor4" type="s:string" />
|
170
|
+
</s:sequence>
|
171
|
+
</s:complexType>
|
172
|
+
<s:complexType name="Resource">
|
173
|
+
<s:complexContent mixed="false">
|
174
|
+
<s:extension base="tns:MBObject">
|
175
|
+
<s:sequence>
|
176
|
+
<s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
|
177
|
+
<s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:int" />
|
178
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
|
179
|
+
</s:sequence>
|
180
|
+
</s:extension>
|
181
|
+
</s:complexContent>
|
182
|
+
</s:complexType>
|
183
|
+
<s:simpleType name="ActionCode">
|
184
|
+
<s:restriction base="s:string">
|
185
|
+
<s:enumeration value="None" />
|
186
|
+
<s:enumeration value="Added" />
|
187
|
+
<s:enumeration value="Updated" />
|
188
|
+
<s:enumeration value="Failed" />
|
189
|
+
</s:restriction>
|
190
|
+
</s:simpleType>
|
191
|
+
<s:complexType name="ClientService">
|
192
|
+
<s:complexContent mixed="false">
|
193
|
+
<s:extension base="tns:MBObject">
|
194
|
+
<s:sequence>
|
195
|
+
<s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
|
196
|
+
<s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:long" />
|
197
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
|
198
|
+
<s:element minOccurs="0" maxOccurs="1" name="PaymentDate" nillable="true" type="s:dateTime" />
|
199
|
+
<s:element minOccurs="0" maxOccurs="1" name="ActiveDate" nillable="true" type="s:dateTime" />
|
200
|
+
<s:element minOccurs="0" maxOccurs="1" name="ExpirationDate" nillable="true" type="s:dateTime" />
|
201
|
+
<s:element minOccurs="0" maxOccurs="1" name="Program" type="tns:Program" />
|
202
|
+
</s:sequence>
|
203
|
+
</s:extension>
|
204
|
+
</s:complexContent>
|
205
|
+
</s:complexType>
|
206
|
+
<s:complexType name="Program">
|
207
|
+
<s:complexContent mixed="false">
|
208
|
+
<s:extension base="tns:MBObject">
|
209
|
+
<s:sequence>
|
210
|
+
<s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
|
211
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
|
212
|
+
<s:element minOccurs="1" maxOccurs="1" name="ScheduleType" nillable="true" type="tns:ScheduleType" />
|
213
|
+
</s:sequence>
|
214
|
+
</s:extension>
|
215
|
+
</s:complexContent>
|
216
|
+
</s:complexType>
|
217
|
+
<s:simpleType name="ScheduleType">
|
218
|
+
<s:restriction base="s:string">
|
219
|
+
<s:enumeration value="All" />
|
220
|
+
<s:enumeration value="DropIn" />
|
221
|
+
<s:enumeration value="Enrollment" />
|
222
|
+
<s:enumeration value="Appointment" />
|
223
|
+
<s:enumeration value="Resource" />
|
224
|
+
<s:enumeration value="Media" />
|
225
|
+
<s:enumeration value="Arrival" />
|
226
|
+
</s:restriction>
|
227
|
+
</s:simpleType>
|
228
|
+
<s:complexType name="ClientRelationship">
|
229
|
+
<s:complexContent mixed="false">
|
230
|
+
<s:extension base="tns:MBObject">
|
231
|
+
<s:sequence>
|
232
|
+
<s:element minOccurs="0" maxOccurs="1" name="RelatedClient" type="tns:Client" />
|
233
|
+
<s:element minOccurs="0" maxOccurs="1" name="Relationship" type="tns:Relationship" />
|
234
|
+
<s:element minOccurs="0" maxOccurs="1" name="RelationshipName" type="s:string" />
|
235
|
+
</s:sequence>
|
236
|
+
</s:extension>
|
237
|
+
</s:complexContent>
|
238
|
+
</s:complexType>
|
239
|
+
<s:complexType name="Client">
|
240
|
+
<s:complexContent mixed="false">
|
241
|
+
<s:extension base="tns:MBObject">
|
242
|
+
<s:sequence>
|
243
|
+
<s:element minOccurs="0" maxOccurs="1" name="NewID" type="s:double" />
|
244
|
+
<s:element minOccurs="0" maxOccurs="1" name="AccountBalance" type="s:double" />
|
245
|
+
<s:element minOccurs="0" maxOccurs="1" name="ClientIndexes" type="tns:ArrayOfClientIndex" />
|
246
|
+
<s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
|
247
|
+
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
|
248
|
+
<s:element minOccurs="0" maxOccurs="1" name="Notes" type="s:string" />
|
249
|
+
<s:element minOccurs="0" maxOccurs="1" name="ClientCreditCards" type="tns:ArrayOfClientCreditCard" />
|
250
|
+
<s:element minOccurs="0" maxOccurs="1" name="LastFormulaNotes" type="s:string" />
|
251
|
+
<s:element minOccurs="0" maxOccurs="1" name="AppointmentGenderPreference" type="s:string" />
|
252
|
+
<s:element minOccurs="0" maxOccurs="1" name="Gender" type="s:string" />
|
253
|
+
<s:element minOccurs="0" maxOccurs="1" name="ClientRelationships" type="tns:ArrayOfClientRelationship" />
|
254
|
+
<s:element minOccurs="0" maxOccurs="1" name="CustomClientFields" type="tns:ArrayOfCustomClientField" />
|
255
|
+
<s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
|
256
|
+
<s:element minOccurs="0" maxOccurs="1" name="ID" type="s:string" />
|
257
|
+
<s:element minOccurs="0" maxOccurs="1" name="FirstName" type="s:string" />
|
258
|
+
<s:element minOccurs="0" maxOccurs="1" name="MiddleName" type="s:string" />
|
259
|
+
<s:element minOccurs="0" maxOccurs="1" name="LastName" type="s:string" />
|
260
|
+
<s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" />
|
261
|
+
<s:element minOccurs="0" maxOccurs="1" name="EmailOptIn" nillable="true" type="s:boolean" />
|
262
|
+
<s:element minOccurs="0" maxOccurs="1" name="AddressLine1" type="s:string" />
|
263
|
+
<s:element minOccurs="0" maxOccurs="1" name="AddressLine2" type="s:string" />
|
264
|
+
<s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
|
265
|
+
<s:element minOccurs="0" maxOccurs="1" name="State" type="s:string" />
|
266
|
+
<s:element minOccurs="0" maxOccurs="1" name="PostalCode" type="s:string" />
|
267
|
+
<s:element minOccurs="0" maxOccurs="1" name="Country" type="s:string" />
|
268
|
+
<s:element minOccurs="0" maxOccurs="1" name="MobilePhone" type="s:string" />
|
269
|
+
<s:element minOccurs="0" maxOccurs="1" name="HomePhone" type="s:string" />
|
270
|
+
<s:element minOccurs="0" maxOccurs="1" name="WorkPhone" type="s:string" />
|
271
|
+
<s:element minOccurs="0" maxOccurs="1" name="WorkExtension" type="s:string" />
|
272
|
+
<s:element minOccurs="0" maxOccurs="1" name="BirthDate" nillable="true" type="s:dateTime" />
|
273
|
+
<s:element minOccurs="0" maxOccurs="1" name="FirstAppointmentDate" nillable="true" type="s:dateTime" />
|
274
|
+
<s:element minOccurs="0" maxOccurs="1" name="ReferredBy" type="s:string" />
|
275
|
+
<s:element minOccurs="0" maxOccurs="1" name="HomeLocation" type="tns:Location" />
|
276
|
+
<s:element minOccurs="0" maxOccurs="1" name="YellowAlert" type="s:string" />
|
277
|
+
<s:element minOccurs="0" maxOccurs="1" name="RedAlert" type="s:string" />
|
278
|
+
<s:element minOccurs="0" maxOccurs="1" name="PhotoURL" type="s:string" />
|
279
|
+
<s:element minOccurs="0" maxOccurs="1" name="IsProspect" nillable="true" type="s:boolean" />
|
280
|
+
</s:sequence>
|
281
|
+
</s:extension>
|
282
|
+
</s:complexContent>
|
283
|
+
</s:complexType>
|
284
|
+
<s:complexType name="ArrayOfClientIndex">
|
285
|
+
<s:sequence>
|
286
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="ClientIndex" nillable="true" type="tns:ClientIndex" />
|
287
|
+
</s:sequence>
|
288
|
+
</s:complexType>
|
289
|
+
<s:complexType name="ClientIndex">
|
290
|
+
<s:complexContent mixed="false">
|
291
|
+
<s:extension base="tns:MBObject">
|
292
|
+
<s:sequence>
|
293
|
+
<s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
|
294
|
+
<s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:int" />
|
295
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
|
296
|
+
<s:element minOccurs="0" maxOccurs="1" name="Values" type="tns:ArrayOfClientIndexValue" />
|
297
|
+
</s:sequence>
|
298
|
+
</s:extension>
|
299
|
+
</s:complexContent>
|
300
|
+
</s:complexType>
|
301
|
+
<s:complexType name="ArrayOfClientIndexValue">
|
302
|
+
<s:sequence>
|
303
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="ClientIndexValue" nillable="true" type="tns:ClientIndexValue" />
|
304
|
+
</s:sequence>
|
305
|
+
</s:complexType>
|
306
|
+
<s:complexType name="ClientIndexValue">
|
307
|
+
<s:complexContent mixed="false">
|
308
|
+
<s:extension base="tns:MBObject">
|
309
|
+
<s:sequence>
|
310
|
+
<s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
|
311
|
+
<s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:int" />
|
312
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
|
313
|
+
</s:sequence>
|
314
|
+
</s:extension>
|
315
|
+
</s:complexContent>
|
316
|
+
</s:complexType>
|
317
|
+
<s:complexType name="ArrayOfClientCreditCard">
|
318
|
+
<s:sequence>
|
319
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="ClientCreditCard" nillable="true" type="tns:ClientCreditCard" />
|
320
|
+
</s:sequence>
|
321
|
+
</s:complexType>
|
322
|
+
<s:complexType name="ClientCreditCard">
|
323
|
+
<s:sequence>
|
324
|
+
<s:element minOccurs="0" maxOccurs="1" name="CardType" type="s:string" />
|
325
|
+
<s:element minOccurs="0" maxOccurs="1" name="LastFour" type="s:string" />
|
326
|
+
<s:element minOccurs="0" maxOccurs="1" name="CardHolder" type="s:string" />
|
327
|
+
<s:element minOccurs="0" maxOccurs="1" name="ExpMonth" type="s:string" />
|
328
|
+
<s:element minOccurs="0" maxOccurs="1" name="ExpYear" type="s:string" />
|
329
|
+
<s:element minOccurs="0" maxOccurs="1" name="Address" type="s:string" />
|
330
|
+
<s:element minOccurs="0" maxOccurs="1" name="PostalCode" type="s:string" />
|
331
|
+
</s:sequence>
|
332
|
+
</s:complexType>
|
333
|
+
<s:complexType name="ArrayOfClientRelationship">
|
334
|
+
<s:sequence>
|
335
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="ClientRelationship" nillable="true" type="tns:ClientRelationship" />
|
336
|
+
</s:sequence>
|
337
|
+
</s:complexType>
|
338
|
+
<s:complexType name="ArrayOfCustomClientField">
|
339
|
+
<s:sequence>
|
340
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="CustomClientField" nillable="true" type="tns:CustomClientField" />
|
341
|
+
</s:sequence>
|
342
|
+
</s:complexType>
|
343
|
+
<s:complexType name="CustomClientField">
|
344
|
+
<s:sequence>
|
345
|
+
<s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
|
346
|
+
<s:element minOccurs="0" maxOccurs="1" name="DataType" type="s:string" />
|
347
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
|
348
|
+
<s:element minOccurs="0" maxOccurs="1" name="Value" type="s:string" />
|
349
|
+
</s:sequence>
|
350
|
+
</s:complexType>
|
351
|
+
<s:complexType name="Location">
|
352
|
+
<s:complexContent mixed="false">
|
353
|
+
<s:extension base="tns:MBObject">
|
354
|
+
<s:sequence>
|
355
|
+
<s:element minOccurs="0" maxOccurs="1" name="BusinessID" nillable="true" type="s:int" />
|
356
|
+
<s:element minOccurs="0" maxOccurs="1" name="SiteID" type="s:int" />
|
357
|
+
<s:element minOccurs="0" maxOccurs="1" name="AdditionalImageURLs" type="tns:ArrayOfString" />
|
358
|
+
<s:element minOccurs="0" maxOccurs="1" name="FacilitySquareFeet" nillable="true" type="s:int" />
|
359
|
+
<s:element minOccurs="0" maxOccurs="1" name="TreatmentRooms" nillable="true" type="s:int" />
|
360
|
+
<s:element minOccurs="0" maxOccurs="1" name="ProSpaFinderSite" type="s:boolean" />
|
361
|
+
<s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
|
362
|
+
<s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:int" />
|
363
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
|
364
|
+
<s:element minOccurs="0" maxOccurs="1" name="Address" type="s:string" />
|
365
|
+
<s:element minOccurs="0" maxOccurs="1" name="Address2" type="s:string" />
|
366
|
+
<s:element minOccurs="0" maxOccurs="1" name="Tax1" nillable="true" type="s:float" />
|
367
|
+
<s:element minOccurs="0" maxOccurs="1" name="Tax2" nillable="true" type="s:float" />
|
368
|
+
<s:element minOccurs="0" maxOccurs="1" name="Tax3" nillable="true" type="s:float" />
|
369
|
+
<s:element minOccurs="0" maxOccurs="1" name="Tax4" nillable="true" type="s:float" />
|
370
|
+
<s:element minOccurs="0" maxOccurs="1" name="Tax5" nillable="true" type="s:float" />
|
371
|
+
<s:element minOccurs="0" maxOccurs="1" name="Phone" type="s:string" />
|
372
|
+
<s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
|
373
|
+
<s:element minOccurs="0" maxOccurs="1" name="StateProvCode" type="s:string" />
|
374
|
+
<s:element minOccurs="0" maxOccurs="1" name="PostalCode" type="s:string" />
|
375
|
+
<s:element minOccurs="0" maxOccurs="1" name="Latitude" nillable="true" type="s:double" />
|
376
|
+
<s:element minOccurs="0" maxOccurs="1" name="Longitude" nillable="true" type="s:double" />
|
377
|
+
<s:element minOccurs="0" maxOccurs="1" name="DistanceInMiles" nillable="true" type="s:double" />
|
378
|
+
<s:element minOccurs="0" maxOccurs="1" name="ImageURL" type="s:string" />
|
379
|
+
<s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
|
380
|
+
<s:element minOccurs="0" maxOccurs="1" name="HasSite" nillable="true" type="s:boolean" />
|
381
|
+
<s:element minOccurs="0" maxOccurs="1" name="CanBook" nillable="true" type="s:boolean" />
|
382
|
+
</s:sequence>
|
383
|
+
</s:extension>
|
384
|
+
</s:complexContent>
|
385
|
+
</s:complexType>
|
386
|
+
<s:complexType name="Relationship">
|
387
|
+
<s:sequence>
|
388
|
+
<s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
|
389
|
+
<s:element minOccurs="0" maxOccurs="1" name="RelationshipName1" type="s:string" />
|
390
|
+
<s:element minOccurs="0" maxOccurs="1" name="RelationshipName2" type="s:string" />
|
391
|
+
</s:sequence>
|
392
|
+
</s:complexType>
|
393
|
+
<s:complexType name="SessionType">
|
394
|
+
<s:complexContent mixed="false">
|
395
|
+
<s:extension base="tns:MBObject">
|
396
|
+
<s:sequence>
|
397
|
+
<s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
|
398
|
+
<s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:int" />
|
399
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
|
400
|
+
</s:sequence>
|
401
|
+
</s:extension>
|
402
|
+
</s:complexContent>
|
403
|
+
</s:complexType>
|
404
|
+
<s:complexType name="ScheduleItem">
|
405
|
+
<s:complexContent mixed="false">
|
406
|
+
<s:extension base="tns:MBObject" />
|
407
|
+
</s:complexContent>
|
408
|
+
</s:complexType>
|
409
|
+
<s:complexType name="Appointment">
|
410
|
+
<s:complexContent mixed="false">
|
411
|
+
<s:extension base="tns:ScheduleItem">
|
412
|
+
<s:sequence>
|
413
|
+
<s:element minOccurs="0" maxOccurs="1" name="Action" type="tns:ActionCode" />
|
414
|
+
<s:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="s:long" />
|
415
|
+
<s:element minOccurs="0" maxOccurs="1" name="Status" type="tns:AppointmentStatus" />
|
416
|
+
<s:element minOccurs="0" maxOccurs="1" name="StartDateTime" nillable="true" type="s:dateTime" />
|
417
|
+
<s:element minOccurs="0" maxOccurs="1" name="EndDateTime" nillable="true" type="s:dateTime" />
|
418
|
+
<s:element minOccurs="0" maxOccurs="1" name="Notes" type="s:string" />
|
419
|
+
<s:element minOccurs="0" maxOccurs="1" name="StaffRequested" nillable="true" type="s:boolean" />
|
420
|
+
<s:element minOccurs="0" maxOccurs="1" name="Program" type="tns:Program" />
|
421
|
+
<s:element minOccurs="0" maxOccurs="1" name="SessionType" type="tns:SessionType" />
|
422
|
+
<s:element minOccurs="0" maxOccurs="1" name="Location" type="tns:Location" />
|
423
|
+
<s:element minOccurs="0" maxOccurs="1" name="Staff" type="tns:Staff" />
|
424
|
+
<s:element minOccurs="0" maxOccurs="1" name="Client" type="tns:Client" />
|
425
|
+
<s:element minOccurs="0" maxOccurs="1" name="FirstAppointment" nillable="true" type="s:boolean" />
|
426
|
+
<s:element minOccurs="0" maxOccurs="1" name="ClientService" type="tns:ClientService" />
|
427
|
+
<s:element minOccurs="0" maxOccurs="1" name="Resources" type="tns:ArrayOfResource" />
|
428
|
+
</s:sequence>
|
429
|
+
</s:extension>
|
430
|
+
</s:complexContent>
|
431
|
+
</s:complexType>
|
432
|
+
<s:simpleType name="AppointmentStatus">
|
433
|
+
<s:restriction base="s:string">
|
434
|
+
<s:enumeration value="Booked" />
|
435
|
+
<s:enumeration value="Completed" />
|
436
|
+
<s:enumeration value="Confirmed" />
|
437
|
+
<s:enumeration value="Arrived" />
|
438
|
+
<s:enumeration value="NoShow" />
|
439
|
+
</s:restriction>
|
440
|
+
</s:simpleType>
|
441
|
+
<s:complexType name="ArrayOfResource">
|
442
|
+
<s:sequence>
|
443
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="Resource" nillable="true" type="tns:Resource" />
|
444
|
+
</s:sequence>
|
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="ArrayOfProgram">
|
463
|
+
<s:sequence>
|
464
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="Program" nillable="true" type="tns:Program" />
|
465
|
+
</s:sequence>
|
466
|
+
</s:complexType>
|
467
|
+
<s:complexType name="Unavailability">
|
468
|
+
<s:complexContent mixed="false">
|
469
|
+
<s:extension base="tns:ScheduleItem">
|
470
|
+
<s:sequence>
|
471
|
+
<s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
|
472
|
+
<s:element minOccurs="1" maxOccurs="1" name="StartDateTime" type="s:dateTime" />
|
473
|
+
<s:element minOccurs="1" maxOccurs="1" name="EndDateTime" type="s:dateTime" />
|
474
|
+
<s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
|
475
|
+
</s:sequence>
|
476
|
+
</s:extension>
|
477
|
+
</s:complexContent>
|
478
|
+
</s:complexType>
|
479
|
+
<s:complexType name="ArrayOfAppointment">
|
480
|
+
<s:sequence>
|
481
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="Appointment" nillable="true" type="tns:Appointment" />
|
482
|
+
</s:sequence>
|
483
|
+
</s:complexType>
|
484
|
+
<s:complexType name="ArrayOfUnavailability">
|
485
|
+
<s:sequence>
|
486
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="Unavailability" nillable="true" type="tns:Unavailability" />
|
487
|
+
</s:sequence>
|
488
|
+
</s:complexType>
|
489
|
+
<s:complexType name="ArrayOfAvailability">
|
490
|
+
<s:sequence>
|
491
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="Availability" nillable="true" type="tns:Availability" />
|
492
|
+
</s:sequence>
|
493
|
+
</s:complexType>
|
494
|
+
<s:element name="GetStaffPermissions">
|
495
|
+
<s:complexType>
|
496
|
+
<s:sequence>
|
497
|
+
<s:element minOccurs="0" maxOccurs="1" name="Request" type="tns:GetStaffPermissionsRequest" />
|
498
|
+
</s:sequence>
|
499
|
+
</s:complexType>
|
500
|
+
</s:element>
|
501
|
+
<s:complexType name="GetStaffPermissionsRequest">
|
502
|
+
<s:complexContent mixed="false">
|
503
|
+
<s:extension base="tns:MBRequest">
|
504
|
+
<s:sequence>
|
505
|
+
<s:element minOccurs="1" maxOccurs="1" name="StaffID" type="s:long" />
|
506
|
+
</s:sequence>
|
507
|
+
</s:extension>
|
508
|
+
</s:complexContent>
|
509
|
+
</s:complexType>
|
510
|
+
<s:element name="GetStaffPermissionsResponse">
|
511
|
+
<s:complexType>
|
512
|
+
<s:sequence>
|
513
|
+
<s:element minOccurs="0" maxOccurs="1" name="GetStaffPermissionsResult" type="tns:GetStaffPermissionsResult" />
|
514
|
+
</s:sequence>
|
515
|
+
</s:complexType>
|
516
|
+
</s:element>
|
517
|
+
<s:complexType name="GetStaffPermissionsResult">
|
518
|
+
<s:complexContent mixed="false">
|
519
|
+
<s:extension base="tns:MBResult">
|
520
|
+
<s:sequence>
|
521
|
+
<s:element minOccurs="0" maxOccurs="1" name="Permissions" type="tns:ArrayOfPermission" />
|
522
|
+
</s:sequence>
|
523
|
+
</s:extension>
|
524
|
+
</s:complexContent>
|
525
|
+
</s:complexType>
|
526
|
+
<s:complexType name="ArrayOfPermission">
|
527
|
+
<s:sequence>
|
528
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="Permission" nillable="true" type="tns:Permission" />
|
529
|
+
</s:sequence>
|
530
|
+
</s:complexType>
|
531
|
+
<s:complexType name="Permission">
|
532
|
+
<s:sequence>
|
533
|
+
<s:element minOccurs="0" maxOccurs="1" name="DisplayName" type="s:string" />
|
534
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
|
535
|
+
<s:element minOccurs="0" maxOccurs="1" name="Value" type="s:string" />
|
536
|
+
</s:sequence>
|
537
|
+
</s:complexType>
|
538
|
+
</s:schema>
|
539
|
+
</wsdl:types>
|
540
|
+
<wsdl:message name="GetStaffSoapIn">
|
541
|
+
<wsdl:part name="parameters" element="tns:GetStaff" />
|
542
|
+
</wsdl:message>
|
543
|
+
<wsdl:message name="GetStaffSoapOut">
|
544
|
+
<wsdl:part name="parameters" element="tns:GetStaffResponse" />
|
545
|
+
</wsdl:message>
|
546
|
+
<wsdl:message name="GetStaffPermissionsSoapIn">
|
547
|
+
<wsdl:part name="parameters" element="tns:GetStaffPermissions" />
|
548
|
+
</wsdl:message>
|
549
|
+
<wsdl:message name="GetStaffPermissionsSoapOut">
|
550
|
+
<wsdl:part name="parameters" element="tns:GetStaffPermissionsResponse" />
|
551
|
+
</wsdl:message>
|
552
|
+
<wsdl:portType name="Staff_x0020_ServiceSoap">
|
553
|
+
<wsdl:operation name="GetStaff">
|
554
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets a list of staff members.</wsdl:documentation>
|
555
|
+
<wsdl:input message="tns:GetStaffSoapIn" />
|
556
|
+
<wsdl:output message="tns:GetStaffSoapOut" />
|
557
|
+
</wsdl:operation>
|
558
|
+
<wsdl:operation name="GetStaffPermissions">
|
559
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Gets a list of staff permissions based on the given staff member.</wsdl:documentation>
|
560
|
+
<wsdl:input message="tns:GetStaffPermissionsSoapIn" />
|
561
|
+
<wsdl:output message="tns:GetStaffPermissionsSoapOut" />
|
562
|
+
</wsdl:operation>
|
563
|
+
</wsdl:portType>
|
564
|
+
<wsdl:binding name="Staff_x0020_ServiceSoap" type="tns:Staff_x0020_ServiceSoap">
|
565
|
+
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
566
|
+
<wsdl:operation name="GetStaff">
|
567
|
+
<soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetStaff" style="document" />
|
568
|
+
<wsdl:input>
|
569
|
+
<soap:body use="literal" />
|
570
|
+
</wsdl:input>
|
571
|
+
<wsdl:output>
|
572
|
+
<soap:body use="literal" />
|
573
|
+
</wsdl:output>
|
574
|
+
</wsdl:operation>
|
575
|
+
<wsdl:operation name="GetStaffPermissions">
|
576
|
+
<soap:operation soapAction="http://clients.mindbodyonline.com/api/0_5/GetStaffPermissions" style="document" />
|
577
|
+
<wsdl:input>
|
578
|
+
<soap:body use="literal" />
|
579
|
+
</wsdl:input>
|
580
|
+
<wsdl:output>
|
581
|
+
<soap:body use="literal" />
|
582
|
+
</wsdl:output>
|
583
|
+
</wsdl:operation>
|
584
|
+
</wsdl:binding>
|
585
|
+
<wsdl:service name="Staff_x0020_Service">
|
586
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Provides methods and attributes relating to staff.</wsdl:documentation>
|
587
|
+
<wsdl:port name="Staff_x0020_ServiceSoap" binding="tns:Staff_x0020_ServiceSoap">
|
588
|
+
<soap:address location="http://clients.mindbodyonline.com/api/0_5/StaffService.asmx" />
|
589
|
+
</wsdl:port>
|
590
|
+
</wsdl:service>
|
591
|
+
</wsdl:definitions>
|