Hi ,
I am trying to use CUMI REST API to get the actual message voice file/Stream from inbox. I am getting the following error.
I am First getting the messages using the following url
https://1.1.1.1:8443/vmrest/mailbox/folders/inbox/messages?pagenumber=1&rowsperpage=10&userobjectid=9b7339e7-2c1c-4fe0-9f3a-89a891230655Here is the response
- <Messages>
- <Message>
<Subject>Message from test Test (333339990)</Subject>
<Read>false</Read>
<Dispatch>false</Dispatch>
<Secure>false</Secure>
<Priority>Normal</Priority>
<Sensitivity>Normal</Sensitivity>
<URI>/vmrest/messages/0:f67dc8e3-64e1-4475-a3e3-ac024b3f6b5d</URI>
<MsgId>0:f67dc8e3-64e1-4475-a3e3-ac024b3f6b5d</MsgId>
- <From>
<DisplayName>test</DisplayName>
<SmtpAddress>unityconnection@armfgasunity1</SmtpAddress>
</From>
- <CallerId>
<CallerNumber>2223339990</CallerNumber>
<CallerName>Test</CallerName>
</CallerId>
<ArrivalTime>1314728967000</ArrivalTime>
<Size>38762</Size>
<Duration>3470</Duration>
<FromSub>false</FromSub>
<MsgType>Voice</MsgType>
</Message>
- <Message>
<Subject>Message from Test Test (3333339990)</Subject>
<Read>false</Read>
<Dispatch>false</Dispatch>
<Secure>false</Secure>
<Priority>Normal</Priority>
<Sensitivity>Normal</Sensitivity>
<URI>/vmrest/messages/0:5271193c-4199-4d53-83a3-7863cb1f3c5d</URI>
<MsgId>0:5271193c-4199-4d53-83a3-7863cb1f3c5d</MsgId>
- <From>
<DisplayName>Test</DisplayName>
<SmtpAddress>unityconnection@armfgasunity1</SmtpAddress>
</From>
- <CallerId>
<CallerNumber>4443339990</CallerNumber>
<CallerName>Test</CallerName>
</CallerId>
<ArrivalTime>1314725691000</ArrivalTime>
<Size>41170</Size>
<Duration>3690</Duration>
<FromSub>false</FromSub>
<MsgType>Voice</MsgType>
</Message>
</Messages>
once i get the message list, i am trying to retreive audio message (wave file or rtsp stream) using the following URL,
https://1.1.1.1:8443/vmrest/messages/0:5271193c-4199-4d53-83a3-7863cb1f3c5dI am getting "bad request" response.
I cant seem to find docuementation to extract WAV file using CUMI. Has anyone able to get the audio file from above message using the REST API.
Thanks
kesava