<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Need help with the URL API (login and schedule)</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=8054515" />
  <subtitle>Need help with the URL API (login and schedule)</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=8054515</id>
  <updated>2013-05-26T01:04:46Z</updated>
  <dc:date>2013-05-26T01:04:46Z</dc:date>
  <entry>
    <title>RE: Need help with the URL API (login and schedule)</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8068569" />
    <author>
      <name>Nathan Morrow</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8068569</id>
    <updated>2012-10-26T18:01:59Z</updated>
    <published>2012-10-26T17:59:35Z</published>
    <summary type="html">[color=#525252]URL API is intended for access via web browser and isn't really designed for server to server type setup like this. Login is tracked via session cookie, created via the LI command or manual authentication, which must be available when attempting to authorize the schedule request. For PHP page, it is highly recommended that you use use XML API instead. URL API is best suited to simple HTML form style integration where the web browser is tracking login instead of cURL. I listed an example below, note form field name matches URL API variable name. For known values, hidden fields can be used or simply display a clickable link or button that directly launches the formatted URL instead of using a form.[/color]


[color=#525252]Example Login Form:[/color]
[color=#525252]&lt;form method="POST" action="[/color][url=https://apidemoeu.webex.com/apidemoeu/p.php%22%3E]https://apidemoeu.webex.com/apidemoeu/p.php"&gt;[/url]
[color=#525252]&lt;input type="hidden" name="AT" value="LI"&gt;[/color]
[color=#525252]&lt;input type="textbox" name="WID"&gt;[/color]
[color=#525252]&lt;input type="password" name="PW"&gt;[/color]
[color=#525252]&lt;input type="hidden" name="MU" value="http://landing.page.for.successful.response"&gt;[/color]
[color=#525252]&lt;input type="hidden" name="BU" value="http://landing.page.for.failed.response"&gt;[/color]
[color=#525252]&lt;input type="submit"&gt;[/color]
[color=#525252]&lt;/form&gt;[/color]</summary>
    <dc:creator>Nathan Morrow</dc:creator>
    <dc:date>2012-10-26T17:59:35Z</dc:date>
  </entry>
  <entry>
    <title>Need help with the URL API (login and schedule)</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8054514" />
    <author>
      <name>Anibal Bengardino</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8054514</id>
    <updated>2012-10-26T04:19:31Z</updated>
    <published>2012-10-26T04:16:16Z</published>
    <summary type="html">Hi gurus,
 
I'm trying to integrate WebEx Meetings into my PHP 
website via the URL API. I managed to POST the login command thru cURL 
and got the SUCCESS flag; however, when I tried to schedule a meeting 
posting the SM command, I'm getting an "AccessDenied" error.
 
I've read the docs and they say you can get this error if you're already 
logged in in another browser instance or if you remain inactive for 20 
minutes, but I can assure you neither is the case. I tried different 
approaches, like invoking one after the other or "chaining" the SM 
command to the user login LI command (using the SM URL as the MU 
parameter for LI) but that didn't work either. Am I doing smth wrong / 
missing smth? Could you [b]please [/b]shed some light upon this??
 
Here you can see the URLs I used:
 
1) "classic" approach:
 
[b]first[/b]
 
https://apidemoeu.webex.com/apidemoeu/p.php?AT=LI&amp;WID=MY_USER&amp;PW=MY_PASS&amp;MU=GoBack&amp;BU=www.google.com.ar
 
[b]then[/b]
 
https://apidemoeu.webex.com/apidemoeu/m.php?AT=SM&amp;MN=TestMeeting&amp;YE=2012&amp;MO=10&amp;DA=26&amp;HO=15&amp;MI=30&amp;BU=www.google.com.ar&amp;LF=1
 
2) "chained" commands:
 
https://apidemoeu.webex.com/apidemoeu/p.php?AT=LI&amp;WID=MY_USER&amp;PW=MY_PASS&amp;MU=https://apidemoeu.webex.com/apidemoeu/m.php?AT=SM&amp;MN=TestMeeting&amp;YE=2012&amp;MO=10&amp;DA=26&amp;HO=15&amp;MI=30&amp;BU=www.google.com.ar&amp;LF=1
 
Thanks in advance</summary>
    <dc:creator>Anibal Bengardino</dc:creator>
    <dc:date>2012-10-26T04:16:16Z</dc:date>
  </entry>
</feed>

