Depreciated: Reports: RunReportAsXmlRuns a new Report and returns the results in XML format (using UTC timezone dates)

See Also

Usage Notes

This method is depreciated, please use RunReport.

Example of Returned Data

<Report Identifier="" UserID="#" UserName="" ScheduleID="#" ScheduleName="" GMTAdded="yyyy-MM-dd HH:mm:ss.fff" GMTCompleted="yyyy-MM-dd HH:mm:ss.fff" Archived="?" Name="" AccountID="#" Notes="">
<ReportType ID="#" Name="">
description
</ReportType>
<Parameters StartDate="yyyy-MM-dd HH:mm:ss.fff" EndDate="yyyy-MM-dd HH:mm:ss.fff">
<Parameter Name="" other="attributes" />
<Parameter Name="" other="attributes" />
<!-- etc -->
</Parameters>
<Targets>
<Raw>
<account>
#
</account>
<fleet>
#
</fleet>
<device>
#
</device>
<!-- etc -->
</Raw>
<Account ID="#" Name="" IconSrc="">
<Fleet ID="#" Name="" IconSrc="">
<Device ID="#" Name="" IconSrc="" />
<!-- etc -->
</Fleet>
</Account>
<!-- etc -->
</Targets>
<Filters Type="">
<Raw>
<account type="">
#
</account>
<fleet type="">
#
</fleet>
<zone color="" />
<zone>
#
</zone>
<location>
#
</location>
<!-- etc -->
</Raw>
<Account ID="#" Name="" IconSrc="">
<Fleet ID="#" Name="" IconSrc="">
<Zone ID="#" Name="" IconSrc="" />
<!-- etc -->
</Fleet>
</Account>
<!-- etc -->
<Country Code="" Name="">
<Province Code="" Name="" />
<State Code="" Name="" />
<!-- etc -->
</Country>
</Filters>
<Results TotalsRows="#" SummaryRows="#" BreakdownRows="#">
<Breakdown>
<Row DeviceID="#" other="attributes" />
<Row DeviceID="#" other="attributes" />
<!-- etc -->
</Breakdown>
<Summary>
<Row DeviceID="#" other="attributes" />
<Row DeviceID="#" other="attributes" />
<!-- etc -->
</Summary>
<Totals>
<Row DeviceID="#" other="attributes" />
<Row DeviceID="#" other="attributes" />
<!-- etc -->
</Totals>
</Results>
</Report>

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.