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.0.4
[HttpPostAttribute("get-data")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<PlainTessaViewResult>> PostGetData(
[FromBodyAttribute] PlainTessaViewRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("get-data")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function PostGetData (
<FromBodyAttribute> request As PlainTessaViewRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of PlainTessaViewResult))
public:
[HttpPostAttribute(L"get-data")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult<PlainTessaViewResult^>^>^ PostGetData(
[FromBodyAttribute] PlainTessaViewRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("get-data")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member PostGetData :
[<FromBodyAttribute>] request : PlainTessaViewRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<PlainTessaViewResult>>
- request PlainTessaViewRequest
- Request to query the view.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultPlainTessaViewResultResults of querying the view.