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 <!-- A C C O U N T A U T H O R I Z A T I O N C O D E 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
24 <xs:include schemaLocation="../OCISchemaSearchCriteria.xsd"/>
\r
26 <!-- ********************************************************************************** -->
\r
27 <!-- A C C O U N T A U T H O R I Z A T I O N C O D E S -->
\r
28 <!-- R E Q U E S T S A N D R E S P O N S E S -->
\r
29 <!-- ********************************************************************************** -->
\r
31 Requests and responses are listed here in alphabetical order.
\r
32 The non-primitive attributes inside the commands are defined in another
\r
33 section of the schema.
\r
35 Requests in this schema file:
\r
36 GroupAccountAuthorizationCodesAddListRequest
\r
37 GroupAccountAuthorizationCodesDeleteListRequest
\r
38 GroupAccountAuthorizationCodesGetAvailableUserListRequest
\r
39 GroupAccountAuthorizationCodesGetListRequest
\r
40 GroupAccountAuthorizationCodesGetRequest
\r
41 GroupAccountAuthorizationCodesModifyRequest
\r
45 <xs:complexType name="GroupAccountAuthorizationCodesAddListRequest">
\r
48 Add a list of account/authorization codes to a group.
\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
57 <xs:element name="codeEntry" type="AccountAuthorizationCodeEntry" maxOccurs="unbounded"/>
\r
60 </xs:complexContent>
\r
63 <xs:complexType name="GroupAccountAuthorizationCodesDeleteListRequest">
\r
66 Delete a list of account/authorization codes from a group.
\r
67 The response is either a SuccessResponse or an ErrorResponse.
\r
71 <xs:extension base="core:OCIRequest">
\r
73 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
74 <xs:element name="groupId" type="GroupId"/>
\r
75 <xs:element name="code" type="AccountAuthorizationCode" maxOccurs="unbounded"/>
\r
78 </xs:complexContent>
\r
81 <xs:complexType name="GroupAccountAuthorizationCodesGetAvailableUserListRequest">
\r
84 Get a list of non restricted users for the account/authorization codes service.
\r
85 The response is either GroupAccountAuthorizationCodesGetAvailableUserListResponse or ErrorResponse.
\r
89 <xs:extension base="core:OCIRequest">
\r
91 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
92 <xs:element name="groupId" type="GroupId"/>
\r
93 <xs:element name="responseSizeLimit" type="ResponseSizeLimit" minOccurs="0"/>
\r
94 <xs:element name="searchCriteriaUserLastName" type="SearchCriteriaUserLastName" minOccurs="0" maxOccurs="unbounded"/>
\r
95 <xs:element name="searchCriteriaUserFirstName" type="SearchCriteriaUserFirstName" minOccurs="0" maxOccurs="unbounded"/>
\r
96 <xs:element name="searchCriteriaExactUserDepartment" type="SearchCriteriaExactUserDepartment" minOccurs="0"/>
\r
97 <xs:element name="searchCriteriaUserId" type="SearchCriteriaUserId" minOccurs="0" maxOccurs="unbounded"/>
\r
98 <xs:element name="searchCriteriaDn" type="SearchCriteriaDn" minOccurs="0" maxOccurs="unbounded"/>
\r
99 <xs:element name="searchCriteriaExtension" type="SearchCriteriaExtension" minOccurs="0" maxOccurs="unbounded"/>
\r
102 </xs:complexContent>
\r
105 <xs:complexType name="GroupAccountAuthorizationCodesGetAvailableUserListResponse">
\r
108 Response to the GroupAccountAuthorizationCodesGetAvailableUserListRequest.
\r
109 The column headings are: "User Id", "Last Name", "First Name", "Hiragana Last Name" and
\r
110 "Hiragana First Name", "Phone Number", "Extension", "Department", "Email Address".
\r
111 </xs:documentation>
\r
113 <xs:complexContent>
\r
114 <xs:extension base="core:OCIDataResponse">
\r
116 <xs:element name="userTable" type="core:OCITable"/>
\r
119 </xs:complexContent>
\r
122 <xs:complexType name="GroupAccountAuthorizationCodesGetListRequest">
\r
125 Request the list of account/authorization codes for a group.
\r
126 The response is either a GroupAccountAuthorizationCodesGetListResponse or an ErrorResponse.
\r
127 </xs:documentation>
\r
129 <xs:complexContent>
\r
130 <xs:extension base="core:OCIRequest">
\r
132 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
133 <xs:element name="groupId" type="GroupId"/>
\r
136 </xs:complexContent>
\r
139 <xs:complexType name="GroupAccountAuthorizationCodesGetListResponse">
\r
142 Response to GroupAccountAuthorizationCodesGetListRequest.
\r
143 </xs:documentation>
\r
145 <xs:complexContent>
\r
146 <xs:extension base="core:OCIDataResponse">
\r
148 <xs:element name="codeEntry" type="AccountAuthorizationCodeEntry" minOccurs="0" maxOccurs="unbounded"/>
\r
151 </xs:complexContent>
\r
154 <xs:complexType name="GroupAccountAuthorizationCodesGetRequest">
\r
157 Request the group's account/authorization codes setting.
\r
158 The response is either a GroupAccountAuthorizationCodesGetResponse or an ErrorResponse.
\r
159 </xs:documentation>
\r
161 <xs:complexContent>
\r
162 <xs:extension base="core:OCIRequest">
\r
164 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
165 <xs:element name="groupId" type="GroupId"/>
\r
168 </xs:complexContent>
\r
171 <xs:complexType name="GroupAccountAuthorizationCodesGetResponse">
\r
174 Response to GroupAccountAuthorizationCodesGetRequest.
\r
175 The tables has the following column headings:
\r
176 "User Id", "Last Name", "First Name", "Hiragana Last Name", "Hiragana First Name",
\r
177 "Phone Number", "Extension", "Department", "Email Address".
\r
178 </xs:documentation>
\r
180 <xs:complexContent>
\r
181 <xs:extension base="core:OCIDataResponse">
\r
183 <xs:element name="type" type="AccountAuthorizationCodeType"/>
\r
184 <xs:element name="numberOfDigits" type="AccountAuthorizationCodeNumberOfDigits"/>
\r
185 <xs:element name="allowLocalAndTollFreeCalls" type="xs:boolean"/>
\r
186 <xs:element name="mandatoryUsageUserTable" type="core:OCITable"/>
\r
187 <xs:element name="optionalUsageUserTable" type="core:OCITable"/>
\r
190 </xs:complexContent>
\r
193 <xs:complexType name="GroupAccountAuthorizationCodesModifyRequest">
\r
196 Change the group's account/authorization codes setting.
\r
197 The response is either a SuccessResponse or an ErrorResponse.
\r
198 </xs:documentation>
\r
200 <xs:complexContent>
\r
201 <xs:extension base="core:OCIRequest">
\r
203 <xs:element name="serviceProviderId" type="ServiceProviderId"/>
\r
204 <xs:element name="groupId" type="GroupId"/>
\r
205 <xs:element name="codeType" type="AccountAuthorizationCodeType" minOccurs="0"/>
\r
206 <xs:element name="numberOfDigits" type="AccountAuthorizationCodeNumberOfDigits" minOccurs="0"/>
\r
207 <xs:element name="allowLocalAndTollFreeCalls" type="xs:boolean" minOccurs="0"/>
\r
208 <xs:element name="mandatoryUsageUserIdList" type="ReplacementUserIdList" nillable="true" minOccurs="0"/>
\r
209 <xs:element name="optionalUsageUserIdList" type="ReplacementUserIdList" nillable="true" minOccurs="0"/>
\r
212 </xs:complexContent>
\r
215 <xs:simpleType name="AccountAuthorizationCode">
\r
218 Account/Authorization Code.
\r
219 </xs:documentation>
\r
221 <xs:restriction base="xs:token">
\r
222 <xs:minLength value="2"/>
\r
223 <xs:maxLength value="14"/>
\r
227 <xs:simpleType name="AccountAuthorizationCodeDescription">
\r
230 Account/Authorization Code Description.
\r
231 </xs:documentation>
\r
233 <xs:restriction base="xs:token">
\r
234 <xs:minLength value="1"/>
\r
235 <xs:maxLength value="80"/>
\r
239 <xs:complexType name="AccountAuthorizationCodeEntry">
\r
242 Account/Authorization Code.
\r
243 </xs:documentation>
\r
246 <xs:element name="code" type="AccountAuthorizationCode"/>
\r
247 <xs:element name="description" type="AccountAuthorizationCodeDescription" minOccurs="0"/>
\r
251 <xs:simpleType name="AccountAuthorizationCodeType">
\r
254 Account/Authorization Code Type.
\r
255 </xs:documentation>
\r
257 <xs:restriction base="xs:token">
\r
258 <xs:enumeration value="Account Code"/>
\r
259 <xs:enumeration value="Authorization Code"/>
\r
260 <xs:enumeration value="Deactivated"/>
\r
264 <xs:simpleType name="AccountAuthorizationCodeNumberOfDigits">
\r
267 Number of Account/Authorization Code Digits.
\r
268 </xs:documentation>
\r
270 <xs:restriction base="xs:int">
\r
271 <xs:minInclusive value="2"/>
\r
272 <xs:maxInclusive value="14"/>
\r