CardsControllerPostGet - метод
Загружает карточку с указанными параметрами. Карточка должна существовать (или являться виртуальной).
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 3.6.0.22
[HttpPostAttribute("get")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<CardGetResponse>> PostGet(
[FromBodyAttribute] CardGetRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("get")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostGet (
<FromBodyAttribute> request As CardGetRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of CardGetResponse))
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<CardGetResponse^>^>^ PostGet(
[FromBodyAttribute] CardGetRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("get")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostGet :
[<FromBodyAttribute>] request : CardGetRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<CardGetResponse>>
- request CardGetRequest
- Запрос на загрузку карточки.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskActionResultCardGetResponseОтвет на запрос на загрузку карточки.