Get Report Response Attributes
The getReport operation returns a tabular set of rows and columns similar to the UI-based report result.
Note: When the target report is a summary report, an extra column LLDetailTokenRef is added to columnNames and extra detail tokens are added to each record in records accordingly.
The attributes of a LogLogicReport are:
Attribute | Description | Type |
---|---|---|
errorCode | Error code for the query failure. | Number |
reportName | Name of the report. | String |
startTime | Start time for the report query. | Date |
endTime | End time for the report query. | Date |
numberofColumnsPerRow | Number of columns in each row in the result set. | Number |
columnNames | A structure containing:
columnCount—The number of columns in the report. columns—An array of Strings containing the name of each column in the result set. |
complexType |
records | A tabular structure containing the result set. See the Records table for additional information on the records attribute.
The records attribute contains the following: recordCount—Number of rows returned in this result set. (Number) theRecords—Array of “records”. Each element in the array contains an array of strings representing the column values. (Array) |
complexType |
Example
SOAP response for Get Report Response Attributes:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header/> <soapenv:Body> <ns:getReportResponse xmlns:ns="ReportService"> <ns:return xsi:type="ax225:ReportResultSet" xmlns:ax225="http://report.services.logapp.loglogic.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ax225:columnNames xsi:type="ax225:ReportColumns"> <ax225:columnCount>5</ax225:columnCount> <ax225:columns>Search Filter Name</ax225:columns> <ax225:columns>Description</ax225:columns> <ax225:columns>Search Terms</ax225:columns> <ax225:columns>Count</ax225:columns> <ax225:columns>LLDetailTokenRef</ax225:columns> </ax225:columnNames> <ax225:endTime>2019-03-12T16:38:59.000-07:00</ax225:endTime> <ax225:errorCause>0</ax225:errorCause> <ax225:errorCode>0</ax225:errorCode> <ax225:records xsi:type="ax225:ReportRecords"> <ax225:recordCount>1</ax225:recordCount> <ax225:theRecords xsi:type="ax225:Record"> <ax225:columnValues>sf1</ax225:columnValues> <ax225:columnValues/> <ax225:columnValues>logapp</ax225:columnValues> <ax225:columnValues>8474</ax225:columnValues> <ax225:columnValues>U2VhcmNoRXhwcmVzc2lvbkhpdHMsQWxsLDIsZnVsbFRleHRTcmNoQ3JpdGVyaWEsbG9nYXBwLHRvdGFsQ291bnQsODQ3NCxleHByZXNzaW9uLGZ1bGxUZXh0U3JjaENyaXRlcmlhLGRldmljZVR5cGUsYWxsLGluZGV4UjE=</ax225:columnValues> </ax225:theRecords> </ax225:records> <ax225:reportName>indexR1</ax225:reportName> <ax225:startTime>2019-03-12T15:38:59.000-07:00</ax225:startTime> </ns:return> </ns:getReportResponse> </soapenv:Body> </soapenv:Envelope>
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.