Cisco Unity Connection Provisioning Interface (CUPI) API -- Message Settings 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


Message Settings APIs

Administrator can use this API to fetch the message settings.

Updating a Message Setting

The following is an example of the PUT request that updates the message settings:

  PUT https://<connection-server>/vmrest/callhandlertemplates/<callhandler-objectid>
Request Body:
<CallhandlerTemplate>
    <AfterMessageAction>2</AfterMessageAction>
    <AfterMessageTargetConversation>SystemTransfer</AfterMessageTargetConversation>
</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 message setting, do the following:

Request URI:
PUT:  https://<connection-server>/vmrest/callhandlertemplates/<calhandler-objectid>
Accept: application/json
Content_type: application/json
Connection: keep_alive
Request Body:
{
"AfterMessageAction":"2",
"AfterMessageTargetConversation":"SystemTransfer"
}

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