4edc2a4199cba4cb0da269b17fd7f9d0425ae3f1
API/CodeSamples/ResponseServer.md
| ... | ... | @@ -0,0 +1,29 @@ |
| 1 | +#ResponseServer |
|
| 2 | + |
|
| 3 | +[[_TOC_]] |
|
| 4 | + |
|
| 5 | +#What is the Response Server? |
|
| 6 | + |
|
| 7 | +A deployment of Izenda will contain an rs.aspx page, which can handle requests for Report Parts as well as formatted and filtered exports. |
|
| 8 | + |
|
| 9 | +Example: rs.aspx?output=<ExportType>&rn=<ReportName> Or rs.aspx?output=json&rn=Report_1 |
|
| 10 | + |
|
| 11 | +This URL can be "executed" as-is and you'll get JSON output. Or you can load JSON content using ajax call to this URL. |
|
| 12 | + |
|
| 13 | +Live Example: http://izenda.com/bi/rs.aspx?output=json&rn=Subreports\Product+Quantity |
|
| 14 | + |
|
| 15 | +This URL can be "executed" as-is and you'll get JSON output. Or you can load JSON content using ajax call to this URL. |
|
| 16 | + |
|
| 17 | +In relation to the Drilldowns concept, you can filter these results through things like drilldown keys: |
|
| 18 | + |
|
| 19 | +http://izenda.com/bi/rs.aspx?output=json&rn=Subreports\Product+Quantity&ddkvalue=Beverages <http://izenda.com/bi/rs.aspx?output=json&rn=Subreports\Product+Quantity&ddkvalue=Beverages%20> |
|
| 20 | + |
|
| 21 | +Or by passing through a filter/parameter value: |
|
| 22 | + |
|
| 23 | +http://izenda.com/bi/rs.aspx?output=json&rn=Accounting&p1value=Alfreds+Futterkiste |
|
| 24 | + |
|
| 25 | +You can add further filter values by appending &p2value=something&p3value=something and so on. |
|
| 26 | + |
|
| 27 | +Note in the Report Name that categories are respected using ‘ \ ‘, for example: CategoryName\ReportName. |
|
| 28 | + |
|
| 29 | +Export types are: json, xml, csv, doc, xls, and pdf.” |
|
| ... | ... | \ No newline at end of file |