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 <!-- C A L L I N G P A R T Y C A T E G O R Y 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 <!-- C A L L I N G P A R T Y C A T E G O R Y -->
\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 SystemCallingPartyCategoryAddRequest
\r
36 SystemCallingPartyCategoryDeleteRequest
\r
37 SystemCallingPartyCategoryGetListRequest
\r
38 SystemCallingPartyCategoryGetRequest
\r
39 SystemCallingPartyCategoryModifyRequest
\r
40 UserCallingPartyCategoryGetRequest16
\r
41 UserCallingPartyCategoryModifyRequest16
\r
45 <xs:complexType name="SystemCallingPartyCategoryAddRequest">
\r
48 Add a Calling Party Category to system.
\r
49 The response is either a SuccessResponse or an ErrorResponse.
\r
53 <xs:extension base="core:OCIRequest">
\r
55 <xs:element name="category" type="CallingPartyCategoryName"/>
\r
56 <xs:element name="cpcValue" type="CallingPartyCategoryValue" minOccurs="0"/>
\r
57 <xs:element name="isupOliValue" type="ISDNUserPartOriginatingLineInformationValue" minOccurs="0"/>
\r
58 <xs:element name="gtdOliValue" type="ISDNGenericTransparencyDescriptorOliValue" minOccurs="0"/>
\r
59 <xs:element name="userCategory" type="xs:boolean"/>
\r
60 <xs:element name="payPhone" type="xs:boolean"/>
\r
61 <xs:element name="operator" type="xs:boolean"/>
\r
62 <xs:element name="default" type="xs:boolean"/>
\r
63 <xs:element name="collectCall" type="xs:boolean"/>
\r
64 <xs:element name="webDisplayKey" type="WebDisplayKey" minOccurs="0"/>
\r
67 </xs:complexContent>
\r
70 <xs:complexType name="SystemCallingPartyCategoryDeleteRequest">
\r
73 Delete a Calling Party Category from system. The category cannot be deleted if it is the default or is in use by any users.
\r
74 The response is either a SuccessResponse or an ErrorResponse.
\r
78 <xs:extension base="core:OCIRequest">
\r
80 <xs:element name="category" type="CallingPartyCategoryName"/>
\r
83 </xs:complexContent>
\r
86 <xs:complexType name="SystemCallingPartyCategoryGetListRequest">
\r
89 Get the list of all Calling Party Category in system.
\r
90 The response is either a SystemCallingPartyCategoryGetListResponse or an ErrorResponse.
\r
94 <xs:extension base="core:OCIRequest">
\r
97 </xs:complexContent>
\r
100 <xs:complexType name="SystemCallingPartyCategoryGetListResponse">
\r
103 Response to SystemCallingPartyCategoryGetListRequest.
\r
104 Contains a table of Calling Party Category defined in system.
\r
105 The column headings are: "Category Name", "User Category", "Collect Call", "Default" and "Web Display Key".
\r
106 </xs:documentation>
\r
108 <xs:complexContent>
\r
109 <xs:extension base="core:OCIDataResponse">
\r
111 <xs:element name="callingPartyCategoryTable" type="core:OCITable"/>
\r
114 </xs:complexContent>
\r
117 <xs:complexType name="SystemCallingPartyCategoryGetRequest">
\r
120 Get an existing Calling Party Category in system.
\r
121 The response is either a SystemCallingPartyCategoryGetResponse or an ErrorResponse.
\r
122 </xs:documentation>
\r
124 <xs:complexContent>
\r
125 <xs:extension base="core:OCIRequest">
\r
127 <xs:element name="category" type="CallingPartyCategoryName"/>
\r
130 </xs:complexContent>
\r
133 <xs:complexType name="SystemCallingPartyCategoryGetResponse">
\r
136 Response to SystemCallingPartyCategoryGetRequest.
\r
137 Contains information of a Calling Party Category defined in system.
\r
138 </xs:documentation>
\r
140 <xs:complexContent>
\r
141 <xs:extension base="core:OCIDataResponse">
\r
143 <xs:element name="cpcValue" type="CallingPartyCategoryValue" minOccurs="0"/>
\r
144 <xs:element name="isupOliValue" type="ISDNUserPartOriginatingLineInformationValue" minOccurs="0"/>
\r
145 <xs:element name="gtdOliValue" type="ISDNGenericTransparencyDescriptorOliValue" minOccurs="0"/>
\r
146 <xs:element name="userCategory" type="xs:boolean"/>
\r
147 <xs:element name="payPhone" type="xs:boolean"/>
\r
148 <xs:element name="operator" type="xs:boolean"/>
\r
149 <xs:element name="default" type="xs:boolean"/>
\r
150 <xs:element name="collectCall" type="xs:boolean"/>
\r
151 <xs:element name="webDisplayKey" type="WebDisplayKey" minOccurs="0"/>
\r
154 </xs:complexContent>
\r
157 <xs:complexType name="SystemCallingPartyCategoryModifyRequest">
\r
160 Modify a Calling Party Category in system.
\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="category" type="CallingPartyCategoryName"/>
\r
168 <xs:element name="cpcValue" type="CallingPartyCategoryValue" nillable="true" minOccurs="0"/>
\r
169 <xs:element name="isupOliValue" type="ISDNUserPartOriginatingLineInformationValue" nillable="true" minOccurs="0"/>
\r
170 <xs:element name="gtdOliValue" type="ISDNGenericTransparencyDescriptorOliValue" nillable="true" minOccurs="0"/>
\r
171 <xs:element name="userCategory" type="xs:boolean" minOccurs="0"/>
\r
172 <xs:element name="payPhone" type="xs:boolean" minOccurs="0"/>
\r
173 <xs:element name="operator" type="xs:boolean" minOccurs="0"/>
\r
174 <xs:element name="becomeDefault" type="xs:boolean" fixed="true" minOccurs="0"/>
\r
175 <xs:element name="collectCall" type="xs:boolean" minOccurs="0"/>
\r
176 <xs:element name="webDisplayKey" type="WebDisplayKey" nillable="true" minOccurs="0"/>
\r
179 </xs:complexContent>
\r
182 <xs:complexType name="UserCallingPartyCategoryGetRequest16">
\r
185 Request the user level data associated with Calling Party Category.
\r
186 The response is either a UserCallingPartyCategoryGetResponse16 or an
\r
188 </xs:documentation>
\r
190 <xs:complexContent>
\r
191 <xs:extension base="core:OCIRequest">
\r
193 <xs:element name="userId" type="UserId"/>
\r
196 </xs:complexContent>
\r
199 <xs:complexType name="UserCallingPartyCategoryGetResponse16">
\r
202 Response to UserCallingPartyCategoryGetRequest16.
\r
203 </xs:documentation>
\r
205 <xs:complexContent>
\r
206 <xs:extension base="core:OCIDataResponse">
\r
208 <xs:element name="category" type="CallingPartyCategoryName"/>
\r
211 </xs:complexContent>
\r
214 <xs:complexType name="UserCallingPartyCategoryModifyRequest16">
\r
217 Modify the user level data associated with Calling Party Category.
\r
218 The response is either a SuccessResponse or an ErrorResponse.
\r
219 </xs:documentation>
\r
221 <xs:complexContent>
\r
222 <xs:extension base="core:OCIRequest">
\r
224 <xs:element name="userId" type="UserId"/>
\r
225 <xs:element name="category" type="CallingPartyCategoryName" minOccurs="0"/>
\r
228 </xs:complexContent>
\r
231 <xs:simpleType name="CallingPartyCategoryName">
\r
234 Name for the Calling Party Category.
\r
235 </xs:documentation>
\r
237 <xs:restriction base="xs:token">
\r
238 <xs:minLength value="1"/>
\r
239 <xs:maxLength value="20"/>
\r
243 <xs:simpleType name="CallingPartyCategoryValue">
\r
246 Value for the Calling Party Category used in signaling.
\r
247 </xs:documentation>
\r
249 <xs:restriction base="xs:token">
\r
250 <xs:minLength value="1"/>
\r
251 <xs:maxLength value="20"/>
\r
255 <xs:simpleType name="ISDNGenericTransparencyDescriptorOliValue">
\r
258 ISDN generic transparency descriptor OLI value for the Calling Party Category.
\r
259 </xs:documentation>
\r
261 <xs:restriction base="xs:token">
\r
262 <xs:minLength value="1"/>
\r
263 <xs:maxLength value="3"/>
\r
267 <xs:simpleType name="ISDNUserPartOriginatingLineInformationValue">
\r
270 ISDN user part originating line information value for the Calling Party Category.
\r
271 </xs:documentation>
\r
273 <xs:restriction base="xs:int">
\r
274 <xs:minInclusive value="0"/>
\r
275 <xs:maxInclusive value="255"/>
\r