...
Anchor | ||||
---|---|---|---|---|
|
Table of Contents | ||
---|---|---|
|
Functions
Expand | ||
---|---|---|
| ||
The PDF request runs a specified report and returns it in PDF form. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Expand | ||
---|---|---|
| ||
The CSV request runs a specified report and returns it in CSV form. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Expand | ||
---|---|---|
| ||
The XLS request runs a specified report and returns it in XLS form. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Expand | ||
---|---|---|
| ||
The TEXT request runs a specified report and returns it in TEXT form. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Expand | ||
---|---|---|
| ||
The RTF request runs a specified report and returns it in RTF form. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Expand | ||
---|---|---|
| ||
The DOC request runs a specified report and returns it in DOC form. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Expand | ||
---|---|---|
| ||
The SCHEMA request returns schematic information of the specified report, which includes metadata for report columns and filters as well. The following code will accomplish this:
|
...
The returned ReportServiceResponse object consists of:
|
Expand | ||
---|---|---|
| ||
The HTML request will return a HTML representation of the report. The HTML document will be Base64 encoded, with the charts/images being stored in the Charts array field. These artefacts will need to be manually decoded by the client system, and the URL request string is used to embed the URL within the HTML for decoding the Base64 images. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Expand | ||
---|---|---|
| ||
The FILTEROPTIONS request will return the filter values available for a particular report’s filter. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
|
...
Expand | ||
---|---|---|
| ||
The RESULTSET request will return the result data set for a particular report. This result will be stored in an array of ReportRow objects, with each ReportRow object representing a row in the report data set. The ReportRow object will also consist of an array of strings that represents the data in each column in the data set. It is up to the web services client to convert this data from the string representation into the data type for each particular column. The data types for each column can be obtained with the SCHEMA request function call. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
|
...
Expand | ||
---|---|---|
| ||
The EXPIRESESSION request will cause a specified Yellowfin session to expire. The following code will accomplish this:
|
...
Expand | ||
---|---|---|
| ||
The GETCOMMENTS request will retrieve all comments for a particular report. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
|
...
Expand | ||
---|---|---|
| ||
The LEAVECOMMENT request will create a comment/response to a comment in a particular report. The following code will accomplish this:
|
...
Expand | ||
---|---|---|
| ||
The DELETECOMMENT request will delete the particular comment from a report. The following code with accomplish this:
|
...
Expand | ||
---|---|---|
| ||
The COMMENTSTATUS request will set the status of a particular comment. The following code will accomplish this:
|
...
Expand | ||
---|---|---|
| ||
The DISTRIBUTEINBOX request will distribute a report to the inboxes of a list of recipients. The following code will accomplish this:
|
...
Expand | ||
---|---|---|
| ||
The GETDISPLAYEDREPORTID request will return the report ID of the currently displayed report. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Expand | ||
---|---|---|
| ||
The GETKPI request will return you the KPI object for a particular KPI report. This function request is usually utilised within the mobile application. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Expand | ||
---|---|---|
| ||
The GETDRILLANYWHEREMENU request will return you the Drill Anywhere menu that is available for the selected report column. This function request is usually utilized within the mobile application. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
|
...
Expand | ||
---|---|---|
| ||
The SUBSCRIBEDETAILS request will return the schedule record for a particular report. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Expand | ||
---|---|---|
| ||
The SUBSCRIBE request will create/modify a subscription to a specified report for a specified user. This function request is usually called after SUBSCRIBEDETAILS to retrieve a current subscription first, otherwise a ScheduleRecord object must be created and populated appropriately (refer to ScheduleRecord) for this function call. The following code will accomplish this:
|
...
Expand | ||
---|---|---|
| ||
The UNSUBSCRIBE request will unsubscribe a specified user from a specified report. The following code will accomplish this:
|
...
Expand | ||
---|---|---|
| ||
The LOADDASHBOARDTAB request will load a specified dashboard tab and its metadata. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Expand | ||
---|---|---|
| ||
The following code will accomplish this:
|
...
Expand | ||
---|---|---|
| ||
The GETDASHBOARDREPORTFILTERVALUES request will return filter metadata for a particular report on a dashboard tab. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
|
...
Expand | ||
---|---|---|
| ||
The RUNDASHBOARDREPORT request will run and export a specified report on a dashboard tab. The response will include Base64 encoded generated html, including charts, GIS maps, and CSS styles. The following code will accomplish this:
|
...
The |
...
returned |
...
ReportServiceResponse |
...
object |
...
consists |
...
of: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Object Definitions
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||
|