InitializationControllerPostInitialize - метод
Get data for initializing the app, including metadata, permissions info, etc.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPostAttribute("get")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<InitializationResponse>> PostInitialize(
[FromBodyAttribute] InitializationRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("get")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostInitialize (
<FromBodyAttribute> request As InitializationRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of InitializationResponse))
public:
[HttpPostAttribute(L"get")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<InitializationResponse^>^>^ PostInitialize(
[FromBodyAttribute] InitializationRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("get")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostInitialize :
[<FromBodyAttribute>] request : InitializationRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<InitializationResponse>>
- request InitializationRequest
- Request to get initialization data.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultInitializationResponseResponse with initialization data.