Reporting - Get Completed Report

URI

https://164.99.19.131:8443/SentinelRESTServices/rpt/definitions/{reportDefinitionID}/reports/{reportJobId}/file

Supported Methods

GET

Given a report definition ID and a report Job ID, return the actual report. The format can be specifed. Currently we support PDF, CSV or XML. Note: if report format in xml or csv is specified, these report formats must be enabled in the Sentinel server config file, /etc/opt/novell/sentinel/config/obj-component.JasperReportingComponent.properties

Authentication

Authentication Types
Sentinel Permissions Needed

URL Parameters

Required

None.

Optional

ParameterTypeDefault ValueDescription
format String PDF must be one of PDF, CSV or XML

Success Codes

Fault Codes

Sample Request

GET /rpt/definitions/91702BA0-EE9A-102B-BBAC-00218502569D/reports/E0235B40-0221-102E-B80D-001641E6949B/file
Sample Response for application/pdf
Status: 200
A binary stream representing the report data in the requested format.


Sample Request

GET /rpt/definitions/notAValidReport
Sample Response for application/json
Status: 404
{"Fault":{"Code":{"Value":"Sender","Subcode":{"Value":"ReportDefinitionDoesNotExist"}},"Reason":{"Text":"The report definition "notAValidReport" does not exist."}}}


Sample Request

GET /rpt/definitions/notAValidReport
Sample Response for application/json
Status: 404
{"Fault":{"Code":{"Value":"Sender","Subcode":{"Value":"ReportIdDoesNotExist"}},"Reason":{"Text":"The report result "E0235B40-0221-102E-B805-001641E6YYY" does not exist."}}}