cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
17043
Views
5
Helpful
18
Replies

How to find Site id and partner id in free trail.

DevGuru1993
Level 1
Level 1

Hi,

    I am using webex free trail account. I am now in development of an application that would make xml request using xml api in webex. Inorder to do that i need site id and partner id to construct the xml request file. Can anybody help me to find the site id of free trail webex meeting site.

18 Replies 18

perminder_jolly
Level 1
Level 1

Hi Guys,

I am trying to run this sample code : https://developer.cisco.com/fileMedia/download/74a70dc3-7a64-449c-af9b-2ae7b7076431

Not sure what site id and partnerID I would need to place here and also not sure from where I can get the Webex username and Webex password? Can someone please help me out so that at least I can run this example code?

That old sample is no longer functional due to changes, try this one:

<?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;

?>

Username/Password are the login credentials used to login to your WebEx Site.

Hi Ryan,

Thanks for the response. Really appreciate it!

Sorry as I am new to webex devleopment; can you please let me know how I could get my WebEx site and then username/password for the same? I am using sandbox at the moment and I just need to check the sample code at the moment. Later I would need to do a complete integration for my client.

Regards,

VJ

The credentials are the same credentials provided to you for your sandbox, they will be the same credentials that you use in your webbrowser.. Obtaining a site of your own requires interaction with Sales, if you signup for our Gold Developer Program (GDP) then they will provide you with your own site, on our test cluster, with full administrative access.