WfeControllerSetDefaultVersion - метод
Set workflow process as default by ID.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[HttpPostAttribute("process-templates/versions/{id:guid}/set-default")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<PlainValidationResult>> SetDefaultVersion(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("process-templates/versions/{id:guid}/set-default")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function SetDefaultVersion (
<FromRouteAttribute> id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of PlainValidationResult))
public:
[HttpPostAttribute(L"process-templates/versions/{id:guid}/set-default")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<PlainValidationResult^>^>^ SetDefaultVersion(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("process-templates/versions/{id:guid}/set-default")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member SetDefaultVersion :
[<FromRouteAttribute>] id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<PlainValidationResult>>
- id Guid
- Process version RowID.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultPlainValidationResultResult of operation.