Retrieving a custom format
Use GetCustomFormat to retrieve a report in a custom format from the View service. GetCustomFormat requests that the View service invoke AcReport::GetCustomFormat and then returns the output file as an attachment. The following example uses the ViewParameter element to define the display format:
<SOAP-ENV:Body>
<GetCustomFormat>
<Object>
<Name>/CallingBasic.rptdocument</Name>
</Object>
<ViewParameter>
<Format>Excel</Format>
<UserAgent>
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
</UserAgent>
<Locale>default</Locale>
</ViewParameter>
<ArgumentList>
<Argument>
<Name>case</Name> <Value>Succeeded</Value>
</Argument>
</ArgumentList>
</GetCustomFormat>
</SOAP-ENV:Body>
The preceding request returns the document as an attachment in the specified custom format.