[]
        
(Showing Draft Content)

Dashboard

Dashboard

[GET] /api/v2/dashboard/dashboards/{id}

Parameters

Name In Type Description
idRequired path string dashboard id
rev query integer dashboard revision

Get Dashboard

Responses

[200] Success

DashboardViewModel

Type: [application/json]

[400] Bad Request

ServerPluginError

Type: [application/json]

[403] Forbidden

ServerPluginError

Type: [application/json]

[404] Not Found

ServerPluginError

Type: [application/json]

[GET] /api/v2/dashboard/templates/{id}

Parameters

Name In Type Description
idRequired path string template id
rev query integer template revision

Get Template

Responses

[200] Success

DashboardViewModel

Type: [application/json]

[400] Bad Request

ServerPluginError

Type: [application/json]

[403] Forbidden

ServerPluginError

Type: [application/json]

[404] Not Found

ServerPluginError

Type: [application/json]

[POST] /api/v2/dashboard/{id}/revert

Parameters

Name In Type Description
idRequired path string dashboard id
rev query integer dashboard revision

Revert dashboard

Responses

[400] Bad Request

ServerPluginError

Type: [application/json]

[403] Forbidden

ServerPluginError

Type: [application/json]

[404] Not Found

ServerPluginError

Type: [application/json]

[GET] /api/v2/dashboard/dashboards/{id}/export

Parameters

Name In Type Description
idRequired path string Exported dashboard id
dp query string Exported dashboard parameters
token query string wyn token
exportFormat query string Exported dashboard file format, support pdf, png and ppt, the default is pdf.

Export Dashboard to specific file.

Responses

[200] Success

File

Type: [application/pdf]

[400] Bad Request

ServerPluginError

Type: [application/json]

[401] Unauthorized

ServerPluginError

Type: [application/json]

[403] Forbidden

ServerPluginError

Type: [application/json]

[404] Not Found

ServerPluginError

Type: [application/json]

[GET] /api/v2/dashboard/dashboards/{dashboardID}/pivotData

Parameters

Name In Type Description
dashboardIDRequired path string dashboard id
scenarioName query string scenario name
scenarioId query string scenario id
scenarioTitle query string scenario title
lng query string language name

Get scenario pivot data

Responses

[200] Success

Models

Ƭ DashboardViewModel

Name Type
idNullable string
titleNullable string
content Content
optionsNullable any
scenariosNullable Array<Scenario>
pagesNullable Array<DashboardPage>
sharedResourcesNullable Array<SharedResource>
versionNullable string
datasetProfilesNullable any
tagIdsNullable Array<string>
commentNullable string
parametersNullable Array<DashboardParameter>

Ƭ Content

Name Type
docThemeNullable any
filtersNullable Array
imageListNullable Array<DashboardImage>
languageResourceNullable any

Ƭ Scenario

Name Type
idNullable string
contentNullable any
optionsNullable any
pageIdNullable string
nameNullable string

Ƭ DashboardPage

Name Type
idNullable string
contentNullable any
optionsNullable any

Ƭ SharedResource

Name Type
idNullable string
type DocumentType

Ƭ DashboardParameter

Name Type Description
nameNullable string Name of the parameter.
promptNullable string The text to display to a user when prompting the a for the parameter's value.
dataTypeNullable string The data type of the parameter.
outputDataTypeNullable string
dateOnly Boolean
multiValue Boolean
multiline Boolean
hidden Boolean
allowBlank Boolean
validValues ValidValues
defaultValue DefaultValue
binding Binding
transform Transform
valueTypeNullable string

Ƭ DashboardImage

Name Type
idNullable string
nameNullable string
srcNullable string
size int32
typeNullable string
dashboardIdNullable string

Ƭ DocumentType

Enum:

  • Unknown
  • Dashboard
  • Dataset
  • DataSource
  • Image
  • Theme
  • MapHierarchy
  • GeoJson
  • Report
  • Visual
  • FloorPlan
  • AnalysisModel
  • Font
  • LanguageResource
  • NativeQuery
  • DataFile
  • Spreadsheet
  • Scene
  • Glb
  • DashboardTemplate
  • VizTemplate
  • IoT
  • FilterView
  • Notebook

Ƭ ValidValues

Name Type Description
datasetReference DatasetReference
valuesNullable Array<ParameterValue> Gets the list of possible values for the parameter.

Ƭ DefaultValue

Name Type Description
datasetReference DatasetReference
valuesNullable Array<string> Gets the default values for the parameter.
logicValuesNullable Array<LogicValue> Gets the Logic values of default values.

Ƭ Binding

Name Type
value ParameterBindingValue
valueTypeNullable string

Ƭ Transform

Name Type
ruleNullable string
directionNullable string
unitNullable string
formatterNullable string

Ƭ DatasetReference

Name Type
datasetIdNullable string
valueFieldNullable string
entityNameNullable string
aggTypeNullable string
sortBy SortBy

Ƭ ParameterValue

Name Type Description
labelNullable string Label for the value to display in a UI
valueNullable string Specifies a value for a parameter.

Ƭ SortBy

Representing the query to execute to obtain the default value(s) for the parameter.

Name Type
order int32
columnNullable string

Ƭ LogicValue

Name Type
valueTypeNullable string
valueNullable string
datasetReference DatasetReference

Ƭ ParameterBindingValue

Name Type
nameNullable string
valuePropertyNameNullable string
columnsNullable Array<string>
checkedFieldNamesNullable Array<string>

Ƭ ServerPluginError

Server plugin error

Name Type Description
codeNullable string error code
messageNullable string error message
contextNullable string error context

Ƭ File

Name Type