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