Skip to main content
POST
Get report type schema for a context

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

The Extole unique report type identifier.

Body

application/json
parameters
object
required

Report parameter values to resolve the schema against, keyed by parameter name. Only parameters the report type contextualizes its schema on are accepted. A parameter left out resolves to the report type's declared default. A supplied value, including a blank value, is used as supplied. An empty map resolves the schema exactly as the parameterless read does. Pass these same values to POST /v4/reports to run the report that emits the returned columns.

Response

Schema the report type produces for the supplied context, as an ordered, non-empty list of output columns, alongside the parameter values it was resolved against.

columns
object[]
required

Columns the report type produces, in output order.

context_parameters
object
required
read-only

Report parameters this schema was resolved against, keyed by parameter name. Each one changes the columns; supply report parameter values in the POST request body to resolve the schema against a different context. A value is what the caller supplied, otherwise the report type's declared default; parameters with neither are absent, and leaving one out resolves the schema against the report type's own default behavior rather than making the answer partial. Run the report with these same parameter values to get these same columns. Empty for report types whose columns do not depend on context.

report_type_id
string
required
read-only

Id of the report type this schema belongs to. Pass it to GET /v6/report-types/{id}/schema to fetch this schema on its own.