Cisco Unity Express -- XML Schema Download REST PI Service Operation

From DocWiki

Jump to: navigation, search

Main page: Cisco Unity Express -- REST PI Service Operations

Next page: Cisco Unity Express -- Common Base Classes REST PI Service Operation


Search the Cisco Unity Express documentation on the DocWiki:

Loading




XML Schema Download

Resource URI

/schema

Resource Description

XML schema documents for the CUE PI service data model

Operation MIME Returns

Get (Download XML schema)

Accept: application/octet-stream

Compressed (gzip) tar file containing set of XSD files


Example: Download the schema and save it in file named "schema.tar.gz" in the current directory. (For downloads, do not use CURL with -i option as it adds the HTTP headers to the output).

$ curl -o ./schema.tar.gz -X GET -H 'Authorization: Basic Y2lzY286Y2lzY28=' -H 'Accept:  
application/octet-stream' 
http://172.27.104.144/rest/schema 
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload   Upload  Total   Spent    Left  Speed
 100  6731    0  6731    0   0  171k      0 --:--:-- --:--:-- --:--:-- 3986k


Schema files can be extracted from the compressed files using tar command on Linux/Unix based platforms. (Use WinZip or 7-Zip on Windows platforms).

tar xvfz ./schema.tar.gz
rest_schema/schema10.xsd
rest_schema/schema11.xsd
rest_schema/schema12.xsd
rest_schema/schema13.xsd
rest_schema/schema14.xsd
...
...

Rating: 0.0/5 (0 votes cast)

Personal tools