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 Meeting Listings

Calling LsttrainingattendeeHistory to retrieve attendance information

Combination View Flat View Tree View
Threads [ Previous | Next ]
Here is my WebEx request (securityContext values obfuscated):

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.webex.com/schemas/2002/06/service http://www.webex.com/schemas/2002/06/service/service.xsd" xmlns:serv="http://www.webex.com/schemas/2002/06/service">
  <header>
    <securityContext>
      <webExID>.......</webExID>
      <password>.......</password>
      <siteName>.........</siteName>
      <partnerID>........</partnerID>
    </securityContext>
  </header>
  <body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <bodyContent xsi:type="java:com.webex.service.binding.history.LsttrainingattendeeHistory">
      <startTimeScope>
        <sessionStartTimeStart>05/22/2012 00:00:00</sessionStartTimeStart>
        <sessionStartTimeEnd>05/22/2012 00:00:00</sessionStartTimeEnd>
      </startTimeScope>
      <endTimeScope>
        <sessionEndTimeStart>05/23/2012 00:00:00</sessionEndTimeStart>
        <sessionEndTimeEnd>05/23/2012 00:00:00</sessionEndTimeEnd>
      </endTimeScope>
      <listControl>
        <startFrom>1</startFrom>
        <maximumNum>1</maximumNum>
        <listMethod>AND</listMethod>
      </listControl>
      <order>
        <orderBy>NAME</orderBy>
        <orderAD>ASC</orderAD>
      </order>
    </bodyContent>
  </body>
</serv:message>

 
I don't get any records back despite running an event and it appearing in the portal as Ended.
 
What am I doing wrong?
 
John

Hi,

Not sure but it might be because your 'sessionStartTimeStart' and 'sessionStartTimeEnd' are exactly the same which probably means that the search will only return sessions that have that exact start time and there are probably none.

Ben

Ooh - that seemed a good idea - and also change the listControl slightly (using OR instead of AND and upping the upper limit) thus:
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.webex.com/schemas/2002/06/service http://www.webex.com/schemas/2002/06/service/service.xsd" xmlns:serv="http://www.webex.com/schemas/2002/06/service">
<header>
<securityContext>
<webExID>....</webExID>
<password>....</password>
<siteName>...</siteName>
<partnerID>...</partnerID>
</securityContext>
</header>
<body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<bodyContent xsi:type="java:com.webex.service.binding.history.LsttrainingattendeeHistory">
<startTimeScope>
<sessionStartTimeStart>05/22/2012 00:00:00</sessionStartTimeStart>
<sessionStartTimeEnd>05/23/2012 00:00:00</sessionStartTimeEnd>
</startTimeScope>
<endTimeScope>
<sessionEndTimeStart>05/22/2012 00:00:00</sessionEndTimeStart>
<sessionEndTimeEnd>05/23/2012 00:00:00</sessionEndTimeEnd>
</endTimeScope>
<listControl>
<startFrom>1</startFrom>
<maximumNum>100</maximumNum>
<listMethod>OR</listMethod>
</listControl>
<order>
<orderBy>NAME</orderBy>
<orderAD>ASC</orderAD>
</order>
</bodyContent>
</body>
</serv:message>

But sadly still nothing.

Thanks for the prompt reply, though.

J.

I would try leaving out the 'endTimeScope' options completely and just searching on 'startTimeScope' to see if that makes a difference. Also try widening the 'startTimeScope' range to make sure you are definitely including the start time of the session that you know exists (or leave the 'startTimeScope' range out completely as well to search for all sessions)

If that still doesn't produce any results, are you sure there were any attendees on the session(s)?

Finally, are you sure you are using an account that has access to the training session(s) that you are searching for?

Ben

Sadly, no cigar.

Cut straight to the chase and left everything out except the listControl element. Now losing the will to liv...

Yes I am using the same user in the securityContext element but I know you gotta ask...

Anyway, here is the output:

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

Any ideas? Are you employed by WebEx - if so, could we move this conversation to email?

Regards,

J.

Sorry forgot other question, yes there was 1 (my boss!) attendee.

No I'm not a WebEx employee - just someone who happened to see your message and has experienced similar issues in my dealings with the WebEx APIs in the past.

The only other thing I can think of is that perhaps WebEx doesn't consider the session that you're searching for to be part of its history yet. The session you're searching for is fairly recent and I'm not sure how this all works under the hood but I know there were times when I was trying to find sessions which had recently finished which didn't seem to appear in the history until some time after the event itself.

Just a thought.

Ben

Well many thankyous Ben for trying to come to my rescue!

It's been more than 24 hours since the WebEx session ended which I would have thought was ample time to record this information. One more point - I'm using the test servers, in case it makes any difference.

J

Hi John,

Check to see if reporting data is showing up in your account profile. If you login to the WebEx page, then choose My Webex -> My Reports, see if the data is there. If you are part of the gold developer plan and have a development site that ends in -dev, it's possible that the site is not correctly configured for reporting. If have a -dev site, and don't see any data in My Reports, then call into tech support and have them open a ticket to correctly map your site for reporting.

Thank you
-Kingsley Lewis

Thanks Kingsley.

Now escalating this to tech support.

J.

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.