WidgetTemplatesControllerPostSettings - метод

Stores global settings for the widget templates.

Definition

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

См. также