You can use this command file to retrieve various types information. You can use it to retrieve a list of queries, reports, or global parameters, and the Common Event Grammar (CEG). The getObject command uses a qualifier or argument named “type” to determine what data to return to the caller as in this example:
https://ELMSERVER:5250/spin/calmapi/getObject.csp?type=type&tag=tagname1&tag=tagnamen&taglogic=OR|AND
The following list provides a summary of the types of data returned using the variations of this command:
Returns an XML string showing all the queries in CA User Activity Reporting Module. getQueryList supports many filtering parameters, which let you select and include proper query names in your API calls.
Returns an XML string showing all the reports in CA User Activity Reporting Module. getReportList supports many filtering parameters, which let you select and include proper report names in your API calls.
Returns the Common Event Grammar (CEG) in XML format. You select CEG terms you want to include in API call filtering.
Returns the ideal models defined in the CEG. You select broad product area terms you want to include in API call filtering.
Returns the available CEG fields used in Incidents generated by event correlation.
Returns the Common Event Grammar (CEG) in XML format for both event and incident fields. You select CEG terms you want to include in API call filtering.
Returns the global settings for the CA User Activity Reporting Module server against which the command is run. You can understand what filtering is already in place for CA User Activity Reporting Module queries so you can build effective API call filters.
Returns a list of CA User Activity Reporting Module servers. This command is useful in a federated environment, because it allows you to target the parent or child servers you want to query.
Gets a list of time zones that can be used as arguments in running queries.
Returns the ELM version, which is the same as the version of the APIs, useful for diagnostic purposes.
Returns the metadata for a report or query given a specific object id. Metadata is all the formatting data that governs how a report or query is presented. Use the metadata when you must use the runQuery call to acquire CA User Activity Reporting Module data for an application that cannot embed query or report viewer directly.
Returns the HTML containing the query viewer component preloaded with a specified query.
Returns the HTML containing the report viewer component preloaded with a specified report.
All the GetObject commands, with the exception of getQueryViewer and getReportViewer, return an error if there is no authenticated session in the API command:
Failed Response: <?xml version="1.0" encoding="UTF-8" ?> <Result> <Value>false</Value> <Description> User is not logged in</Description> </Result>
In the preceding example, the result value was “false” which indicates a failure, and the description contains the reason, in this case: “User is not logged in”.
Copyright © 2013 CA.
All rights reserved.
|
|