/api/reports/views/:id/export/pdf

This method returns view (chart, table or map) as PDF file.

Resource Information

Request Parameters

Parameters

Detail

Example

id

ID of the view. This ID is part of the /api/reports/:id response.

123

pageSize

(Optional) Page size - please see list of supported values. Default: A4.

A3

pageOrientation

(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

  • No labels