How to List Sessions of a Channel
Find a channel that has an available technician and transfer a session to that technician.
Why would you do this? You can see the details of one or more of your technicians' sessions and also see technicians' current and past workload.
-
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
- Using HTTP GET
request:
-
Request the list of technician sessions on a specific channel.
Use the getSession_v3 API method to view the list.
- Using HTTP GET
request:
https://secure.logmeinrescue.com/API/getSession_v3.aspx?node=1902861082 &noderef=CHANNEL
- Using HTTP POST
request:
<form method="post" action="https://secure.logmeinrescue.com/API/getSession_v3.aspx"> <input name="node" value="1902861082"> <input name="noderef" value="CHANNEL"> </form>
Response: An OK message followed by the name of columns containing session information. The actual session information is displayed as a tab-separated list after the column names.
For example: 1571322|Connecting|0||337366|John Doe|10/14/2011 10:12 AM|105|Customer1|||en|||yes|| 1571323|Connecting|0||337366|John Doe|10/14/2011 10:13 AM|13|Customer2|||en|||yes||
- Using HTTP GET
request:
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/getSession_v3.aspx?node=1902861082 &noderef=CHANNEL
- 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/getSession_v3.aspx"> <input name="node" value="1902861082"> <input name="noderef" value="CHANNEL"> </form>