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

LstmeetingusageHistory using HostWebExID and Time Scope

kseraphine
Level 5
Level 5

I'm just starting to learn the XML API by collecting some report data using the history service. 

If I just include start and end times in my request, I get the results I'd expect. 

If I just include a hostWebExID (without start/stop times), I get the results I'd expect.

However, if I include both the hostWebExID and start/stop times, It appears the host is ignored and I get the same results as if I only included the start/stop times (none of which were hosted by the user specified).

Is this the expected behavior (using API ver 10.0.0 release SP11)?

Here's my request for with just start/stop time:

<?xml version="1.0" encoding="UTF-8"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <header>

  <securityContext>

  <webExID>USER</webExID>

  <sessionTicket>XXXX</sessionTicket>

  <siteID>12345678</siteID>

  </securityContext>

  </header>

  <body>

  <bodyContent xsi:type="java:com.webex.service.binding.history.LstmeetingusageHistory">

  <startTimeScope>

  <sessionStartTimeStart>02/1/2017 00:00:00</sessionStartTimeStart>

  <sessionStartTimeEnd>02/21/2017 00:00:00</sessionStartTimeEnd>

  </startTimeScope>

  <endTimeScope>

  <sessionEndTimeStart>02/1/2017 23:59:59</sessionEndTimeStart>

  <sessionEndTimeEnd>02/21/2017 23:59:59</sessionEndTimeEnd>

  </endTimeScope>

  <listControl>

  <serv:startFrom>1</serv:startFrom>

  <serv:maximumNum>10</serv:maximumNum>

  <serv:listMethod>OR</serv:listMethod>

  </listControl>

  <order>

  <orderBy>CONFNAME</orderBy>

  <orderAD>ASC</orderAD>

  </order>

  </bodyContent>

  </body>

</serv:message>

Here's my request with the hostWebExID added

<?xml version="1.0" encoding="UTF-8"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <header>

  <securityContext>

  <webExID>USER</webExID>

  <sessionTicket>XXXX</sessionTicket>

  <siteID>12345678</siteID>

  </securityContext>

  </header>

  <body>

  <bodyContent xsi:type="java:com.webex.service.binding.history.LstmeetingusageHistory">

  <startTimeScope>

  <sessionStartTimeStart>02/1/2017 00:00:00</sessionStartTimeStart>

  <sessionStartTimeEnd>02/21/2017 00:00:00</sessionStartTimeEnd>

  </startTimeScope>

  <endTimeScope>

  <sessionEndTimeStart>02/1/2017 23:59:59</sessionEndTimeStart>

  <sessionEndTimeEnd>02/21/2017 23:59:59</sessionEndTimeEnd>

  </endTimeScope>

  <hostWebExID>2971</hostWebExID>

  <listControl>

  <serv:startFrom>1</serv:startFrom>

  <serv:maximumNum>10</serv:maximumNum>

  <serv:listMethod>OR</serv:listMethod>

  </listControl>

  <order>

  <orderBy>CONFNAME</orderBy>

  <orderAD>ASC</orderAD>

  </order>

  </bodyContent>

  </body>

</serv:message>

1 Accepted Solution

Accepted Solutions

kseraphine
Level 5
Level 5

A more careful look at what I was doing revealed that <listMethod>AND</listMethod> solved the problem

View solution in original post

1 Reply 1

kseraphine
Level 5
Level 5

A more careful look at what I was doing revealed that <listMethod>AND</listMethod> solved the problem

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: