cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
359
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: DongJie Wang on 03-09-2013 02:30:59 PM
I signup a account ,
webexid:wangdongjie0101password:j19890411

I want to test xml api for get all meeting list,but it's failure.
My Request XML is this:
<?xml version="1.0" encoding="UTF-8"?><serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:serv="http://www.webex.com/schemas/2002/06/service" xsi:schemaLocation="http://www.webex.com/schemas/2002/06/service http://www.webex.com/schemas/2002/06/service/service.xsd"><header><securityContext><webExID>qqqwangdongjie0101</webExID><password>j198904111</password><siteID>243585</siteID><partnerID>g0webx!</partnerID></securityContext></header><body><bodyContent xsi:type="java:com.webex.service.binding.meeting.LstsummaryMeeting"><listControl><startFrom>1</startFrom><maximumNum>10</maximumNum><listMethod>OR</listMethod></listControl><order><orderBy>HOSTWEBEXID</orderBy><orderAD>ASC</orderAD><orderBy>CONFNAME</orderBy><orderAD>ASC</orderAD><orderBy>STARTTIME</orderBy><orderAD>ASC</orderAD></order></bodyContent></body></serv:message>
But it's Response is this:
<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting" xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee">  <serv:header>    <serv:response>      <serv:result>FAILURE</serv:result>      <serv:reason>The site is not active</serv:reason>      <serv:gsbstatus>PRIMARY</serv:gsbstatus>      <serv:exceptionid>010003</serv:exceptionid>    </serv:response>  </serv:header>  <serv:body>    <serv:bodycontent>  </serv:bodycontent></serv:body></serv:message>

Subject: RE: I want to test web xml api for get meeting list
Replied by: Kingsley Lewis on 03-09-2013 05:03:16 PM
Hi DongJie,

We had to migrate our demo site this weekend, and the unfortunate side effect of this is a new siteID.   We are in the process of getting this changed on our development site to reflect the new value. Can you please change the siteID value to 690319.

Subject: RE: I want to test web xml api for get meeting list
Replied by: DongJie Wang on 03-09-2013 11:28:12 PM
Kingsley Lewis:
Hi DongJie,

We had to migrate our demo site this weekend, and the unfortunate side effect of this is a new siteID.   We are in the process of getting this changed on our development site to reflect the new value. Can you please change the siteID value to 690319.


SUCCESS!

Thank you so much!

Subject: RE: I want to test web xml api for get meeting list
Replied by: Troy Porter on 10-09-2013 10:05:00 AM
Kingsley Lewis:
Hi DongJie,

We had to migrate our demo site this weekend, and the unfortunate side effect of this is a new siteID.   We are in the process of getting this changed on our development site to reflect the new value. Can you please change the siteID value to 690319.


Hi Kingsley,
I am doing a similar test with no success.  Please see my XML below:

REQ:
<?xml
version="1.0" encoding="UTF-8"?><serv:message
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:serv="http://www.webex.com/schemas/2002/06/service"><header><securityContext><webExID>ifstp</webExID><password>{{MYPASS}}</password><siteID>690319</siteID><partnerID>g0webx!</partnerID></securityContext></header><body><bodyContent
xsi:type="java:com.webex.service.binding.meeting.LstsummaryMeeting"
xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting"><listControl><startFrom/><maximumNum>5</maximumNum></listControl><order><orderBy>STARTTIME</orderBy></order><dateScope></dateScope></bodyContent></body></serv:message>


RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<serv:message
xmlns:serv="http://www.webex.com/schemas/2002/06/service"
xmlns:com="http://www.webex.com/schemas/2002/06/common"
xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting"
xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee"><serv:header><serv:response><serv:result>FAILURE</serv:result><serv:reason>Sorry,
no record
found</serv:reason><serv:gsbStatus>PRIMARY</serv:gsbStatus><serv:exceptionID>000015</serv:exceptionID></serv:response></serv:header><serv:body><serv:bodyContent/></serv:body></serv:message>


What am I doing wrong?

Subject: RE: I want to test web xml api for get meeting list
Replied by: Nathan Morrow on 10-09-2013 11:44:39 AM
Hello,

     No records found simply means that there were no results for your search. In this case, I would guess you have not scheduled any Meetings on the site. LstsummaryMeeting will only return a schedule of your own Meeting Center sessions if you are authenticating as a host level account, which is the only available account type on the API demo site. 

