WidgetTemplatesControllerPostSettings - метод

Stores global settings for the widget templates.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[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
)

Параметры

settings  WidgetTemplatesSettings
Global settings for widget templates.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

TaskActionResultPlainValidationResult
Object with operations results including errors.

См. также