TokenController.GetVisibleTokens Method |
Gets a list of tokens visible to the caller, filtered by project ID.
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("VisibleTokens")]
[ProducesResponseTypeAttribute(440)]
public ActionResult<IList<TokenDefinitionData>> GetVisibleTokens(
[FromBodyAttribute] IList<Guid> projectIds,
Guid? sessionId = null
)
<HttpPostAttribute("VisibleTokens")>
<ProducesResponseTypeAttribute(440)>
Public Function GetVisibleTokens (
<FromBodyAttribute> projectIds As IList(Of Guid),
Optional sessionId As Guid? = Nothing
) As ActionResult(Of IList(Of TokenDefinitionData))
public:
[HttpPostAttribute(L"VisibleTokens")]
[ProducesResponseTypeAttribute(440)]
ActionResult<IList<TokenDefinitionData^>^>^ GetVisibleTokens(
[FromBodyAttribute] IList<Guid>^ projectIds,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("VisibleTokens")>]
[<ProducesResponseTypeAttribute(440)>]
member GetVisibleTokens :
[<FromBodyAttribute>] projectIds : IList<Guid> *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<IList<TokenDefinitionData>>
Parameters
- projectIds
- Type: System.Collections.Generic.IList<Guid>
List of project IDs. - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult<IList<TokenDefinitionData>>The operation completed successfully. The payload contains an array of
TokenDefinitionData objects.
See Also