cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14692
Views
0
Helpful
3
Replies

Where are the WebEx NBR (Video) API docs?

michael.luich
Level 1
Level 1

Everything leads to 404 Pages. I can't find any documentation.

Can someone point me in the right direction please?

1 Accepted Solution

Thank you for providing the exact link that is failing, it makes more sense now. The link to that file is broken and I am able to duplicate that 404. You can use the following PHP code as a minimalist example of sending a XML document to the XML Service and displaying the response data.

<?php

        header("Content-Type: text/xml");

        $sitename = "apidemoeu";        //Sitename is the subdomain of a WebEx URL. ex: sitename for https://apidemoeu.webex.com is apidemoeu

        $username = "username";

        $password = "password";

        $XML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";

        $XML .="<serv:message xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">";

        $XML .="        <header>";

        $XML .="                <securityContext>";

        $XML .="                        <webExID>$username</webExID>";

        $XML .="                        <password>$password</password>";

        $XML .="                        <siteName>$sitename</siteName>";

        $XML .="                        <returnAdditionalInfo>TRUE</returnAdditionalInfo>";

        $XML .="                </securityContext>";

        $XML .="        </header>";

        $XML .="        <body>";

        $XML .="                <bodyContent xsi:type=\"java:com.webex.service.binding.site.GetSite\">";

        $XML .="                </bodyContent>";

        $XML .="        </body>";

        $XML .="</serv:message>";

        $request = stream_context_create(array("http"=>array("method"=>"POST","header"=>"Content-Type:text/xml","content"=>$XML)));

        $response = file_get_contents("https://$sitename.webex.com/WBXService/XMLService", false, $request);

        echo $response;

?>

View solution in original post

3 Replies 3

michael.luich
Level 1
Level 1

I'm still getting a 404, error

https://developer.cisco.com/site/webex-developer/develop-test/xml-api/sample-code/

to:

https://d1nmyq4gcgsfi5.cloudfront.net/fileMedia/08795a6e-0dff-483d-a976-fedc98c2c95d/WebexAPISample.php

results in:

404 Not Found

  • Code: NoSuchKey
  • Message: The specified key does not exist.
  • Key: fileMedia/08795a6e-0dff-483d-a976-fedc98c2c95d/WebexAPISample.php
  • RequestId: 7B0FABB9A0369F14
  • HostId: FYy8JKvt8RFMBAsn/jv9k1gYcFF/fINK3I67fdAikqHfuj5fQYwFBRuuplfAYELpkhSIvikA4zg=

Thank you for providing the exact link that is failing, it makes more sense now. The link to that file is broken and I am able to duplicate that 404. You can use the following PHP code as a minimalist example of sending a XML document to the XML Service and displaying the response data.

<?php

        header("Content-Type: text/xml");

        $sitename = "apidemoeu";        //Sitename is the subdomain of a WebEx URL. ex: sitename for https://apidemoeu.webex.com is apidemoeu

        $username = "username";

        $password = "password";

        $XML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";

        $XML .="<serv:message xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">";

        $XML .="        <header>";

        $XML .="                <securityContext>";

        $XML .="                        <webExID>$username</webExID>";

        $XML .="                        <password>$password</password>";

        $XML .="                        <siteName>$sitename</siteName>";

        $XML .="                        <returnAdditionalInfo>TRUE</returnAdditionalInfo>";

        $XML .="                </securityContext>";

        $XML .="        </header>";

        $XML .="        <body>";

        $XML .="                <bodyContent xsi:type=\"java:com.webex.service.binding.site.GetSite\">";

        $XML .="                </bodyContent>";

        $XML .="        </body>";

        $XML .="</serv:message>";

        $request = stream_context_create(array("http"=>array("method"=>"POST","header"=>"Content-Type:text/xml","content"=>$XML)));

        $response = file_get_contents("https://$sitename.webex.com/WBXService/XMLService", false, $request);

        echo $response;

?>

nmorrow
Cisco Employee
Cisco Employee

Meetings API documentation can be found by browsing to http://www.webexdeveloper.com and following the drop down menus from Develop & Test to XML API, then XML API Reference or Sample Code. I am able to browse to these pages outside of the Cisco network currently. If you continue to experience 404s, please clear your browser cache and try again. If still failing, you may also want to try clearing your cookies. If you still have an issue, you will want to start troubleshooting probable network communication issues, such as bad proxy or firewall rules, or network outage.

Getting Started

Welcome to the Webex Community. This is your home to ask questions, share knowledge, and attend live webinars.