OperationsControllerPostStartFirst - метод

Start an any operation of the specified types. Returns its identifier, or 204 (No Content) if there are no such operations. Picks operations in order they were created. Method is available for administrators only.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[HttpPostAttribute("start-first")]
[SessionMethodAttribute(UserAccessLevel.Administrator, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<Guid?>> PostStartFirst(
	[FromQueryAttribute(Name = "type")] List<Guid> typeIDs,
	CancellationToken cancellationToken = default
)

Параметры

typeIDs  ListGuid
Type identifiers of operation to start. System types are listed in OperationTypes class.
cancellationToken  CancellationToken  (Optional)
Token to cancel an async task.

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

TaskActionResultNullableGuid
Identifier of a started operation, or 204 (No Content) if there are no such operations.

См. также