/api/reports/views/:id/export/pdf
This method returns view (chart, table or map) as PDF file.
Resource Information
Resource URL | https://service.belladati.com/api/reports/views/:id/export/pdf |
HTTP Method |
|
Request Parameters
Parameters | Detail | Example |
---|---|---|
| ID of the view. This ID is part of the | 123 |
| (Optional) Page size - please see list of supported values. Default: A4. | A3 |
| (Optional) Page orientation - please see list of supported values. Default: PORTRAIT. | LANDSCAPE |
Sample request
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/reports/views/123/export/pdf?pageSize=A3&pageOrientation=LANDSCAPE
The response are binary data of file in PDF format.
Next steps
Overview
Content Tools