Cisco Unity Connection Provisioning Interface (CUPI) API -- User Post Greeting Recording

From DocWiki

Revision as of 09:03, 1 November 2013 by Deeptija (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Links to Other API pages: Cisco_Unity_Connection_APIs

CUPI Guide Contents
API Overview
Index of All CUPI Documentation

Contents


Post Greeting Recording Settings API

The following URI can be used to view the user object ID:

GET https://<connection-server>/vmrest/users/<user-objectid>

From the above URI, get the call handler object ID.

Update Post Greeting Recording Settings

PUT https://<connection-server>/vmrest/handlers/callhandlers/<CallhandlerObjectId>
<Callhandler>
  <PlayPostGreetingRecording>1</PlayPostGreetingRecording>
</Callhandler>

The following is the response from the *PUT* request and the actual response will depend upon the information given by you:

Response Code: 204

JSON Example

To update post greeting recording settings, do the following:

PUT https://<connection-server>/vmrest/handlers/callhandlers/<CallhandlerObjectId>
Accept: application/json
Content-type: application/json
Connection: keep-alive
{
  "PlayPostGreetingRecording":"1"
}

The following is the response from the *PUT* request and the actual response will depend upon the information given by you:

Response Code: 204

Explanation of Data Fields

Parameters Data Type Operations Values
PlayPostGreetingRecording Integer Read/Write
  • 0: Do Not Play Recording
  • 1: Play Recording to All Callers
  • 2: Play Recording Only to Unidentified Callers
PostGreetingRecordingObjectId String(36) Read/Write Object Id of post greeting. URI to fetch it:
https://<connection-server>/vmrest/postgreetingrecordings
.

Rating: 0.0/5 (0 votes cast)

Personal tools