You'll have to bear w/me here...today was the first time I learned of the LMI Resue API.
First question - how do you use the API?
One of my goals is this (bear w/me again...)
- End-user goes to a page on my site. Fills out a form (name, email, phone #, brief description of computer problem) - then clicks a button "continue..."
- One of two things will happen:
- During non-working hours (that I setup in my admin console), first, they are redirected to a custom page that says sorry, we're closed - someone will get back to you during working hours (and I'll put the hours on the page). Addiontally, an email is sent to the email they provided saying sorry, we're closed, someone will contact you during working hours...blah..blah. Lastly, I'll get an email too saying XX Person wanted to connect for support (and it'll send me the info from the form)
- During working hours - The end user is directed to the next page asking them for their 6-digiti PIN code. I will get an email saying XX person wants support...sends me what is from the form (so I know someone wants support). Then I can send them a 6-digit PIN code via email (or phone).
So, knowing this, my first bit code I noticed in the API that would be something of interest for me to use for this scenario was the isAnyTechAvailableOnChannel and some form code as an example:
<form method="post" action="https://secure.logmeinrescue.com/API/
isAnyTechAvailableOnChannel.aspx">
<input name="ChannelID" value=1902861082>
<input name="ExcludingAwayAndBusy" value=true>
</form>
But, I'm pretty sure I just can't post that in my page w/out further customization (obviously the channelID). Am I on the right track here? Well, my first goal would be how to exactly use the API of course.
Thanks in advance...
Steve