ViewsControllerPostGetData - метод
Query the view and get its results. View has to be accessible for current user.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
[HttpPostAttribute("get-data")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(typeof(TessaViewResultSpec), 200)]
public Task<ActionResult<ITessaViewResult>> PostGetData(
[FromBodyAttribute] TessaViewRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("get-data")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(GetType(TessaViewResultSpec), 200)>
Public Function PostGetData (
<FromBodyAttribute> request As TessaViewRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of ITessaViewResult))
public:
[HttpPostAttribute(L"get-data")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(typeof(TessaViewResultSpec), 200)]
Task<ActionResult<ITessaViewResult^>^>^ PostGetData(
[FromBodyAttribute] TessaViewRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("get-data")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(typeof(TessaViewResultSpec), 200)>]
member PostGetData :
[<FromBodyAttribute>] request : TessaViewRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<ITessaViewResult>>
- request TessaViewRequest
- Request to query the view.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultITessaViewResultResults of querying the view.