(EXPERIMENTAL) Create dashboard tabular export request
Note: This API is an experimental and is going to change. Please, use it accordingly.An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
path Parameters
workspaceIdstring · requireddashboardIdstring · required
Request Body
fileNamestring · requiredFilename of downloaded file without extension.
Example: resultformatstring · enum · requiredRequested tabular export type.
Enum values:XLSXPDFExample: XLSX
dashboardFiltersOverrideobject[]List of filters that will be used instead of the default dashboard filters.
dashboardTabsFiltersOverridesobjectMap of tab-specific filter overrides. Key is tabId, value is list of filters for that tab.
settingsobjectAdditional settings.
widgetIdsstring[] · maxItems: 1 · uniqueList of widget identifiers to be exported. Note that only one widget is currently supported.
Responses
Tabular export request created successfully.
exportResultstring · required
Create tabular export request
An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
path Parameters
workspaceIdstring · required
Request Body
fileNamestring · requiredFilename of downloaded file without extension.
Example: resultformatstring · enum · requiredExpected file format.
Enum values:CSVXLSXHTMLPDFExample: CSV
customOverrideobjectCustom cell value overrides (IDs will be replaced with specified values).
executionResultstringExecution result identifier.
Example: ff483727196c9dc862c7fd3a5a84df55c96d61a4metadataobject | null · maxLength: 15000Free-form JSON object
Example: {}relatedDashboardIdstringAnalytical dashboard identifier. Optional identifier, which informs the system that the export is related to a specific dashboard.
Example: 761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0settingsobjectAdditional settings.
visualizationObjectstringVisualization object identifier. Alternative to executionResult property.
Example: f7c359bc-c230-4487-b15b-ad9685bcb537visualizationObjectCustomFiltersobject[]Optional custom filters (as array of IFilter objects defined in UI SDK) to be applied when visualizationObject is given. Those filters override the original filters defined in the visualization.
Example: [{"negativeAttributeFilter":{"displayForm":{"identifier":{"id":"products.category","type":"label"}},"notIn":{"values":["Books"]}}}]
Responses
Tabular export request created successfully.
exportResultstring · required
Retrieve exported files
After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn't ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
path Parameters
workspaceIdstring · requiredexportIdstring · required
Responses
Binary export result.