Send Voice Mail from java

Version 1
    This document was generated from CDN thread

    Created by: chaitanya ambadipudi on 21-10-2013 10:45:19 AM
    In order to post a message to users voice mail do I have to call the following method:
     
    <method name="POST" id="sendMessage">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" type="xs:string" style="query" name="userobjectid"/>
                       <param xmlns:xs="http://www.w3.org/2001/XMLSchema" type="xs:string" style="query" name="messageid"/>
                        <representation mediaType="multipart/form-data"/>
                        <representation mediaType="multipart/mixed"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
     
    Is this the correct method for sending a wav file as voice message. If so what is the user id attribute and message id that need to be passed to this method?
     
    Can you let me know little description about how this method post the voicemail to the specified user?
     

    Subject: RE: Send Voice Mail from java
    Replied by: Jeff Lindborg on 04-12-2013 11:56:11 AM
    [url=http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Messaging_Interface_(CUMI)_API]http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Messaging_Interface_(CUMI)_API

    the CUMI API site has an example of how to send a message (with multiple attachments) - the first send message section details all the items that can be included - the second has a full example of the HTTP to send a message