TokenControllerCreateToken Method

POST /Token/ Creates a token.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
[HttpPostAttribute]
[ActionNameAttribute("Index")]
public IActionResult 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: IActionResult
A TokenDefinitionData object, or a status code indicating the problem.
See Also