SchemeControllerPutProcedure - метод

Save procedure, creating new one or modifying existent. Method is available for administrators only.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpPutAttribute("procedures/{id:guid}")]
[DisableRequestSizeLimitAttribute]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(201)]
public ValueTask<IActionResult> PutProcedure(
	[FromRouteAttribute] Guid id,
	[FromBodyAttribute] PlainSchemeProcedure procedure,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
Identifier of procedure to save.
procedure  PlainSchemeProcedure
Procedure to save.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

ValueTaskIActionResult
204 (No Content).

См. также