Cisco Unity Express -- Scripts REST PI Service Operation
From DocWiki
m (1 revision) |
|||
| Line 5: | Line 5: | ||
'''Next page:''' [[Cisco Unity Express -- Fax Settings REST PI Service Operation]] | '''Next page:''' [[Cisco Unity Express -- Fax Settings REST PI Service Operation]] | ||
| + | |||
| + | |||
| + | '''Search the Cisco Unity Express documentation on the DocWiki:''' | ||
| + | <html><div id="cse" style="width:25%;">Loading</div> | ||
| + | <script src="http://www.google.com/jsapi" type="text/javascript"></script> | ||
| + | <script type="text/javascript"> | ||
| + | google.load('search', '1', {language : 'en'}); | ||
| + | google.setOnLoadCallback(function(){ | ||
| + | var customSearchControl = new google.search.CustomSearchControl('007771824002417948961:zfpvm8yv4fc'); | ||
| + | customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET); | ||
| + | customSearchControl.draw('cse'); | ||
| + | }, true); | ||
| + | </script> | ||
| + | <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" /> | ||
| + | </html> | ||
Latest revision as of 01:36, 3 May 2010
Main page: Cisco Unity Express -- REST PI Service Operations
Previous page: Cisco Unity Express -- Restriction Tables REST PI Service Operation
Next page: Cisco Unity Express -- Fax Settings REST PI Service Operation
Search the Cisco Unity Express documentation on the DocWiki:
Contents |
Scripts
Classes
Figure 12: Script
Script
| Class Name |
Script | ||
|---|---|---|---|
| Extends From |
ManagedBaseElement | ||
| Description |
Class representing a system script file. | ||
| XML Namespace |
http://script.model.rest.aesop.cisco.com | ||
| Field Name | Type | Constraints | Comments |
|
scriptName |
String |
Script file name | |
|
isSystem |
Boolean |
Boolean indicating if it is a system script file (cannot be deleted if system script). | |
|
creationDate |
String |
Creation date for the file. | |
|
lastModifyDate |
String |
Last modify date | |
|
scriptType |
ScriptType |
Enumeration (AA, IVR) | |
|
size |
Integer |
Size of the script file in bytes. |
Resources
| Resource URI | Operation | Input | Return Value |
|---|---|---|---|
|
/scripts |
GET (Read all scripts details) |
BaseElementList (Script) | |
|
/scripts/{scriptname} While uploading binary script file, use query parameter overwrite if a file with same name exist already. /scripts/{scriptname}?overwrite=true |
PUT (Upload a script file) |
Content-type: application/octet-stream Binary Script file to be uploaded | |
|
GET (Download a script file) |
Accept: application/octet-stream |
Script binary file | |
|
GET (Read Script information) |
Accept: application/xml |
Script | |
|
DELETE (Delete a script from server) |
