TokenControllerCreateToken Method

Creates a token.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[HttpPostAttribute]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<TokenDefinitionData> CreateToken(
	[FromBodyAttribute] CreateTokenOptions tokenOptions,
	Guid? sessionId = null
)

Parameters

tokenOptions
Type: Dundas.BI.WebApi.ModelsCreateTokenOptions
The CreateTokenOptions class containing the information needed to create a token.
sessionId (Optional)
Type: SystemNullableGuid
Current session ID.

Return Value

Type: ActionResultTokenDefinitionData
The operation completed successfully. The payload contains a TokenDefinitionData object.
See Also