WidgetTemplatesControllerPostSettings - метод
Stores global settings for the widget templates.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
[HttpPostAttribute("settings")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<PlainValidationResult>> PostSettings(
[FromBodyAttribute] WidgetTemplatesSettings settings,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("settings")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostSettings (
<FromBodyAttribute> settings As WidgetTemplatesSettings,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of PlainValidationResult))
public:
[HttpPostAttribute(L"settings")]
[SessionMethodAttribute(UserAccessLevel::Regular, 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<PlainValidationResult^>^>^ PostSettings(
[FromBodyAttribute] WidgetTemplatesSettings^ settings,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("settings")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostSettings :
[<FromBodyAttribute>] settings : WidgetTemplatesSettings *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<PlainValidationResult>>
- settings WidgetTemplatesSettings
Global settings for widget templates.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultPlainValidationResult
Object with operations results including errors.