cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
16374
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.

1 Accepted Solution

Accepted Solutions

Geevarghese Cheria
Cisco Employee
Cisco Employee

Hi Guruprasath,

   I think you need to Contact your WebEx Web Conferencing Account Manager (CSM) for getting the Site id and Partner id.

Refer - https://developer.cisco.com/site/collaboration/webex/webex-developer/faqs/xml-api/

However, WebEx is kind enough to allow anyone to test out their API on a shared sandbox site (https://apidemoeu.webex.com) without any costs before deciding whether their services really suits your business needs and requirements. Do note that site admin privileges will not be granted, hence you will be limited to APIs that do not require admin level access.

Reference -Hands on WebEx XML API in ASP.NET | adorr.net

Thanks and Regards,

Geevarghese

View solution in original post

18 Replies 18

Geevarghese Cheria
Cisco Employee
Cisco Employee

Hi Guruprasath,

   I think you need to Contact your WebEx Web Conferencing Account Manager (CSM) for getting the Site id and Partner id.

Refer - https://developer.cisco.com/site/collaboration/webex/webex-developer/faqs/xml-api/

However, WebEx is kind enough to allow anyone to test out their API on a shared sandbox site (https://apidemoeu.webex.com) without any costs before deciding whether their services really suits your business needs and requirements. Do note that site admin privileges will not be granted, hence you will be limited to APIs that do not require admin level access.

Reference -Hands on WebEx XML API in ASP.NET | adorr.net

Thanks and Regards,

Geevarghese

haiyuwang
Level 1
Level 1

Hi Guruprasath,

I am sorry to trouble you that i wonder if you have got your site id and partner id and how you got it?

( I am also using webex free trail account)

Thanks in advance,

Haiyuan Wang.

Hello Haiyuan,

We are actually switching over to <siteName> in the somewhat near future in place of <siteID> and <partnerID>, so you can simply remove the latter two and replace with <siteName>apidemoeu</siteName> (if you end up using the API for another WebEx site, the value you would enter there would be in the "sitename" spot in the example URL below:

https://SITENAME.webex.com

PLEASE NOTE: This is only for the developer sandbox site (apidemoeu.webex.com) and branded corporate WebEx sites. The true free trial site (meetings.webex.com & meetingsln.webex.com) do not support the WebEx APIs.

Hope this helps.

Kasey

Thanks very much Kasey!

If you mean I could replace the

in XML api like the screen shot as attachment .

Thanks ,

Haiyuan Wang.

Hi Haiyuan,

Yes, if using that screenshot as an example, just replace <partnerID></partnerID> with <siteName></siteName>. Again, to be clear, this is only for the demo site and paid WebEx sites, not the free trial/pay per use sites. Hope that makes sense. Let me know if you have any other questions on this. Thanks!

Example securityContext:

<securityContext>
      <webExID>USERNAME</webExID>
      <password>PASSWORD</password>
      <siteName>SITENAME</siteName>
</securityContext>

Kasey

It's very kind of you for this info which helps me too much!

Thanks Kasey!I will try this with a paid Webex site.

Regards ,

Haiyuan Wang.

Hi Kasey,

I got status* 302* when I send post request with String requestXML as your

advice as below:

Example securityContext:

""+

  • "<siteName>siteName</siteName>"+*

  • "<webExID>username</webExID>"+*

  • "<password>password</password>"+*

"";

and I sent it to String xmlServerURL = "https://siteName.webex.com/meet/

username";And my account is a paid account.

If should I use String xmlServerURL = "https://siteName.

webex.com/WBXService/XMLService ?

Regards,

Haiyuan Wang.

On Thu, Nov 19, 2015 at 9:57 AM, Haiyuan Wang <haiyuwang@tibco-support.com>

Hi Haiyuan,

You should POST to https://siteName.webex.com/WBXService/XMLService.

The API will accept a SAML assertion if your site is configured with Single Sign On. What's the problem you're experiencing?

Hi Kasey,

I found someone said he had "wrote a tool to open WebEx" with *only site

username and password*(without SSO),which is related to

https://communities.cisco.com/docs/DOC-49869 and screenshot as follow:

I wonder if Webex provide an api for develpers to log in to Webex server

with only username and password?

Thanks, Haiyuan.

Hi Haiyuan,

A Site Administrator can still log into the admin tool (sitename.webex.com/admin) and authenticate in the securityContext of XML requests with their username/password, but any hosts would need to authenticate via SSO.

Kasey

Hi Kasey,

I feel so sorry to reply you till now as I am just back from leave.

Also I wish you a happy Thanksgiving Day!

Now I found the getloginTicket apimeets my need and now my application

progarm works , but it seems that I did not authenticate via SSO.

Thanks,

Haiyuan.

Hi Kasey, I met another puzzle is that, I use this XML api to "get meeting attendees".(this api ia related to https://developer.cisco.com/site/webex-developer/develop-test/xml-api/xml-api-reference/)

<?xml version="1.0" encoding="ISO-8859-1"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <header>
        <securityContext>
            <webExID>hostid</webExID>
            <password>hostpassword</password>
            <siteID>0000</siteID>
            <partnerID>9999</partnerID>
            <email>johnsmith@xyz.com</email>
        </securityContext>
    </header>
    <body>
        <bodyContent
            xsi:type="java:com.webex.service.binding.attendee.LstMeetingAttendee">
            <meetingKey>82679427</meetingKey>
        </bodyContent>
    </body>
</serv:message>
(Of cource I repalce the partnerId and siteId with sitaName)  The question is:  
1.After request this xml api to https://siteName.webex.com/WBXService/XMLService,Only got the attendees which had been invited by sending email even though they had not attended my meeting.But couldn't get the attendees which had attended my meeting by click the meeting url. How can I get the attendees had attended my meeting by clicking the meeting url?     
 Whether should I change to use other APIs?
Thanks in advance!
Thanks, Haiyuan Wang.

Hi Kasey,

Sorry for trouble you once and again, Now I am studying on WebEx XML api

when met some issues.

At first the doc said API will accept a SAML assertion in place of a *user

password*(related to Webex authenticateuser xml api

.

Looking forword to your reply!

Regards,

Haiyuan.

haiyuwang
Level 1
Level 1

I met a puzzle is that, I use this XML api to "get meeting attendees".(this api ia related to https://developer.cisco.com/site/webex-developer/develop-test/xml-api/xml-api-reference/)

<?xml version="1.0" encoding="ISO-8859-1"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <header>
        <securityContext>
            <webExID>hostid</webExID>
            <password>hostpassword</password>
            <siteID>0000</siteID>
            <partnerID>9999</partnerID>
            <email>johnsmith@xyz.com</email>
        </securityContext>
    </header>
    <body>
        <bodyContent
            xsi:type="java:com.webex.service.binding.attendee.LstMeetingAttendee">
            <meetingKey>82679427</meetingKey>
        </bodyContent>
    </body>
</serv:message>
(Of cource I repalce the partnerId and siteId with sitaName)  I have two questions: 1.I request with this xml api to https://siteName.webex.com/WBXService/XMLService; Only got the attendees which had been invited by mail even though they had not attended my meeting.But couldn't get the attendees which had attended my meeting by click the meeting url. How can I get the attendees attending my meeting by clicking the meeting url?  
 2. As you know,the meetingKey is changeless and static to a specific user.but a user is able to host not only one meeting in a while. Could I get a specific meeting attendees? Whether should I change to another API?
Thanks in advance!
Thanks, Haiyuan Wang.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: