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 R I O R I T Y A L E R 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
25 <!-- ********************************************************************************** -->
\r
26 <!-- P R I O R I T Y A L E R T R E Q U E S T S A N D R E S P O N S E S -->
\r
27 <!-- ********************************************************************************** -->
\r
29 Requests and responses are listed here in alphabetical order.
\r
30 The non-primitive attributes inside the commands are defined in another
\r
31 section of the schema.
\r
33 Requests in this schema file:
\r
34 UserPriorityAlertAddCriteriaRequest16
\r
35 UserPriorityAlertDeleteCriteriaRequest
\r
36 UserPriorityAlertGetCriteriaListRequest
\r
37 UserPriorityAlertGetCriteriaRequest21
\r
38 UserPriorityAlertModifyActiveCriteriaListRequest
\r
39 UserPriorityAlertModifyCriteriaRequest
\r
43 <xs:complexType name="UserPriorityAlertAddCriteriaRequest16">
\r
46 Add a criteria to the user's priority alert service.
\r
47 For the callToNumber, the extension element is not used and the number element is only used when the type is BroadWorks Mobility.
\r
48 The response is either a SuccessResponse or an ErrorResponse.
\r
52 <xs:extension base="core:OCIRequest">
\r
54 <xs:element name="userId" type="UserId"/>
\r
55 <xs:element name="criteriaName" type="CriteriaName"/>
\r
56 <xs:element name="timeSchedule" type="TimeSchedule" minOccurs="0"/>
\r
57 <xs:element name="holidaySchedule" type="HolidaySchedule" minOccurs="0"/>
\r
58 <xs:element name="blacklisted" type="xs:boolean"/>
\r
59 <xs:element name="fromDnCriteria" type="PriorityAlertCriteriaFromDn"/>
\r
60 <xs:element name="callToNumber" type="CallToNumber" minOccurs="0" maxOccurs="unbounded"/>
\r
63 </xs:complexContent>
\r
66 <xs:complexType name="UserPriorityAlertDeleteCriteriaRequest">
\r
69 Delete a criteria from the user's priority alert service.
\r
70 The response is either a SuccessResponse or an ErrorResponse.
\r
74 <xs:extension base="core:OCIRequest">
\r
76 <xs:element name="userId" type="UserId"/>
\r
77 <xs:element name="criteriaName" type="CriteriaName"/>
\r
80 </xs:complexContent>
\r
83 <xs:complexType name="UserPriorityAlertGetCriteriaListRequest">
\r
86 Get the user's priority alert criteria listing.
\r
87 The response is either a UserPriorityAlertGetCriteriaListResponse or an ErrorResponse.
\r
91 <xs:extension base="core:OCIRequest">
\r
93 <xs:element name="userId" type="UserId"/>
\r
96 </xs:complexContent>
\r
99 <xs:complexType name="UserPriorityAlertGetCriteriaListResponse">
\r
102 Response to the UserPriorityAlertGetCriteriaListRequest. The criteria table's column headings are:
\r
103 "Is Active", "Criteria Name", "Time Schedule", "Calls From", "Blacklisted", "Holiday Schedule", "Calls To Type", "Calls To Number" and "Calls To Extension".
\r
104 The possible values for the "Calls To Type" column are the following or a combination of them separated by comma:
\r
106 - Alternate X (where x is a number between 1 and 10)
\r
108 The possible values for the "Calls To Number" column are the following or a combination of them separated by comma:
\r
109 - The value of the phone number for the corresponding Calls To Type, when the number is available. i.e. Alternate 1 may have extension, but no number.
\r
110 - When no number is available a blank space is provided instead.
\r
111 The possible values for the "Calls To Extension" column are the following or a combination of them separated by comma:
\r
112 - The value of the extension for the corresponding Calls To Type, when the extension is available. i.e. Primary may have number, but no extension.
\r
113 - For Mobility Calls To Type, this is always blank.
\r
114 - When no extension is available a blank space is provided instead.
\r
115 </xs:documentation>
\r
117 <xs:complexContent>
\r
118 <xs:extension base="core:OCIDataResponse">
\r
120 <xs:element name="criteriaTable" type="core:OCITable"/>
\r
123 </xs:complexContent>
\r
126 <xs:complexType name="UserPriorityAlertGetCriteriaRequest21">
\r
129 Get a criteria for the user's priority alert service.
\r
130 The response is either a UserPriorityAlertGetCriteriaResponse21 or an ErrorResponse.
\r
131 </xs:documentation>
\r
133 <xs:complexContent>
\r
134 <xs:extension base="core:OCIRequest">
\r
136 <xs:element name="userId" type="UserId"/>
\r
137 <xs:element name="criteriaName" type="CriteriaName"/>
\r
140 </xs:complexContent>
\r
143 <xs:complexType name="UserPriorityAlertGetCriteriaResponse21">
\r
146 Response to the UserPriorityAlertGetCriteriaRequest21.
\r
147 </xs:documentation>
\r
149 <xs:complexContent>
\r
150 <xs:extension base="core:OCIDataResponse">
\r
152 <xs:element name="timeSchedule" type="TimeSchedule" minOccurs="0"/>
\r
153 <xs:element name="holidaySchedule" type="HolidaySchedule" minOccurs="0"/>
\r
154 <xs:element name="blacklisted" type="xs:boolean"/>
\r
155 <xs:element name="fromDnCriteria" type="PriorityAlertCriteriaFromDn"/>
\r
156 <xs:element name="callToNumber" type="CallToNumber" minOccurs="0" maxOccurs="unbounded"/>
\r
159 </xs:complexContent>
\r
162 <xs:complexType name="UserPriorityAlertModifyActiveCriteriaListRequest">
\r
165 Activate the user's priority alert criteria list.
\r
166 The response is either a SuccessResponse or an ErrorResponse.
\r
167 </xs:documentation>
\r
169 <xs:complexContent>
\r
170 <xs:extension base="core:OCIRequest">
\r
172 <xs:element name="userId" type="UserId"/>
\r
173 <xs:element name="criteriaActivation" type="CriteriaActivation" minOccurs="0" maxOccurs="unbounded"/>
\r
176 </xs:complexContent>
\r
179 <xs:complexType name="UserPriorityAlertModifyCriteriaRequest">
\r
182 Modify a criteria for the user's priority alert service.
\r
183 For the callToNumbers in the callToNumberList, the extension element is not used and the number element is only used when the type is BroadWorks Mobility.
\r
184 The response is either a SuccessResponse or an ErrorResponse.
\r
185 </xs:documentation>
\r
187 <xs:complexContent>
\r
188 <xs:extension base="core:OCIRequest">
\r
190 <xs:element name="userId" type="UserId"/>
\r
191 <xs:element name="criteriaName" type="CriteriaName"/>
\r
192 <xs:element name="newCriteriaName" type="CriteriaName" minOccurs="0"/>
\r
193 <xs:element name="timeSchedule" type="TimeSchedule" nillable="true" minOccurs="0"/>
\r
194 <xs:element name="fromDnCriteria" type="PriorityAlertCriteriaFromDnModify" minOccurs="0"/>
\r
195 <xs:element name="holidaySchedule" type="HolidaySchedule" nillable="true" minOccurs="0"/>
\r
196 <xs:element name="blacklisted" type="xs:boolean" minOccurs="0"/>
\r
197 <xs:element name="callToNumberList" type="ReplacementCallToNumberList" nillable="true" minOccurs="0"/>
\r
200 </xs:complexContent>
\r
203 <xs:complexType name="PriorityAlertCriteriaFromDn">
\r
206 The from dn criteria used within an add/get request.
\r
207 </xs:documentation>
\r
210 <xs:element name="fromDnCriteriaSelection" type="PriorityAlertCriteriaFromDnSelection"/>
\r
211 <xs:element name="includeAnonymousCallers" type="xs:boolean"/>
\r
212 <xs:element name="includeUnavailableCallers" type="xs:boolean"/>
\r
213 <xs:element name="phoneNumber" type="DN" minOccurs="0" maxOccurs="12"/>
\r
217 <xs:complexType name="PriorityAlertCriteriaFromDnModify">
\r
220 The from dn criteria used within a modify request.
\r
221 </xs:documentation>
\r
224 <xs:element name="fromDnCriteriaSelection" type="PriorityAlertCriteriaFromDnSelection" minOccurs="0"/>
\r
225 <xs:element name="includeAnonymousCallers" type="xs:boolean" minOccurs="0"/>
\r
226 <xs:element name="includeUnavailableCallers" type="xs:boolean" minOccurs="0"/>
\r
227 <xs:element name="phoneNumberList" type="CriteriaReplacementDNList" nillable="true" minOccurs="0"/>
\r
231 <xs:simpleType name="PriorityAlertCriteriaFromDnSelection">
\r
234 Selection criteria for a from dn.
\r
235 </xs:documentation>
\r
237 <xs:restriction base="xs:token">
\r
238 <xs:enumeration value="Any External"/>
\r
239 <xs:enumeration value="Specified Only"/>
\r