/mcpRequest: POST /vmrest/calls/1 HTTP/1.1 Content-Type: application/json Accept: application/json User-Agent: Java/1.6.0_17 Host: cuc-install-67.cisco.com Connection: keep-alive Authorization: Basic Y2NtYWRtaW5pc3RyYXRvcjplY3NidWxhYg== Content-Length: 159 {"op":"PLAY","resourceType":"HANDLER","resourceId":"1218f93a-2ce2-4987-9589-f8e06bd54a14.wav","sessionId":"2f61469411d7131"} Response: HTTP/1.1 200 OK Set-Cookie: JSESSIONIDSSO=CD7B1064CEB9385B6FE9279ECBDB40E3; Path=/ Set-Cookie: JSESSIONID=201BD26E840AA2CEEC242A9CCD0FE8F6; Path=/vmrest Content-Type: application/json Transfer-Encoding: chunked Date: Fri, 15 Jan 2010 15:14:15 GMT Server: 1({"op":"PLAY","resourceType":"HANDLER","resourceId":"1218f93a-2ce2-4987-9589-f8e06bd54a14.wav","sessionId":"2f61469411d7131","lastResult":"0"}) For a System administrator following should be the request: In this case video greeting of handler, whose objectId "handlerObjectId"is passed in request will be played. POST https://<connection-server>/vmrest/calls/<call-id>?handlerObjectId=<handlerObjectId> Request: <CallControl> <op>PLAY</op> <resourceType>HANDLER</resourceType> <sessionId>55d146ced50d1</sessionId> <resourceId>0bc5155b-0989-4523-a75a-948cc691b99e.wav</resourceId> <lastResult>0</lastResult> </CallControl> Response: <CallControl> <op>PLAY</op> <resourceType>HANDLER</resourceType> <resourceId>0bc5155b-0989-4523-a75a-948cc691b99e.wav</resourceId> <sessionId>55d146ced50d1</sessionId> <lastResult>0</lastResult> </CallControl> Response code:200 Ok JSON Example Request: POST /vmrest/calls/1 ? handlerObjectId=<handlerObjectId> Content-Type: application/json Accept: application/json User-Agent: Java/1.6.0_17 Host: cuc-install-67.cisco.com Connection: keep-alive Authorization: Basic Y2NtYWRtaW5pc3RyYXRvcjplY3NidWxhYg== Content-Length: 159 {"op":"PLAY","resourceType":"HANDLER","resourceId":"1218f93a-2ce2-4987-9589-f8e06bd54a14.wav","sessionId":"2f61469411d7131"} Cisco Unity Connection Telephony Interface (CUTI) API 17 Cisco Unity Connection Telephony Interface (CUTI) API -- Using CUTI for Basic Call Operations Play Greetings