Depreciated: Reports: RunReportAsXhtmlRuns a new Report and returns the results in XHTML format (using local timezone dates)

See Also

Usage Notes

This method is depreciated, please use RunReport.

Example of Returned Data

<RunReportAsXhtml Success="0" Messages="reason for failure" />
<!-- or -->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" xmlns:vml="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="X-Identifier" content="" />
<meta name="X-User" content="#" />
<meta name="X-Report-Type" content="#" />
<meta name="X-Report-Schedule" content="#" />
<meta name="X-Account" content="#" />
<meta name="X-Report-Name" content="" />
<meta name="X-Report-Notes" content="" />
<meta name="X-Date-Run" content="yyyy-MM-dd HH:mm:ss.fff" />
<meta name="X-Date-Completed" content="yyyy-MM-dd HH:mm:ss.fff" />
<meta name="X-Date-Starting" content="yyyy-MM-dd HH:mm:ss.fff" />
<meta name="X-Date-Ending" content="yyyy-MM-dd HH:mm:ss.fff" />
<meta name="X-Param-[name]" content="additional parameter value" />
<!-- etc -->
<meta name="X-Results-Bounds" content="N# E# S# W#" />
<meta name="X-Size-[Totals|Summary|Breakdown]" content="#" />
<meta name="X-Filter-[Zones|Locations|Regions]" content="#" />
<title />
</head>
<body>
<div class="hi report [saved]">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
<div class="info notes">
<h4>
Notes
</h4>
<p />
</div>
<div class="info parameters">
<h4>
Parameters
</h4>
<dl>
<dt>
Starting Date Range
</dt>
<dd>
yyyy-MM-dd HH:mm:ss.fff
</dd>
<dt>
Ending Date Range
</dt>
<dd>
yyyy-MM-dd HH:mm:ss.fff
</dd>
<dt>
additional parameter name
</dt>
<dd>
additional parameter value
</dd>
<!-- etc -->
</dl>
</div>
<div class="info filters">
<h4>
Filter Type: [None|Inclusive|Exclusive]
</h4>
<div class="account">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
<div class="grp">
<div class="fleet">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
<div class="grp">
<div class="location">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
</div>
<div class="zone">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
</div>
<!-- etc -->
</div>
</div>
<!-- etc -->
</div>
</div>
<div class="country">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
<div class="info" />
<div class="grp">
<div class="province">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
<div class="info">
Province
</div>
</div>
<div class="state">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
<div class="info">
State
</div>
</div>
<!-- etc -->
</div>
</div>
<!-- etc -->
</div>
</div>
<table class="totals">
<caption>
<a herf="#toggle?totals">
<span class="hide">
Hide totals
</span>
<span class="show">
Show totals
</span>
</a>
<div>
# Rows
</div>
</caption>
<tbody>
<tr id="device#" class="odd">
<td class="index device">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
<div class="info">
<span>
ADDITIONAL TOTAL NAME: ADDITIONAL TOTAL VALUE
</span>
<span>
ADDITIONAL TOTAL NAME: ADDITIONAL TOTAL VALUE
</span>
<!-- etc -->
</div>
</td>
<td class="chart">
<div class="bar" style="width:#%;">
TOTAL NAME: TOTAL VALUE
</div>
</td>
<td class="num">
#
</td>
</tr>
<tr id="device#" class="even">
<td class="index device">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
<div class="info">
<span>
ADDITIONAL TOTAL NAME: ADDITIONAL TOTAL VALUE
</span>
<span>
ADDITIONAL TOTAL NAME: ADDITIONAL TOTAL VALUE
</span>
<!-- etc -->
</div>
</td>
<td class="chart">
<div class="bar" style="width:#%;">
TOTAL NAME: TOTAL VALUE
</div>
</td>
<td class="num">
#
</td>
</tr>
<!-- etc -->
</tbody>
</table>
<hr />
<div id="device#" class="hi device none">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
<div class="info accflt">
ACCOUNT NAME/FLEET NAME
</div>
<div class="info results">
No Results
</div>
</div>
<hr />
<div id="device#" class="hi device results">
<div class="icon" style="background-image:url(/)" />
<h3 class="name" />
<div class="info accflt">
ACCOUNT NAME/FLEET NAME
</div>
<table class="summary">
<caption>
<a herf="#toggle?summary#">
<span class="hide">
Hide summary
</span>
<span class="show">
Show summary
</span>
</a>
<div>
# Rows
</div>
</caption>
<thead>
<tr>
<th class="index num" />
<th class="" />
<th class="" />
<!-- etc -->
</tr>
</thead>
<tfoot>
<tr>
<td class="index num" />
<td class="" />
<td class="" />
<!-- etc -->
</tr>
</tfoot>
<tbody>
<tr id="start#" class="[other classes] odd">
<td class="index num">
#
</td>
<td class="" />
<td class="" />
<!-- etc -->
</tr>
<tr id="start#" class="[other classes] even">
<td class="index num">
#
</td>
<td class="" />
<td class="" />
<!-- etc -->
</tr>
<!-- etc -->
</tbody>
</table>
<table class="breakdown hidden">
<caption>
<a herf="#toggle?breakdown#">
<span class="hide">
Hide detailed breakdown
</span>
<span class="show">
Show detailed breakdown
</span>
</a>
<div>
# Rows
</div>
</caption>
<thead>
<tr>
<th class="index num" />
<th class="" />
<th class="" />
<!-- etc -->
</tr>
</thead>
<tfoot>
<tr>
<td class="index num" />
<td class="" />
<td class="" />
<!-- etc -->
</tr>
</tfoot>
<tbody>
<tr id="event#" class="[inactive|normal|alarm|track|bait|maintenance] [located|stopped|idling|moving|speeding] [n|ne|e|se|s|sw|w|nw] [old] odd start#">
<td class="index num">
#
</td>
<td class="" />
<td class="" />
<!-- etc -->
</tr>
<tr id="event#" class="[inactive|normal|alarm|track|bait|maintenance] [located|stopped|idling|moving|speeding] [n|ne|e|se|s|sw|w|nw] [old] event start#">
<td class="index num">
#
</td>
<td class="" />
<td class="" />
<!-- etc -->
</tr>
<!-- etc -->
</tbody>
</table>
</div>
<!-- etc -->
</body>
</html>

Test Method

ParameterValueTypeUsage
ReportTypeIDbyteIdentifier for the type of report
TargetsXmlstring 
StartingGMTdatetimeThe starting date/time range for the report
EndingGMTdatetimeThe ending date/time range for the report
ParametersXmlstring 
FiltersXmlstring 
ArchivebooleanIf true, the report is archived for later review
AccountIDint32When archiving, the Account under which this report is listed must be specified. If null, it will default to the session User's account.
Namestring 
Notesstring 
ReturnDatastringA string to represent the types of data to return.