Cisco Unity Express -- Greetings REST PI Service Operation
From DocWiki
Main page: Cisco Unity Express -- REST PI Service Operations
Previous page: Cisco Unity Express -- Caller Call Flow REST PI Service Operation
Next page: Cisco Unity Express -- Subscriber Notification Profile REST PI Service Operation
Search the Cisco Unity Express documentation on the DocWiki:
Contents |
Greetings
Classes
Figure 25: Greeting
GreetingStatus
| Class Name |
GreetingStatus (Enumeration Class) |
|---|---|
| Extends From | |
| Description |
Enumeration of greeting status types |
| XML Namespace |
http://greeting.model.voicemail.rest.aesop.cisco.com |
| Enum Values |
DISABLED, ENABLED, ENABLED_UNTIL |
GreetingType
| Class Name |
GreetingType (Enumeration Class) |
|---|---|
| Extends From | |
| Description |
Enumeration of greeting types |
| XML Namespace |
http://greeting.model.voicemail.rest.aesop.cisco.com |
| Enum Values |
STANDARD, ALTERNATE, MEETING, VACATION, EXTENDEDABSENCE, BUSY, CLOSED, INTERNAL |
RecordingType
| Class Name |
RecordingType (Enumeration Class) |
|---|---|
| Extends From | |
| Description |
Enumeration of recording types for a greeting |
| XML Namespace |
http://greeting.model.voicemail.rest.aesop.cisco.com |
| Enum Values |
SYSTEM, USER, NONE |
Greeting
| Class Name |
Greeting | ||
|---|---|---|---|
| Extends From |
ManagedBaseElement | ||
| Description |
Class representing configurations related to a specified greeting type for a given mailbox | ||
| XML Namespace |
http://greeting.model.voicemail.rest.aesop.cisco.com | ||
| Field Name | Type | Constraints | Comments |
|
enableUntil |
DateTime |
Must be specfied if greetingStatus is set to ENABLED_UNTIL. Value must be less than 365 days in the future. |
Enable a greeting until the specified date and time. |
|
greetingStatus |
GreetingStatus |
Greeting status | |
|
greetingType |
GreetingType |
Greeting type | |
|
recordingType |
RecordingType |
Recording type for this greeting | |
|
userRecording |
UserRecording |
Indicates if user recorded custom greeting is present |
UserRecording
| Class Name |
UserRecording |
|---|---|
| Extends From |
ManagedBaseElement |
| Description |
Class representing user recorded custom greeting for a specified greeting type for a given mailbox |
| XML Namespace |
http://greeting.model.voicemail.rest.aesop.cisco.com |
Resources
| Resource URI | Operation | Input | Return Value |
|---|---|---|---|
|
/voicemail/mailboxes/{ownerid}/greetings |
GET (retrieve greetings information for all greeting types) |
BaseElementList Containing list of Greeting objects | |
|
/voicemail/mailboxes/{ownerid}/greetings/{greetingtype} |
GET (Read Greeting information for a given greeting type) |
Greeting | |
|
/voicemail/mailboxes/{ownerid}/greetings/{greetingtype} |
PUT (Update greeting information) |
Content-type: application/xml Greeting | |
|
/voicemail/mailboxes/{ownerid}/greetings/{greetingtype}/reset |
PUT (Reset information for a greeting type to system defaults) | ||
|
/voicemail/mailboxes/{ownerid}/greetings/{greetingtype}/recording |
PUT (Upload a custom recorded wav file as a greeting) |
Content-type: audio/x-wav Audio WAV file | |
|
/voicemail/mailboxes/{ownerid}/greetings/{greetingtype}/recording |
DELETE (Delete any custom recording for greeting type) |
