Please note: These WebEx forums have replaced the earlier site forums. All the previous threads and posts have been replicated here, and if you subscribed to the previous forums, please re-subscribe. Thank you.
« Back to Usage Reporting

How to use XML API LstsummaryEvent

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
If I login to https://${siteName}.webex.com/ as the user ${webExID}, I can see many Events, past and future. However, when I submit the following request to https://${siteName}.webex.com/WBXService/XMLService:
 
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<securityContext>
<webExID>${webExID}</webExID>
<password>XXXXX</password>
<siteName>${siteName}</siteName>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.event.LstsummaryEvent">
    <listControl>
        <startFrom>1</startFrom>
        <maximumNum>10</maximumNum>
    </listControl>
    <order>
        <orderBy>HOSTWEBEXID</orderBy>
        <orderAD>ASC</orderAD>
    </order>
    <dateScope>
        <startDateStart>05/22/2012 00:00:00</startDateStart>
        <timeZoneID>7</timeZoneID>
    </dateScope>
</bodyContent>
</body>
</serv:message>
 
I get the 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:event="http://www.webex.com/schemas/2002/06/service/event"><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 missing?

The user ${webExID} had not been granted access to any of the existing Events by the Site Admin for ${siteName}. Once that was done, the request returned plenty of Events.

Create a Cisco account today and gain access across all Cisco Collaboration Developer sites.

 

Follow the WebEx Developer program on Twitter for the latest industry and WebEx Meetings related information.