/mcpCreating Greeting The following URI can be used to add greetings: POST https://<connection- server>/vmrest/callhandlerprimarytemplates/<Callhandlerprimarytempl atesObjectId>/usertemplategreetings/Alternate/greetingstreamfiles The following is the response from the POST request and the actual response will depend upon the information given by you: Response Code: 201 Save Video Greetings Unity Connection allows you to save video greetings using both GET and PUT requests. Example of GET Request GET http://<connection-server>/vmrest/Callhandlersprimarytemplates/<callhandlerobjectid>/usertemplates/Greetings/<GreetingType>/GreetingStreamFiles/<language>/video The following is the response of the above GET command and the output may vary depending on your inputs. Response: 200 <CallControl> <resourceId>aad91d6d-aeca-4a72-8069-b656efb3041f.wav</resourceId> <sessionId>570146ed1504cb1</sessionId> </CallControl JSON Example Request GET vmrest/handlers/callhandlers/30600b21-1a4c-47a3-a078-8078984e5376/greetings/Standard/greetingstreamfiles/1033/video Accept: application/json User-Agent: Java/1.6.0_17 Host: <connection-server> Connection: keep-alive authorization: Basic Y2NtYWRtaW5pc3RyYXRvcjplY3NidWxhYg= Response HTTP/1.1 200 Content-Type: application/json Date: Fri, 15 Jan 2010 15:14:11 GMT Server: { “resourceId” :” aad91d6d-aeca-4a72-8069-b656efb3041f.wav”, “sessionId” : ”570146ed1504cb1”} Example of PUT Request PUT http://<connection-server>/vmrest/Callhandlersprimarytemplates/<callhandlerobjectid>/usertemplates/Greetings/<GreetingType>/GreetingStreamFiles/<language>/video Cisco Unity Connection Provisioning Interface (CUPI) API 259 Cisco Unity Connection Provisioning Interface (CUPI) API for User Template Creating Greeting