/mcp{ "DirectoryHandlerStreamFile": { "DirectoryHandlerObjectId": "06628a5c-b755-466d-9e39-66e1956c2242", "LanguageCode": "1033", "StreamFile": "050590b8-fb8f-4e8d-ab17-4e29eab7d412.wav" } } Response Code: 200 Viewing Custom Recording for a Particular Language The following is an example of the GET request that list the custom recording for a particular language from a directory handler: GET https://<connection- server>/vmrest/handlers/directoryhandlers/<DirectoryHandlerObjectId>/directoryhandlerstreamfiles /1033 Playing an Existing Greeting The following is an example that will play an existing greeting in the browser: https://<connection- server>/vmrest/handlers/directoryhandlers/<DirectoryHandlerObjectId>/directoryhandlerstreamfiles /1033/audio Add or Update Greeting by Uploading File from the Desktop It is a 3 step process Step 1: A place-holder for the WAV file must be created with a POST. This is a temporary file place-holder that can be used for up to 30 minutes. If it is not assigned to a resource within 30 minutes, the file is assumed to be abandoned and is automatically cleaned. POST https://<connection-server>/vmrest/voicefiles Response Code: 201 The content is the name of the newly created temporary .wav file. JSON Example To create a place-holder for the WAV file, do the following: Request URI: POST https://<connection-server>/vmrest/voicefiles Accept: application/json Content-Type: application/json Connection: keep-alive Cisco Unity Connection Provisioning Interface (CUPI) API 547 Cisco Unity Connection Provisioning Interface (CUPI) API--Directory Handler APIs Viewing Custom Recording for a Particular Language