1 <?xml version="1.0" encoding="UTF-8"?>
\r
3 <!-- ********************************************************************** -->
\r
4 <!-- Copyright (c) 2000-2012 BroadSoft, Inc. All rights reserved. -->
\r
5 <!-- ********************************************************************** -->
\r
6 <!-- O C I X M L S C H E M A : S E R V I C E P A R T -->
\r
8 <!-- P E R S O N A L A S S I S T A N T S E R V I C E -->
\r
10 <!-- This file defines the XML Schema for the BroadSoft Application Server -->
\r
11 <!-- Open Client Interface (OCI). -->
\r
12 <!-- ********************************************************************** -->
\r
14 <xs:schema xmlns:xs = "http://www.w3.org/2001/XMLSchema"
\r
17 attributeFormDefault = "qualified"
\r
18 elementFormDefault = "qualified">
\r
20 <xs:import namespace = "C"
\r
21 schemaLocation = "../OCISchemaBASE.xsd"/>
\r
23 <xs:include schemaLocation="../OCISchemaDataTypes.xsd"/>
\r
24 <xs:include schemaLocation="../OCISchemaSearchCriteria.xsd"/>
\r
26 <!-- ********************************************************************************** -->
\r
27 <!-- P E R S O N A L A S S I S T A N T R E Q U E S T S A N D R E S P O N S E S -->
\r
28 <!-- ********************************************************************************** -->
\r
30 Requests and responses are listed here in alphabetical order.
\r
31 The non-primitive attributes inside the commands are defined in another
\r
32 section of the schema.
\r
34 Requests in this schema file:
\r
35 SystemPersonalAssistantGetRequest
\r
36 SystemPersonalAssistantModifyRequest
\r
37 UserPersonalAssistantGetRequest
\r
38 UserPersonalAssistantModifyRequest
\r
39 UserPersonalAssistantExclusionNumberAddRequest
\r
40 UserPersonalAssistantExclusionNumberModifyRequest
\r
41 UserPersonalAssistantExclusionNumberDeleteListRequest
\r
42 UserPersonalAssistantExclusionNumberGetRequest
\r
43 UserPersonalAssistantExclusionNumberGetListRequest
\r
44 UserCallToNumberGetAvailableListRequest
\r
45 UserPersonalAssistantCallToNumberGetListRequest
\r
46 UserPersonalAssistantCallToNumberModifyListRequest
\r
50 <xs:complexType name="SystemPersonalAssistantGetRequest">
\r
53 <asDataModeSupported>true</asDataModeSupported>
\r
54 <hssDataModeSupported>false</hssDataModeSupported>
\r
57 Get system Personal Assistant Parameters.
\r
58 The response is either SystemPersonalAssistantGetResponse or ErrorResponse.
\r
62 <xs:extension base="core:OCIRequest"/>
\r
63 </xs:complexContent>
\r
66 <xs:complexType name="SystemPersonalAssistantGetResponse">
\r
69 <asDataModeSupported>true</asDataModeSupported>
\r
70 <hssDataModeSupported>false</hssDataModeSupported>
\r
73 Response to the SystemPersonalAssistantGetRequest.
\r
74 Returns system Personal Assistant Parameters.
\r
78 <xs:extension base="core:OCIDataResponse">
\r
80 <xs:element name="transferToAttendantKey" type="DigitAny"/>
\r
81 <xs:element name="transferToVoiceMessagingKey" type="DigitAny"/>
\r
84 </xs:complexContent>
\r
87 <xs:complexType name="SystemPersonalAssistantModifyRequest">
\r
90 <asDataModeSupported>true</asDataModeSupported>
\r
91 <hssDataModeSupported>false</hssDataModeSupported>
\r
94 Modify system Personal Assistant Parameters.
\r
95 The response is either a SuccessResponse or an ErrorResponse.
\r
99 <xs:extension base="core:OCIRequest">
\r
101 <xs:element name="transferToAttendantKey" type="DigitAny" minOccurs="0"/>
\r
102 <xs:element name="transferToVoiceMessagingKey" type="DigitAny" minOccurs="0"/>
\r
105 </xs:complexContent>
\r
108 <xs:complexType name="UserPersonalAssistantGetRequest">
\r
111 <asDataModeSupported>true</asDataModeSupported>
\r
112 <hssDataModeSupported>false</hssDataModeSupported>
\r
115 Request to get the User Personal Assistant information.
\r
116 The response is either a UserPersonalAssistantGetResponse or an ErrorResponse.
\r
117 </xs:documentation>
\r
119 <xs:complexContent>
\r
120 <xs:extension base="core:OCIRequest">
\r
122 <xs:element name="userId" type="UserId"/>
\r
125 </xs:complexContent>
\r
128 <xs:complexType name="UserPersonalAssistantGetResponse">
\r
131 <asDataModeSupported>true</asDataModeSupported>
\r
132 <hssDataModeSupported>false</hssDataModeSupported>
\r
135 Response to the UserPersonalAssistantGetRequest.
\r
136 The response contains the user Personal Assistant information".
\r
137 </xs:documentation>
\r
139 <xs:complexContent>
\r
140 <xs:extension base="core:OCIDataResponse">
\r
142 <xs:element name="presence" type="PersonalAssistantPresence"/>
\r
143 <xs:element name="enableTransferToAttendant" type="xs:boolean"/>
\r
144 <xs:element name="attendantNumber" type="OutgoingDNorSIPURI" minOccurs="0"/>
\r
145 <xs:element name="enableRingSplash" type="xs:boolean"/>
\r
146 <xs:element name="enableExpirationTime" type="xs:boolean"/>
\r
147 <xs:element name="expirationTime" type="xs:dateTime" minOccurs="0"/>
\r
150 </xs:complexContent>
\r
153 <xs:complexType name="UserPersonalAssistantModifyRequest">
\r
156 <asDataModeSupported>true</asDataModeSupported>
\r
157 <hssDataModeSupported>false</hssDataModeSupported>
\r
160 Modify the User Personal Assistant information.
\r
161 The response is either a SuccessResponse or an ErrorResponse.
\r
162 </xs:documentation>
\r
164 <xs:complexContent>
\r
165 <xs:extension base="core:OCIRequest">
\r
167 <xs:element name="userId" type="UserId"/>
\r
168 <xs:element name="presence" type="PersonalAssistantPresence" minOccurs="0"/>
\r
169 <xs:element name="enableTransferToAttendant" type="xs:boolean" minOccurs="0"/>
\r
170 <xs:element name="attendantNumber" type="OutgoingDNorSIPURI" minOccurs="0" nillable="true"/>
\r
171 <xs:element name="enableRingSplash" type="xs:boolean" minOccurs="0"/>
\r
172 <xs:element name="enableExpirationTime" type="xs:boolean" minOccurs="0"/>
\r
173 <xs:element name="expirationTime" type="xs:dateTime" minOccurs="0" nillable="true"/>
\r
176 </xs:complexContent>
\r
179 <xs:complexType name="UserPersonalAssistantExclusionNumberAddRequest">
\r
182 <asDataModeSupported>true</asDataModeSupported>
\r
183 <hssDataModeSupported>false</hssDataModeSupported>
\r
186 Add a User Personal Assistant Exclusion Number.
\r
187 The response is either a SuccessResponse or an ErrorResponse.
\r
188 </xs:documentation>
\r
190 <xs:complexContent>
\r
191 <xs:extension base="core:OCIRequest">
\r
193 <xs:element name="userId" type="UserId"/>
\r
194 <xs:element name="exclusionNumber" type="DN"/>
\r
195 <xs:element name="description" type="PersonalAssistantExclusionNumberDescription" minOccurs="0"/>
\r
198 </xs:complexContent>
\r
201 <xs:complexType name="UserPersonalAssistantExclusionNumberModifyRequest">
\r
204 <asDataModeSupported>true</asDataModeSupported>
\r
205 <hssDataModeSupported>false</hssDataModeSupported>
\r
208 Modify an existing User Personal Assistant Exclusion Number description.
\r
209 The response is either a SuccessResponse or an ErrorResponse.
\r
210 </xs:documentation>
\r
212 <xs:complexContent>
\r
213 <xs:extension base="core:OCIRequest">
\r
215 <xs:element name="userId" type="UserId"/>
\r
216 <xs:element name="exclusionNumber" type="DN"/>
\r
217 <xs:element name="description" type="PersonalAssistantExclusionNumberDescription" nillable="true" minOccurs="0"/>
\r
220 </xs:complexContent>
\r
223 <xs:complexType name="UserPersonalAssistantExclusionNumberDeleteListRequest">
\r
226 <asDataModeSupported>true</asDataModeSupported>
\r
227 <hssDataModeSupported>false</hssDataModeSupported>
\r
230 Delete a list of User Personal Assistant Exclusion Number.
\r
231 The response is either a SuccessResponse or an ErrorResponse.
\r
232 </xs:documentation>
\r
234 <xs:complexContent>
\r
235 <xs:extension base="core:OCIRequest">
\r
237 <xs:element name="userId" type="UserId"/>
\r
238 <xs:element name="exclusionNumber" type="DN" maxOccurs="unbounded"/>
\r
241 </xs:complexContent>
\r
244 <xs:complexType name="UserPersonalAssistantExclusionNumberGetRequest">
\r
247 Get a Personal Assistant Exclusion Number.
\r
248 The response is either UserPersonalAssistantExclusionNumberGetResponse or ErrorResponse.
\r
249 </xs:documentation>
\r
251 <xs:complexContent>
\r
252 <xs:extension base="core:OCIRequest">
\r
254 <xs:element name="userId" type="UserId"/>
\r
255 <xs:element name="exclusionNumber" type="DN"/>
\r
258 </xs:complexContent>
\r
261 <xs:complexType name="UserPersonalAssistantExclusionNumberGetResponse">
\r
264 Response to the UserPersonalAssistantExclusionNumberGetRequest
\r
265 </xs:documentation>
\r
267 <xs:complexContent>
\r
268 <xs:extension base="core:OCIDataResponse">
\r
270 <xs:element name="description" type="PersonalAssistantExclusionNumberDescription" nillable="true" minOccurs="0"/>
\r
273 </xs:complexContent>
\r
276 <xs:complexType name="UserPersonalAssistantExclusionNumberGetListRequest">
\r
279 <asDataModeSupported>true</asDataModeSupported>
\r
280 <hssDataModeSupported>false</hssDataModeSupported>
\r
283 Request to get the User Personal Assistant Exclusion Number List information.
\r
284 The response is either a userPersonalAssistantExclusionNumberGetListResponse or an ErrorResponse.
\r
285 </xs:documentation>
\r
287 <xs:complexContent>
\r
288 <xs:extension base="core:OCIRequest">
\r
290 <xs:element name="userId" type="UserId"/>
\r
291 <xs:element name="searchCriteriaPersonalAssistantExclusionNumber" type="SearchCriteriaPersonalAssistantExclusionNumber" minOccurs="0" maxOccurs="unbounded"/>
\r
292 <xs:element name="searchCriteriaPersonalAssistantExclusionNumberDescription" type="SearchCriteriaPersonalAssistantExclusionNumberDescription" minOccurs="0" maxOccurs="unbounded"/>
\r
293 <xs:element name="responseSizeLimit" type="ResponseSizeLimit" minOccurs="0"/>
\r
296 </xs:complexContent>
\r
299 <xs:complexType name="UserPersonalAssistantExclusionNumberGetListResponse">
\r
302 <asDataModeSupported>true</asDataModeSupported>
\r
303 <hssDataModeSupported>false</hssDataModeSupported>
\r
306 Response to the UserPersonalAssistantExclusionNumberGetListRequest.
\r
307 Contains a table with column headings:
\r
308 "Number", "Description".
\r
309 </xs:documentation>
\r
311 <xs:complexContent>
\r
312 <xs:extension base="core:OCIDataResponse">
\r
314 <xs:element name="exclusionNumberTable" type="core:OCITable"/>
\r
317 </xs:complexContent>
\r
320 <xs:complexType name="UserCallToNumberGetAvailableListRequest">
\r
323 <asDataModeSupported>true</asDataModeSupported>
\r
324 <hssDataModeSupported>false</hssDataModeSupported>
\r
327 Request to get the user available Call to Number List information. The response is either a UserCallToNumberGetAvailableListResponse or an ErrorResponse.
\r
328 </xs:documentation>
\r
330 <xs:complexContent>
\r
331 <xs:extension base="core:OCIRequest">
\r
333 <xs:element name="userId" type="UserId"/>
\r
336 </xs:complexContent>
\r
339 <xs:complexType name="UserCallToNumberGetAvailableListResponse">
\r
342 <asDataModeSupported>true</asDataModeSupported>
\r
343 <hssDataModeSupported>false</hssDataModeSupported>
\r
346 Response to the UserCallToNumberGetAvailableListRequest.
\r
347 Contains a list of the user available Call to Numbers".
\r
348 </xs:documentation>
\r
350 <xs:complexContent>
\r
351 <xs:extension base="core:OCIDataResponse">
\r
353 <xs:element name="callToNumber" type="CallToNumber" minOccurs="0" maxOccurs="unbounded"/>
\r
356 </xs:complexContent>
\r
359 <xs:complexType name="UserPersonalAssistantCallToNumberGetListRequest">
\r
362 <asDataModeSupported>true</asDataModeSupported>
\r
363 <hssDataModeSupported>false</hssDataModeSupported>
\r
366 Request to get the user assigned Call to Number List information. The response is either a UserPersonalAssistantCallToNumberGetListResponse or an ErrorResponse.
\r
367 </xs:documentation>
\r
369 <xs:complexContent>
\r
370 <xs:extension base="core:OCIRequest">
\r
372 <xs:element name="userId" type="UserId"/>
\r
375 </xs:complexContent>
\r
378 <xs:complexType name="UserPersonalAssistantCallToNumberGetListResponse">
\r
381 <asDataModeSupported>true</asDataModeSupported>
\r
382 <hssDataModeSupported>false</hssDataModeSupported>
\r
385 Response to the UserPersonalAssistantCallToNumberGetListRequest.
\r
386 Contains a list of assigned Call to Numbers".
\r
387 </xs:documentation>
\r
389 <xs:complexContent>
\r
390 <xs:extension base="core:OCIDataResponse">
\r
392 <xs:element name="callToNumber" type="CallToNumber" minOccurs="0" maxOccurs="unbounded"/>
\r
395 </xs:complexContent>
\r
398 <xs:complexType name="UserPersonalAssistantCallToNumberModifyListRequest">
\r
401 <asDataModeSupported>true</asDataModeSupported>
\r
402 <hssDataModeSupported>false</hssDataModeSupported>
\r
405 Request to modify the user assigned Call to Number List information.
\r
406 The response is either a SuccessResponse or an ErrorResponse.
\r
407 For the callToNumbers in the callToNumberList, the extension element
\r
408 is not used and the number element is only used when the type is BroadWorks Mobility.
\r
409 </xs:documentation>
\r
411 <xs:complexContent>
\r
412 <xs:extension base="core:OCIRequest">
\r
414 <xs:element name="userId" type="UserId"/>
\r
415 <xs:element name="callToNumberList" type="ReplacementCallToNumberList" nillable="true" minOccurs="0"/>
\r
418 </xs:complexContent>
\r
421 <xs:simpleType name="PersonalAssistantPresence">
\r
423 <xs:documentation>Personal Assistant Presence.</xs:documentation>
\r
425 <xs:restriction base="xs:token">
\r
426 <xs:enumeration value="None"/>
\r
427 <xs:enumeration value="Business Trip"/>
\r
428 <xs:enumeration value="Gone for the Day"/>
\r
429 <xs:enumeration value="Lunch"/>
\r
430 <xs:enumeration value="Meeting"/>
\r
431 <xs:enumeration value="Out Of Office"/>
\r
432 <xs:enumeration value="Temporarily Out"/>
\r
433 <xs:enumeration value="Training"/>
\r
434 <xs:enumeration value="Unavailable"/>
\r
435 <xs:enumeration value="Vacation"/>
\r