Open this page in the API Guide

TokenController.GetParameterTokens Method

Note: This API is now obsolete.

OBSOLETE - Use POST /Token/GetParameterTokens/ instead. Retrieves the parameter tokens.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[ObsoleteAttribute("Deprecated. Use GetParameterTokensWithOptions instead.")]
[HttpGetAttribute("ParameterTokens")]
public ActionResult<IList<ParameterTokenData>> GetParameterTokens(
	CompatibleDataTypes parameterDataType,
	TokenDisplayTypes displayTypes,
	Guid? projectId = null,
	bool? includeAttributeTokens = null,
	Guid? hierarchyParentId = null,
	string hierarchyUniqueName = "",
	Guid? sessionId = null
)

Parameters

parameterDataType
Type: Dundas.BI.Data.Parameters.CompatibleDataTypes
Type of the parameter data.
displayTypes
Type: Dundas.BI.Data.Parameters.Tokens.TokenDisplayTypes
The display types.
projectId (Optional)
Type: System.Nullable<Guid>
ID of the project.
includeAttributeTokens (Optional)
Type: System.Nullable<Boolean>
If the attribute tokens should be included.
hierarchyParentId (Optional)
Type: System.Nullable<Guid>
ID of the hierarchy parent.
hierarchyUniqueName (Optional)
Type: System.String
Name of the hierarchy unique.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

Type: ActionResult<IList<ParameterTokenData>>
An array of ParameterTokenData objects containing the parameter token data, or a status code indicating the problem.
See Also