/mcpJSON Example POST https://<connection-sever>/vmrest/voicefiles Accept: application/json Content-Type; application/json Connection: keep-alive Response Code: 201 0ad46c53-44eb-4da6-988c-4f07fabc6bdd.wav Step 2 Use the temporary file name to put the new audio data. The HTTP content type is "audio/wav" and the payload content is the audio data. Rename the .wav file which is to be uploaded as the greeting to the temporary file name generated as part of the response from step1. For eg : If the file on desktop has name "greeting.wav" and the temporary file name is 0ad46c53-44eb-4da6-988c- 4f07fabc6bdd.wav(got as part of the response of step1), then the file should be renamed to 0ad46c53-44eb-4da6-988c-4f07fabc6bdd.wav before step 2 is performed. The length of the greeting can be set under the System Settings > General Configuration settings. Here you can enter the maximum length for system call handler greetings. The range is 1 to 1,200 seconds and default setting is 90 seconds. Note The request is as follows: PUT https://<connection-server>/vmrest/voicefiles/<temporary file name> Response Code: 204 JSON Example POST https://<connection-sever>/vmrest/voicefiles/<temporary file name> Accept: application/json Content-Type; application/json Connection: keep-alive Response Code: 204 Step 3 Add the file to the voice name. The request is as follows: PUT https://<connection-server>/vmrest/contacts/<contactobjectid> Request Body: <Contacts> <VoiceName>0ad46c53-44eb-4da6-988c-4f07fabc6bdd.wav</VoiceName> </Contacts> Response Code: 201 JSON Example POST https://<connection-sever>/vmrest/contacts/<contactobjectid> Accept: application/json Content-Type; application/json Connection: keep-alive Request Body: { "VoiceName":"0ad46c53-44eb-4da6-988c-4f07fabc6bdd.wav" } Cisco Unity Connection Telephony Interface (CUTI) API 28 Cisco Unity Connection Provisioning Interface (CUTI) API -- Voice Name Upload for Contacts Add/Update the Voice Name for Contacts by Uploading a File from the Desktop