cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1920
Views
1
Helpful
3
Replies

WebEx XML API LstsummaryMeeting returning "Sorry, no record found"

cwacker01
Level 1
Level 1

Hello,

I'm making a request with an account that I know is hosting many meetings starting in about 12 days, and I'm wondering why I keep getting "Sorry, no record found" with this request:

'<?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>

               <webExID>(webexID)</webExID>

               <password>(password)</password>

               <siteID>(siteID)</siteID>

               <partnerID>(partnerID)</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>1</startFrom>

               <maximumNum>5</maximumNum>

               <listMethod>OR</listMethod>

          </listControl>

          <order>

               <orderBy>STARTTIME</orderBy>

          </order>

          <dateScope>

          </dateScope>

     </bodyContent>

</body>

</serv:message>'

Obviously I filled in the securityContext with all the appropriate info.

My method of requesting is with the Python requests library like so:

     import requests

     r = requests.post("https://readingprograms.webex.com/WBXService/XMLService", data=xml, headers={'Content-Type:'application/xml'})

and the response:

'<?xml version="1.0" encoding="ISO-8859-1"?>\n<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>'

As you can see in the request, our site is https://readingprograms.webex.com/. It it not finding it because it's too early? Or did I make a different mistake?

1 Accepted Solution

Accepted Solutions

I've found my problem - the meetings I was looking for are actually Training Sessions, which requires a different request - "LstsummaryTrainingSession". Thank you for your response!

View solution in original post

3 Replies 3

kasutton
Cisco Employee
Cisco Employee

Hi Chris,

I was able to get results when using our admin account with your XML request. Which host account were you authenticating as?

Kasey

I've found my problem - the meetings I was looking for are actually Training Sessions, which requires a different request - "LstsummaryTrainingSession". Thank you for your response!

Chris,

Would you mind sharing the working python code? (without usernames/pwd's/sitenames/etc).

If you don't want to share publicly, you could send it to me directly to dirkjanu @ Google's email service


Tnx!
DJ

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: