LogMeIn Rescue API User Guide

How to View Technician Activity

Report on technician activity for a specified period of time.

Why would you do this? You can ensure your technician has a balanced workload.

  1. Log in if you have not done that already.

    Account holders log in by using the logIn API method.

    • Using HTTP GET request:
      https://secure.logmeinrescue.com/API/login.aspx?email=some@email.com
      &pwd=secretPassword
    • Using HTTP POST request:
      <form method="post" action="https://secure.logmeinrescue.com/API/login.aspx">
              <input name="email" value="some@email.com">
              <input name="pwd" value="secretPassword">
      </form>

    Response: OK

  2. Set the start and end date of the report.

    Use the setReportDate_v2 API method to set the dates of the report.

    • Using HTTP GET request:
      https://secure.logmeinrescue.com/API/setReportDate_v2.aspx?bdate=12/1/2011
      &edate=12/31/2011
    • Using HTTP POST request:
      <form method="post" action="https://secure.logmeinrescue.com/API/
      setReportDate_v2.aspx">
              <input name="bdate" value="12/1/2011">
              <input name="edate" value="12/31/2011">
      </form>

    Response: OK

  3. Optionally, set the daily start and end time of the report. For example, you may want to see technician activity only during office hours.

    Use the setReportTime API method to set the timespan of the report.

    • Using HTTP GET request:
      https://secure.logmeinrescue.com/API/setReportTime.aspx?btime=9:00:00
      &etime=17:00:00
    • Using HTTP POST request:
      <form method="post" action="https://secure.logmeinrescue.com/API/setReportTime.aspx">
              <input name="btime" value="9:00:00">
              <input name="etime" value="17:00:00">
      </form>

    Response: OK

  4. Optionally, if you are not looking for a technician's session information, you can change the type of your report. For example, you may want to view a report on sessions that the technician missed.

    Use the setReportArea API method to change the type of your report.

    • Using HTTP GET request:
      https://secure.logmeinrescue.com/API/setReportArea.aspx?area=3
    • Using HTTP POST request:
      <form method="post" action="https://secure.logmeinrescue.com/API/setReportArea.aspx">
              <input name="area" value="3">
      </form>

    Response: OK

  5. View the report on technician activity.

    Use the getReport API method to generate a report.

    • Using HTTP GET request:
      https://secure.logmeinrescue.com/API/getReport.aspx?node=337366&noderef=NODE
    • Using HTTP POST request:
      <form method="post" action="https://secure.logmeinrescue.com/API/getReport.aspx">
              <input name="node" value="337366">
              <input name="noderef" value="NODE">
      </form>

    Response: An OK message and a detailed list of technician activity history.

    For example, OK 12/30/2011 1:35:39 PM|8/31/2010 1:38:44 PM|00:03:05|859436|Applet On LAN|Closed by waiting customer|JDOE|||||||192.168.1.6|John Doe|-

    For information about the available session information, see Columns of Generated Reports.

    Note:

Here is a complete example for checking technician availability:

  • With HTTP GET
    https://secure.logmeinrescue.com/API/login.aspx?email=some@email.com
    &pwd=secretPassword
    https://secure.logmeinrescue.com/API/setReportDate_v2.aspx?bdate=12/1/2011
    &edate=12/31/2011
    https://secure.logmeinrescue.com/API/setReportTime.aspx?btime=9:00:00
    &etime=17:00:00
    https://secure.logmeinrescue.com/API/setReportArea.aspx?area=3
    https://secure.logmeinrescue.com/API/getReport.aspx?node=337366&noderef=NODE
  • With HTTP POST
    <form method="post" action="https://secure.logmeinrescue.com/API/login.aspx">
            <input name="email" value="some@email.com">
            <input name="pwd" value="secretPassword">
    </form
    <form method="post" action="https://secure.logmeinrescue.com/API/setReportDate_v2.aspx">
            <input name="bdate" value="12/1/2011">
            <input name="edate" value="12/31/2011">
    </form>
    <form method="post" action="https://secure.logmeinrescue.com/API/setReportTime.aspx">
            <input name="btime" value="9:00:00">
            <input name="etime" value="17:00:00">
    </form>
    <form method="post" action="https://secure.logmeinrescue.com/API/setReportArea.aspx">
            <input name="area" value="3">
    </form>
    <form method="post" action="https://secure.logmeinrescue.com/API/getReport.aspx">
            <input name="node" value="337366">
            <input name="noderef" value="NODE">
    </form>