cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

If your Cloud Collaboration question is not answered quickly, please email devsupport@webex.com for additional help

123
Views
0
Helpful
1
Replies
Highlighted
Beginner

How List all scheduled event from site XML API

Hi,

 

I have tried to get all events from site using XML API using below code,

 

string destinationUrl = "https://geewiz.my.webex.com/WBXService/XMLService";

 

string requestXml ="<?xml version="1.0" encoding="ISO-8859-1"?>
<serv:message
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:serv="http://www.webex.com/schemas/2002/06/service">
<header>
<securityContext>
<siteName>geewiz</siteName>
<email>xxxx</email>
<password>Password@1234</password>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.event.lstsummaryEvent">

</bodyContent>
</body>
</serv:message>";

 

But it always return below output,

"<?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">
<serv:header>
<serv:response>
<serv:result>FAILURE</serv:result>
<serv:reason>Failed to get SiteUrl</serv:reason>
<serv:gsbStatus>PRIMARY</serv:gsbStatus>
<serv:exceptionID>010000</serv:exceptionID></serv:response>
</serv:header>
<serv:body>
</serv:body>
</serv:message>"

1 REPLY 1
Cisco Employee

Re: How List all scheduled event from site XML API

Hello,

 

     siteName value should be the whole subdomain, or geewiz.my in your case. Failed to get siteUrl only means that geewiz.webex.com was not a valid site when attempting to resolve the siteName as provided.

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards