A Report List request returns report information for reports that are assigned or accessible to the user ID in the Host Output Management product. If the user ID can view only a particular report, only information for that report gets retrieved.
Userid
Specifies the user ID associated with the request. The userid specifies a user ID defined to the Host Output Management product where the report is stored. A Report List request requires the userid parameter.
Password
Specifies the password that is associated with the user ID for the request. The password matches the password that is associated with the user ID defined to the Host Output Management product. If no password is assigned, specify null.
Repository
Specifies the name of an entry in the repository definition file and identifies a specific repository in the Host Output Management product. The Report List Request retrieves information for reports that are held in that repository only. If information is required for reports on other repositories, make secondary requests. This case-sensitive parameter must match the case of the repository name in the repository definition entry. Contact your System Administrator for the name of the repository definition entry.
Returnas
Specifies the format of the data returned. For example, a returnas value of "xmlattachment" returns the data from the Report List request as a file attachment in XML format. The Returnas values that are supported for the Report List Web Service are:
The returnas parameter that is specified is not case-sensitive; it can be upper, lower, or mixed case. If the returnas parameter is omitted its default value is set to "Vector".
Fields
Specifies the attributes (fields) to be returned and is based on the requirements of the application being developed. This parameter must pass at least one attribute (field name) or the request fails. The fields parameter that is passed to the Web Service is a list of the attributes indicating the information to be returned for each report in a repository. In Java, each field would be delimited with double quotation marks and separated by commas. For more information about the attributes that can be specified in the fields parameter, see the appendix "Customizing the Report List Web Service" in this guide.
Selection criteria
Specifies a series of rules to determine the reports (in the specified repository) for which information is retrieved. If selection criteria are omitted from the parameter list, all of the reports accessible by the user ID in the repository are selected. For example, selection criteria can be specified to return information for a specific report name, such as the number of lines in the report named "creditcardsummary".
Selection criteria are name-value pairs; the name is a field name (uses same field name keywords as specified for the field parameter) and the value is the value that must be matched. Values in the parameters are specified as character strings; numeric data values, dates, and times are specified as numeric values, such as "1", "01/01/01", "12:00:00:00".
Use the following name-value pair to return the number of lines for a report named "creditcardsummary":
|
Name |
Value |
|---|---|
|
RID |
"creditcardsummary" |
The keyword RID designates the report name field and creditcardsummary is the report name in the repository.
There are several special rules for the selection criteria specification:
|
Name |
Value |
|---|---|
|
RID |
"creditcardsummary" |
|
RID |
"c*" |
"c*" returns information for all reports whose report names begin with c.
|
Name |
Value |
|---|---|
|
LINES |
"50" |
|
ARCDATE |
"09/05/2003" |
|
|
|
Specifying "50" for the LINES criteria returns information for all reports that have 50 lines. Specifying "09/05/2003" for the ARCDATE criteria retrieves information for reports that are archived on September 5, 2003.
|
Name |
Value |
|---|---|
|
LINES |
"50,100" |
|
ARCDATE |
"01/01/2004,09/05/2004" |
Specifying "50,100" for the LINES criteria returns information for all reports that have from 50 to 100 lines inclusive. Specifying "01/01/2003, 09/05/2004" for the ARCDATE criteria retrieves information for reports that are archived between January 1, 2004 and September 5, 2004.
Note: CRXNAME and CRXVALUE are only supported for CA View. CRXNAME specifies one to eight parts of a cross-report index name. CRXVALUE specifies a cross-report index value. If the CRXNAME criteria specify a two-part index, then the CRXVALUE must specify two values to match.
For example, a group of reports can support a three-part cross-report index (ACCOUNT#, MONTH, YEAR). To retrieve information for all March 2004 reports for account number 12345, the CRXNAME and CRXVALUE are:
|
Name |
Value |
|---|---|
|
CRXNAME |
"ACCOUNT#,MONTH,YEAR" |
|
CRXVALUE |
"12345,MARCH,2004" |
To retrieve information for all reports for account number 12345 for all months of all years, the CRXNAME for specific index names and CRXVALUE with wildcards are:
|
Name |
Value |
|---|---|
|
CRXNAME |
"ACCOUNT#,MONTH,YEAR" |
|
CRXVALUE |
"12345,*,*" |
|
Copyright © 2013 CA.
All rights reserved.
|
|