cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1314
Views
0
Helpful
1
Replies

How List all scheduled event from site XML API

TharmaKS28556
Level 1
Level 1

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

nmorrow
Cisco Employee
Cisco Employee

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.