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 <!-- G R O U P N I G H T F O R W A R D I N G 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 <!-- G R O U P N I G H T F O R W A R D I N G -->
\r
27 <!-- 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 SystemGroupNightForwardingGetRequest
\r
36 SystemGroupNightForwardingModifyRequest
\r
37 GroupGroupNightForwardingGetRequest
\r
38 GroupGroupNightForwardingModifyRequest
\r
39 UserGroupNightForwardingGetRequest
\r
40 UserGroupNightForwardingModifyRequest
\r
44 <xs:complexType name="SystemGroupNightForwardingGetRequest">
\r
47 <asDataModeSupported>true</asDataModeSupported>
\r
48 <hssDataModeSupported>false</hssDataModeSupported>
\r
51 Request to get the Group Night Forwarding system parameters.
\r
52 The response is either SystemGroupNightForwardingGetResponse or ErrorResponse.
\r
56 <xs:extension base="core:OCIRequest">
\r
59 </xs:complexContent>
\r
62 <xs:complexType name="SystemGroupNightForwardingGetResponse">
\r
65 <asDataModeSupported>true</asDataModeSupported>
\r
66 <hssDataModeSupported>false</hssDataModeSupported>
\r
69 Response to SystemGroupNightForwardingGetRequest.
\r
73 <xs:extension base="core:OCIDataResponse">
\r
75 <xs:element name="nightForwardInterGroupCallsWithinEnterprise" type="xs:boolean"/>
\r
78 </xs:complexContent>
\r
81 <xs:complexType name="SystemGroupNightForwardingModifyRequest">
\r
84 <asDataModeSupported>true</asDataModeSupported>
\r
85 <hssDataModeSupported>false</hssDataModeSupported>
\r
88 Request to modify the Group Night Forwarding system parameters.
\r
89 The response is either a SuccessResponse or an ErrorResponse.
\r
93 <xs:extension base="core:OCIRequest">
\r
95 <xs:element name="nightForwardGroupCallsWithinEnterprise" type="xs:boolean" minOccurs="0"/>
\r
98 </xs:complexContent>
\r
101 <xs:complexType name="GroupGroupNightForwardingGetRequest">
\r
104 Request to get the Group Night Forwarding group parameters.
\r
105 The response is either GroupGroupNightForwardingGetResponse or ErrorResponse.
\r
106 </xs:documentation>
\r
108 <xs:complexContent>
\r
109 <xs:extension base="core:OCIRequest">
\r
111 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
112 <xs:element name="groupId" type="GroupId"/>
\r
115 </xs:complexContent>
\r
118 <xs:complexType name="GroupGroupNightForwardingGetResponse">
\r
121 Response to GroupGroupNightForwardingGetRequest.
\r
122 </xs:documentation>
\r
124 <xs:complexContent>
\r
125 <xs:extension base="core:OCIDataResponse">
\r
127 <xs:element name="nightForwarding" type="GroupNightForwardingGroupServiceActivationMode"/>
\r
128 <xs:element name="businessHours" type="TimeSchedule" minOccurs="0"/>
\r
129 <xs:element name="holidaySchedule" type="HolidaySchedule" minOccurs="0"/>
\r
130 <xs:element name="forwardToPhoneNumber" type="OutgoingDNorSIPURI" minOccurs="0"/>
\r
133 </xs:complexContent>
\r
136 <xs:complexType name="GroupGroupNightForwardingModifyRequest">
\r
139 Request to modify the Group Night Forwarding group parameters.
\r
140 The response is either SuccessResponse or ErrorResponse.
\r
141 </xs:documentation>
\r
143 <xs:complexContent>
\r
144 <xs:extension base="core:OCIRequest">
\r
146 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
147 <xs:element name="groupId" type="GroupId"/>
\r
148 <xs:element name="nightForwarding" type="GroupNightForwardingGroupServiceActivationMode" minOccurs="0"/>
\r
149 <xs:element name="businessHours" type="TimeSchedule" minOccurs="0" nillable="true"/>
\r
150 <xs:element name="holidaySchedule" type="HolidaySchedule" minOccurs="0" nillable="true"/>
\r
151 <xs:element name="forwardToPhoneNumber" type="OutgoingDNorSIPURI" minOccurs="0" nillable="true"/>
\r
154 </xs:complexContent>
\r
157 <xs:complexType name="UserGroupNightForwardingGetRequest">
\r
160 Request to get the Group Night Forwarding user parameters.
\r
161 The response is either UserGroupNightForwardingGetResponse or 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
170 </xs:complexContent>
\r
173 <xs:complexType name="UserGroupNightForwardingGetResponse">
\r
176 Response to UserGroupNightForwardingGetRequest.
\r
177 businessHours and holidaySchedule are returned in the response only when groupNightForwarding is ‘Auto On’.
\r
178 </xs:documentation>
\r
180 <xs:complexContent>
\r
181 <xs:extension base="core:OCIDataResponse">
\r
183 <xs:element name="nightForwarding" type="GroupNightForwardingUserServiceActivationMode"/>
\r
184 <xs:element name="groupNightForwarding" type="GroupNightForwardingGroupServiceActivationMode"/>
\r
185 <xs:element name="businessHours" type="TimeSchedule" minOccurs="0"/>
\r
186 <xs:element name="holidaySchedule" type="HolidaySchedule" minOccurs="0"/>
\r
189 </xs:complexContent>
\r
192 <xs:complexType name="UserGroupNightForwardingModifyRequest">
\r
195 Request to modify the Group Night Forwarding user parameters.
\r
196 The response is either SuccessResponse or ErrorResponse.
\r
197 </xs:documentation>
\r
199 <xs:complexContent>
\r
200 <xs:extension base="core:OCIRequest">
\r
202 <xs:element name="userId" type="UserId"/>
\r
203 <xs:element name="nightForwarding" type="GroupNightForwardingUserServiceActivationMode" minOccurs="0"/>
\r
206 </xs:complexContent>
\r
209 <xs:simpleType name="GroupNightForwardingGroupServiceActivationMode">
\r
212 Choices for the Group Night Forwarding Service Activation for a group.
\r
213 </xs:documentation>
\r
215 <xs:restriction base="xs:token">
\r
216 <xs:enumeration value="Auto On"/>
\r
217 <xs:enumeration value="On"/>
\r
218 <xs:enumeration value="Off"/>
\r
222 <xs:simpleType name="GroupNightForwardingUserServiceActivationMode">
\r
225 Choices for the Group Night Forwarding Service Activation for a user.
\r
226 </xs:documentation>
\r
228 <xs:restriction base="xs:token">
\r
229 <xs:enumeration value="Use Group"/>
\r
230 <xs:enumeration value="On"/>
\r
231 <xs:enumeration value="Off"/>
\r