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.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
[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
)
<HttpPostAttribute("start-first")>
<SessionMethodAttribute(UserAccessLevel.Administrator, false, New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function PostStartFirst (
<FromQueryAttribute(Name := "type")> typeIDs As List(Of Guid),
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of Guid?))
public:
[HttpPostAttribute(L"start-first")]
[SessionMethodAttribute(UserAccessLevel::Administrator, false, __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult<Nullable<Guid>>^>^ PostStartFirst(
[FromQueryAttribute(Name = L"type")] List<Guid>^ typeIDs,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("start-first")>]
[<SessionMethodAttribute(UserAccessLevel.Administrator, false, new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member PostStartFirst :
[<FromQueryAttribute(Name = "type")>] typeIDs : List<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<Nullable<Guid>>>
- typeIDs ListGuid
- Type identifiers of operation to start. System types are listed in OperationTypes class.
- cancellationToken CancellationToken (Optional)
- Token to cancel an async task.
TaskActionResultNullableGuidIdentifier of a started operation, or 204 (No Content) if there are no such operations.