FormEditorControllerGetStateAsync - метод

Loads form's state with specified name.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
[HttpGetAttribute("load-state")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<FormEditorFormStateModel?>> GetStateAsync(
	[FromQueryAttribute(Name = "formId")] Guid formId,
	[FromQueryAttribute(Name = "stateName")] string stateName,
	CancellationToken cancellationToken = default
)

Параметры

formId  Guid
Form identifier.
stateName  String
State's name.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskActionResultFormEditorFormStateModel
Form state model.

См. также