ViewsControllerPostGetModels - метод
Get requested views info including their attributes, permissions, metadata and SQL structure.
Method is available for administrators only.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
[HttpPostAttribute("get-models")]
[SessionMethodAttribute(UserAccessLevel.Administrator, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<List<TessaViewModel>>> PostGetModels(
[FromBodyAttribute] ViewGetRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("get-models")>
<SessionMethodAttribute(UserAccessLevel.Administrator, false, New String() { ... })>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostGetModels (
<FromBodyAttribute> request As ViewGetRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of List(Of TessaViewModel)))
public:
[HttpPostAttribute(L"get-models")]
[SessionMethodAttribute(UserAccessLevel::Administrator, false, __gc new array<String^>^ { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<List<TessaViewModel^>^>^>^ PostGetModels(
[FromBodyAttribute] ViewGetRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("get-models")>]
[<SessionMethodAttribute(UserAccessLevel.Administrator, false, new string[] { ... })>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostGetModels :
[<FromBodyAttribute>] request : ViewGetRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<List<TessaViewModel>>>
- request ViewGetRequest
- Request to get views info.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultListTessaViewModelViews info.