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 <!-- S E R V I C E S C R I P T S 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 <!-- S E R V I C E S C R I P T S 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 GroupServiceScriptsGroupClearLogRequest
\r
35 GroupServiceScriptsGroupGetLogRequest
\r
36 GroupServiceScriptsGroupGetRequest
\r
37 GroupServiceScriptsGroupModifyRequest
\r
38 UserServiceScriptsUserClearLogRequest
\r
39 UserServiceScriptsUserGetLogRequest
\r
40 UserServiceScriptsUserGetRequest
\r
41 UserServiceScriptsUserModifyRequest
\r
45 <xs:complexType name="GroupServiceScriptsGroupClearLogRequest">
\r
48 Clear the Service Script Group Log.
\r
49 The response is either a SuccessResponse or an ErrorResponse.
\r
53 <xs:extension base="core:OCIRequest">
\r
55 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
56 <xs:element name="groupId" type="GroupId"/>
\r
59 </xs:complexContent>
\r
62 <xs:complexType name="GroupServiceScriptsGroupGetLogRequest">
\r
65 Request the group level data associated with Service Scripts Group Log.
\r
66 The response is either a GroupServiceScriptsGroupGetLogResponse or an ErrorResponse.
\r
70 <xs:extension base="core:OCIRequest">
\r
72 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
73 <xs:element name="groupId" type="GroupId"/>
\r
76 </xs:complexContent>
\r
79 <xs:complexType name="GroupServiceScriptsGroupGetLogResponse">
\r
82 Response to GroupServiceScriptsGroupGetLogRequest.
\r
86 <xs:extension base="core:OCIDataResponse">
\r
88 <xs:element name="logContent" type="xs:base64Binary" minOccurs="0"/>
\r
91 </xs:complexContent>
\r
94 <xs:complexType name="GroupServiceScriptsGroupGetRequest">
\r
97 Request the group level data associated with Service Scripts Group Configuration.
\r
98 The response is either a GroupServiceScriptsGroupGetResponse or an ErrorResponse.
\r
101 <xs:complexContent>
\r
102 <xs:extension base="core:OCIRequest">
\r
104 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
105 <xs:element name="groupId" type="GroupId"/>
\r
108 </xs:complexContent>
\r
111 <xs:complexType name="GroupServiceScriptsGroupGetResponse">
\r
114 Response to GroupServiceScriptsGroupGetRequest.
\r
115 </xs:documentation>
\r
117 <xs:complexContent>
\r
118 <xs:extension base="core:OCIDataResponse">
\r
120 <xs:element name="isActive" type="xs:boolean"/>
\r
121 <xs:element name="scriptName" type="ServiceScriptsName" minOccurs="0"/>
\r
122 <xs:element name="scriptContent" type="xs:base64Binary" minOccurs="0"/>
\r
125 </xs:complexContent>
\r
128 <xs:complexType name="GroupServiceScriptsGroupModifyRequest">
\r
131 Modify the group level data associated with Service Scripts Configuration.
\r
132 The response is either a SuccessResponse or an ErrorResponse.
\r
133 </xs:documentation>
\r
135 <xs:complexContent>
\r
136 <xs:extension base="core:OCIRequest">
\r
138 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
139 <xs:element name="groupId" type="GroupId"/>
\r
140 <xs:element name="isActive" type="xs:boolean" minOccurs="0"/>
\r
142 <xs:element name="scriptFile" type="ServiceScriptsFileResource" minOccurs="0"/>
\r
143 <xs:element name="scriptUrl" type="URL" minOccurs="0"/>
\r
147 </xs:complexContent>
\r
150 <xs:complexType name="UserServiceScriptsUserClearLogRequest">
\r
153 Clear the Service Script User Log.
\r
154 The response is either a SuccessResponse or an ErrorResponse.
\r
155 </xs:documentation>
\r
157 <xs:complexContent>
\r
158 <xs:extension base="core:OCIRequest">
\r
160 <xs:element name="userId" type="UserId"/>
\r
163 </xs:complexContent>
\r
166 <xs:complexType name="UserServiceScriptsUserGetLogRequest">
\r
169 Request the user level data associated Service Scripts User Log.
\r
170 The response is either a UserServiceScriptsGetUserLogResponse or an ErrorResponse.
\r
171 </xs:documentation>
\r
173 <xs:complexContent>
\r
174 <xs:extension base="core:OCIRequest">
\r
176 <xs:element name="userId" type="UserId"/>
\r
179 </xs:complexContent>
\r
182 <xs:complexType name="UserServiceScriptsUserGetLogResponse">
\r
185 Response to UserServiceScriptsUserGetLogRequest.
\r
186 </xs:documentation>
\r
188 <xs:complexContent>
\r
189 <xs:extension base="core:OCIDataResponse">
\r
191 <xs:element name="logContent" type="xs:base64Binary" minOccurs="0"/>
\r
194 </xs:complexContent>
\r
197 <xs:complexType name="UserServiceScriptsUserGetRequest">
\r
200 Request the user level data associated with Service Scripts User Configuration.
\r
201 The response is either a UserServiceScriptsUserGetResponse or an ErrorResponse.
\r
202 </xs:documentation>
\r
204 <xs:complexContent>
\r
205 <xs:extension base="core:OCIRequest">
\r
207 <xs:element name="userId" type="UserId"/>
\r
210 </xs:complexContent>
\r
213 <xs:complexType name="UserServiceScriptsUserGetResponse">
\r
216 Response to UserServiceScriptsUserGetRequest.
\r
217 </xs:documentation>
\r
219 <xs:complexContent>
\r
220 <xs:extension base="core:OCIDataResponse">
\r
222 <xs:element name="isActive" type="xs:boolean"/>
\r
223 <xs:element name="scriptName" type="ServiceScriptsName" minOccurs="0"/>
\r
224 <xs:element name="scriptContent" type="xs:base64Binary" minOccurs="0"/>
\r
227 </xs:complexContent>
\r
230 <xs:complexType name="UserServiceScriptsUserModifyRequest">
\r
233 Modify the user level data associated with Service Scripts User Configuration.
\r
234 The response is either a SuccessResponse or an ErrorResponse.
\r
235 </xs:documentation>
\r
237 <xs:complexContent>
\r
238 <xs:extension base="core:OCIRequest">
\r
240 <xs:element name="userId" type="UserId"/>
\r
241 <xs:element name="isActive" type="xs:boolean" minOccurs="0"/>
\r
243 <xs:element name="scriptFile" type="ServiceScriptsFileResource" minOccurs="0"/>
\r
244 <xs:element name="scriptUrl" type="URL" minOccurs="0"/>
\r
248 </xs:complexContent>
\r
251 <xs:simpleType name="ServiceScriptsProvisioningMode">
\r
254 Service Script supported provisioning mode.
\r
255 </xs:documentation>
\r
257 <xs:restriction base="xs:token">
\r
258 <xs:enumeration value="Group"/>
\r
259 <xs:enumeration value="User"/>
\r
263 <xs:simpleType name="ServiceScriptsName">
\r
266 Service Script name.
\r
267 </xs:documentation>
\r
269 <xs:restriction base="xs:string">
\r
270 <xs:minLength value="1"/>
\r
271 <xs:maxLength value="256"/>
\r
275 <xs:complexType name="ServiceScriptsFileResource">
\r
278 Service Scripts File Resource for uploading file content.
\r
279 </xs:documentation>
\r
282 <xs:element name="fileName" type="FileName"/>
\r
283 <xs:element name="scriptContent" type="xs:base64Binary"/>
\r