OperationsControllerGetAll - метод

Get attributes of all operations of specified type. List can be empty, if there are no operations with the type. Method is available for administrators only.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpGetAttribute("get-all")]
[SessionMethodAttribute(UserAccessLevel.Administrator)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<List<Operation>>> GetAll(
	[FromQueryAttribute(Name = "type")] Guid typeID,
	[FromQueryAttribute(Name = "full")] bool loadEverything = false,
	CancellationToken cancellationToken = default
)

Параметры

typeID  Guid
Type identifier of operations to get. System types are listed in OperationTypes class.
loadEverything  Boolean  (Optional)
Flag whether all operation attributes should be returned, including properties Request, RequestHash and Response.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultListOperation
Attributes of all operations of specified type.

См. также