ApplicationsControllerGetIdByAlias - метод
Get app id by its alias, or 204 (No Content) if can't get the data.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpGetAttribute("get-id")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<Guid>> GetIdByAlias(
[FromQueryAttribute(Name = "alias")] string applicationAlias,
[FromQueryAttribute(Name = "64bit")] bool client64Bit,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("get-id")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function GetIdByAlias (
<FromQueryAttribute(Name := "alias")> applicationAlias As String,
<FromQueryAttribute(Name := "64bit")> client64Bit As Boolean,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of Guid))
public:
[HttpGetAttribute(L"get-id")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult<Guid>^>^ GetIdByAlias(
[FromQueryAttribute(Name = L"alias")] String^ applicationAlias,
[FromQueryAttribute(Name = L"64bit")] bool client64Bit,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("get-id")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member GetIdByAlias :
[<FromQueryAttribute(Name = "alias")>] applicationAlias : string *
[<FromQueryAttribute(Name = "64bit")>] client64Bit : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<Guid>>
- applicationAlias String
- Алиас приложения.
- client64Bit Boolean
- App is using 64-bit architecture.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultGuidApp id or 204 (No Content) if can't get the data.