Cisco Unity Connection Provisioning Interface (CUPI) API -- Post Greeting Recordings APIs

From DocWiki

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 Recordings APIs

Administrator can use this API to fetch the post greeting recordings. It can be used to fetch the list of post greeting recordings and also a single instance of post greeting recordings.


Updating a Post Greeting Recordings

The following is an example of the PUT request that updates the post greeting recordings:

  PUT https://<connection-server>/vmrest/callhandlertemplates/<callhandlertemplate-objectid>
Request Body:
<CallhandlerTemplate>
    <PlayPostGreetingRecording>2</PlayPostGreetingRecording>
    <PostGreetingRecordingObjectId>0c6ab589-f289-4d4b-b3b7-
e4ec96bb783e</PostGreetingRecordingObjectId>
</CallhandlerTemplate>

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

Response Code: 204

JSON Example

To update post greeting recordings, do the following:

Request URI:
PUT: https://<connection-server>/vmrest/callhandlertemplates/<callhandlertemplate-objectid>
Accept: applicaiton/json
Content_type: application/json
Connection: keep_alive
Request Body:
{
"PlayPostGreetingRecording":"1",
"PostGreetingRecordingObjectId":"0c6ab589-f289-4d4b-b3b7-e4ec96bb783e"
}

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

Response Code: 204

Rating: 0.0/5 (0 votes cast)

Personal tools