How to Transfer a Session to an Available Channel
Find a channel that has an available technician and transfer a session to that technician.
Why would you do this? You can reduce customers' waiting time by transferring sessions in Waiting status to a channel that has an available technician.
-
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 available technicians on a channel.
Use the isAnyTechAvailableOnChannel API method to view the list.
- Using HTTP GET
request:
https://secure.logmeinrescue.com/API/isAnyTechAvailableOnChannel.aspx?ChannelID= 1902861082&ExcludingAwayAndBusy=true
- Using HTTP POST
request:
<form method="post" action="https://secure.logmeinrescue.com/API/ isAnyTechAvailableOnChannel.aspx"> <input name="ChannelID" value="1902861082"> <input name="ExcludingAwayAndBusy" value="true"> </form>
Response: TRUE
Note: You may have to repeat this step until you find an available channel. - Using HTTP GET
request:
-
Transfer your selected session to the available channel.
Use the transferSession API method to transfer a session.
- Using HTTP GET
request:
https://secure.logmeinrescue.com/API/transferSession.aspx?session=123456& node=1902861082&noderef=CHANNEL
- Using HTTP POST
request:
<form method="post" action="https://secure.logmeinrescue.com/API/transferSession.aspx"> <input name="session" value="123456"> <input name="node" value="1902861082"> <input name="noderef" value="CHANNEL"> </form>
Response: OK
- Using HTTP GET
request:
The selected session
is transferred to a channel with an available technician.
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/isAnyTechAvailableOnChannel.aspx?ChannelID= 1902861082&ExcludingAwayAndBusy=true https://secure.logmeinrescue.com/API/transferSession.aspx?session=123456& 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/ isAnyTechAvailableOnChannel.aspx"> <input name="ChannelID" value="1902861082"> <input name="ExcludingAwayAndBusy" value="true"> </form> <form method="post" action="https://secure.logmeinrescue.com/API/transferSession.aspx"> <input name="session" value="123456"> <input name="node" value="1902861082"> <input name="noderef" value="CHANNEL"> </form>