SearchQueriesControllerPut - метод
Save search query, creating new one or modifying existent.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPutAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult> Put(
[FromBodyAttribute] JsonSearchQueryMetadata searchQuery,
CancellationToken cancellationToken = default
)
<HttpPutAttribute>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(204)>
Public Function Put (
<FromBodyAttribute> searchQuery As JsonSearchQueryMetadata,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult)
public:
[HttpPutAttribute]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult^>^ Put(
[FromBodyAttribute] JsonSearchQueryMetadata^ searchQuery,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPutAttribute>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(204)>]
member Put :
[<FromBodyAttribute>] searchQuery : JsonSearchQueryMetadata *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult>
- searchQuery JsonSearchQueryMetadata
- Search query to save.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResult204 (No Content).