get_voicemail_file

A get_voicemail_file request will return data related to a specific voicemail message. You might use the get_voicemail method for a list of all available messages from which you can choose.


Parameter
Purpose
username The user's login name
password The user's login password
file the file name obtained from get_voicemail
content the actual contents of a voicemail message (in .WAV format)???
mimetype the email's MIME (Multipurpose Internet Mail Extensions) format



Sample Request
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:TelebroadWebServices">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:get_voicemail_fileRequest soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <username xsi:type="xsd:string">xxxxxxxxxx</username>
         <password xsi:type="xsd:string">xxxxxxxxxxx</password>
         <file xsi:type="xsd:string">xxxxxxxxx</file>
      </urn:get_voicemail_fileRequest>
   </soapenv:Body>
</soapenv:Envelope>



Sample Response

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:TelebroadWebServices">
   <SOAP-ENV:Body>
      <ns1:get_voicemail_fileResponse xmlns:ns1="urn:TelebroadWebServices">
         <return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:sms_item[4]">
            <item xsi:type="tns:sms_item">
               <filename xsi:type="xsd:int">xxxxxxxxxxx</filename>
               <content xsi:type="xsd:int">xxxxxxxxxxx</content>
               <mimetype xsi:type="xsd:string">audio/mp3</mimetype>
            </item>
         </return>
      </ns1:get_voicemail_fileResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>















Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.