ASP.NET XML API Login to Polycom RMX 4000 MCU and get meeting summary

Get MCU Token after login from my previous post to proceed: (eg. replace 126 with your token within 15 second of login script execution)

Private Sub btnPost_Click(sender As Object, e As EventArgs) Handles btnPost.Click
        Dim req As System.Net.WebRequest = Nothing
        Dim rsp As System.Net.WebResponse = Nothing

txtXML.Text =  "<TRANS_CDR_LIST>" &

    "<MCU_TOKEN>126</MCU_TOKEN> " &
   " <MESSAGE_ID>147</MESSAGE_ID>" &
     "<ACTION> " &
    "<GET>" &
    "<CDR_SUMMARY_LS/>" &
    "</GET>" &
    "</ACTION>" &

Dim uri As String = ""
            req = System.Net.WebRequest.Create(uri)
            req.Method = "POST"
            req.ContentType = "text/xml"
            Dim writer As New System.IO.StreamWriter(req.GetRequestStream())
            rsp = req.GetResponse()
  Dim sr As New System.IO.StreamReader(rsp.GetResponseStream(), System.Text.Encoding.[Default])
                Dim backstr As String = sr.ReadToEnd()
                txtResponse.Text = backstr

End Sub

Here is the response received from above xml. You will get all the meetings held till date in response xml. Now you have to process it to get desired results. The returned data may be huge in size more then 1 mb sometimes..


Most Viewed Post

solution for facebook waiting

Connect Sony XPLOD MEX-BT2500 Bluetooth CD Receiver with ur mobile

Crystal Report : Show data horizontally (Left to right) i.e. columns as rows

Google+ Followers