Subject: RE: I want to test web xml api for get meeting list
Replied by: Troy Porter on 10-09-2013 12:01:02 PM
Ok I get what youre saying.  How or where would I go to be able to schedule a meeting using this 'ifstp' account??

Subject: RE: I want to test web xml api for get meeting list
Replied by: Troy Porter on 10-09-2013 12:20:14 PM
Nathan Morrow:
... or by browsing to apidemoeu.webex.com directly and logging in with the same credentials you use in your XML request.

Awesome! i'm good to go now.  Thanks!

Subject: RE: I want to test web xml api for get meeting list
Replied by: Nathan Morrow on 10-09-2013 12:08:06 PM
You can schedule a meeting using the CreateMeeting XML request, or by browsing to apidemoeu.webex.com directly and logging in with the same credentials you use in your XML request.

Subject: RE: I want to test web xml api for get meeting list
Replied by: Troy Porter on 12-09-2013 12:26:13 PM
HI Nathan,
In the reference doc the example for creating a meeting attendee is as follows:



1) They talk about the meeting identifier but its no where to be found in the XML string itself
2) what is sessionKey and where would I get that?

Subject: RE: I want to test web xml api for get meeting list
Replied by: Nathan Morrow on 12-09-2013 01:06:50 PM
Hello,

     Meetings are identified by their session key value, which is a unique 9 digit value generated by WebEx when you schedule your meeting. If scheduling via API, the session key / meeting key is returned in the response. session key is also returned by LstsummarySession, or displayed on the WebEx site when looking at the meeting details.

Subject: RE: I want to test web xml api for get meeting list
Replied by: Troy Porter on 12-09-2013 01:21:03 PM
Nathan Morrow:
Hello,

     Meetings are identified by their session key value, which is a unique 9 digit value generated by WebEx when you schedule your meeting. If scheduling via API, the session key / meeting key is returned in the response. session key is also returned by LstsummarySession, or displayed on the WebEx site when looking at the meeting details.

Nathan can you direct me where on the console to find it because I have been searching:



Subject: RE: I want to test web xml api for get meeting list
Replied by: Nathan Morrow on 12-09-2013 01:43:31 PM
For Event Center, it is called the Event number. The meeting key, event number, etc, are all universally known as session key.

Subject: RE: I want to test web xml api for get meeting list
Replied by: Troy Porter on 12-09-2013 01:48:01 PM
Nathan Morrow:
For Event Center, it is called the Event number. The meeting key, event number, etc, are all universally known as session key.

Ooooooh!! Thanks again.

Subject: RE: I want to test web xml api for get meeting list
Replied by: Troy Porter on 17-09-2013 03:37:19 PM
Nathan,
Still trying to add an attendee and according to my response
XML it seems to work but when I try to view the registrants under
"MANAGE REGISTRATIONS" i am not seeing any entries.  Am I using the
correct service?

REQUEST
----------------
<?xml
version="1.0" encoding="UTF-8"?><serv:message
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:serv="http://www.webex.com/schemas/2002/06/service"><header><securityContext><webExID>ifstp</webExID><password>W3b3x123</password><siteID>690319</siteID><partnerID>g0webx!</partnerID></securityContext></header><body><bodyContent

xsi:type="java:com.webex.service.binding.attendee.CreateMeetingAttendee"
xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting">
    <person>
        <name>John Doe</name>
        <email>tporter@dtinc.com</email>
        <type>VISITOR</type>
    </person>
    <role>ATTENDEE</role>
    <sessionKey>629989451</sessionKey>
</bodyContent>
</body>
</serv:message>


RESPONSE
----------------
HTTP/1.1 200 OK
Date: Tue, 17 Sep 2013 19:36:19 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/xml;charset=UTF-8
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<serv:message
xmlns:serv="http://www.webex.com/schemas/2002/06/service"
xmlns:com="http://www.webex.com/schemas/2002/06/common"
xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee"><serv:header><serv:response><serv:result>SUCCESS</serv:result><serv:gsbStatus>PRIMARY</serv:gsbStatus></serv:response></serv:header><serv:body><serv:bodyContent
xsi:type="att:createMeetingAttendeeResponse"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><att:attendeeId>1630060672</att:attendeeId></serv:bodyContent></serv:body></serv:message>

Subject: RE: I want to test web xml api for get meeting list
Replied by: Nathan Morrow on 17-09-2013 03:47:39 PM
Hello,

     You need to add <joinStatus>ACCEPT</joinStatus> to trigger registration. Without this, CreateMeetingAttendee only invites the attendee. Registration must also be enabled for the meeting.
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:

Quick Links