Using Connect Enterprise Web Services |
|||
| Meetings > Calculate meeting usage | |||
Once you create users and Acrobat Connect Professional meetings, you may need to calculate meeting usage. Meeting usage is often calculated in one of these ways:
The time a user spends in a meeting is measured by a transaction, which is the interaction between a principal and a SCO (in this case, between a user and a meeting). The date and time a transaction begins and ends are returned by report-bulk-consolidated-transactions.
https://example.com/api/xml?action=report-bulk-consolidated-transactions
&filter-type=meeting&filter-gt-date-created=2006-07-01
row elements in the response for date-created and date-closed:<row transaction-id="2007071217" sco-id="2007071193" type="meeting" principal-id="2007003123" score="0"> <name>Thursday Meeting</name> <url>/thursday/</url> <login>jazz@doe.com</login> <user-name>jazzwayjazz doe</user-name> <status>completed</status> <date-created>2006-08-03T12:33:48.547-07:00</date-created> <date-closed>2006-08-03T12:34:04.093-07:00</date-closed> </row>
One way to do this (in Java™) is to write a utility method that converts the ISO 8601 datetime values returned in the response to a GregorianCalendar object. Then, convert each GregorianCalendar date to milliseconds, calculate the difference between the creation and closing times, and convert the difference to minutes.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/breeze/6/xml_api/03a_mee9.htm