FormEditorControllerGetStatesAsync - метод

Loads form's states.

Definition

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

Параметры

formId  Guid
Form identifier.
states  String  (Optional)
Array of states to load.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskActionResultListFormEditorFormStateModel
List of
Form state model.

См. также