Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed translated content for 'zh'
Sv translation
languageen

/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

Code Block
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

List siblings

Sv translation
languageja

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

このメソッドは、ビュー(チ​​ャート、表、マップ) をPDFファイルとして返します。

リソース情報

リクエストパラメーター

パラメーター

詳細

id

ビューのID。このIDは /api/reports/:id レスポンスの一部です。

123

pageSize

(オプション) ページのサイズ - サポートされる値のリストを参照してください。デフォルト: A4

A3

pageOrientation

(オプション) ページの向き - サポートされる値のリストを参照してください。デフォルト: PORTRAIT

LANDSCAPE

サンプルリクエスト

Code Block
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

レスポンスは、PDF形式のファイルのバイナリデータです。 


次に

List siblings