Retrieving display formats
Use GetFormats to retrieve display formats that the View service supports for a report. If you do not specify a format type, GetFormats returns all supported format types for the report. To use GetFormats, specify a path to a BIRT document (.rptdocument) file. You can include other identifying information about the report, such as a version number. The following example shows how to request all formats for a report titled Forecast.rptdocument:
<SOAP-ENV:Body>
<GetFormats>
<Object>
<Name>/Temp/Forecast.rptdocument</Name>
<Version>1</Version>
</Object>
</GetFormats>
</SOAP-ENV:Body>
The preceding request returns all the formats in which you can view this report, including XMLDisplay, DHTML, Reportlet, cascading style sheets (CSS), ExcelData, and PDF:
<SOAP-ENV:Body>
<GetFormatsResponse>
<FormatList>
<Format>XMLDisplay</Format>
<Format>XMLCompressedDisplay</Format>
<Format>XMLStyle</Format>
<Format>XMLData</Format>
<Format>DHTML</Format>
<Format>DHTMLLong</Format>
<Format>DHTMLRaw</Format>
<Format>Reportlet</Format>
<Format>CSS</Format>
<Format>ExcelDisplay</Format>
<Format>ExcelData</Format>
<Format>PDF</Format>
</FormatList>
</GetFormatsResponse>
</SOAP-ENV:Body>