POST /api/report_templates/1007981727/generate
{
  "report_format": "json",
  "report_template": {}
}
200
[
  {
    "a": 1
  },
  {
    "a": 2
  }
]

パラメーター

パラメーター名 記述
location_id
任意

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
任意

Set the current organization context for the request

Validations:

  • Must be a Integer

id
必須

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

input_values
任意

入力値のハッシュ。キーは入力名で、値はこの入力の値です。

Validations:

  • Must be a Hash

gzip
任意

Compress the report uzing gzip

Validations:

  • Must be one of: true, false, 1, 0.

report_format
任意

Report format, defaults to ‘csv’

Validations:

  • Must be one of: csv, json, yaml, html.