If the reports are binary or AFP, the Report Data Web Service returns pages of a report or the entire report. A Text report can be returned in an XML attachment or in native data formats. Binary and AFP reports are returned as attachments. Support for page range selection varies by report type; AFP and distributed reports (binary) do not support retrieval by page numbers while text reports do. Support for AFP to PDF transformation with a new report type, AFP2PDF, has been introduced in this release.
The following table describes request and response formats for the Report Data Web Service:
|
Request Name |
Report Data |
Required |
Case-sensitive |
|---|---|---|---|
|
Request Format |
userid:string |
Y |
Y |
|
|
password:string |
N |
Y |
|
|
respository:string with name of respository entry in repository definition file |
Y |
Y |
|
|
type:string (TYPE, BINARY, AFP, AFP2PDF) |
N(default TEXT) |
N |
|
|
textreportformat:(PAGE,LINE) |
|
N |
|
|
pageto:string |
N(default999999999) |
N |
|
|
pagefrom:string |
N(default1) |
N |
|
|
returnas: (value can be: "vector","stringarray","xmlattachment", "xmlstring","attachment") |
N(default vector) |
N |
|
|
reporthandle:string |
Y |
N |
|
Request Response |
Based on report type selected |
|
|
|
Copyright © 2013 CA.
All rights reserved.
|
|