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 (9.0.0.1000)
Syntax
[HttpPostAttribute]
[ActionNameAttribute("Index")]
public HttpResponseMessage CreateToken(
	[FromBodyAttribute] CreateTokenOptions tokenOptions,
	Nullable<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: HttpResponseMessage
A TokenDefinitionData object, or a status code indicating the problem.
See Also