Cannot make getReport work using LogMeIn Rescue API
Hello, all.
I am using the HttpWebRequest method in VB.Net to generate a report that shows a technician's activity over a period of time. But after I rewrote the sample code "C# with HttpWebRequest" to fit my own needs, the server response keeps giving me the following error:
getReport result: ERROR
The HttpWebRequest server responses for setReportArea, setDelimiter, setOutput, setReportDate, setReportTime, and setTimeZone methods are coming out fine:
setReportArea result: OK
setDelimiter result: OK
setOutput result: OK
setReportDate result: OK
setReportTime result: OK
setTimezone result: OK
From the LogMeIn Rescue API User Guide's getReport page, a return value of ERROR means, "An unspecified error occurred, such as timeout."
But the HttpWebRequest's status said it was OK (status code: 200). It's just that the server response is returning "ERROR". What am I doing wrong? Please help.
Thank you.