SchemeControllerGetProcedure - метод

Get procedure by identifier. Returns 204 (No Content) if not found.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpGetAttribute("procedures/{id:guid}")]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public ValueTask<ActionResult<PlainSchemeProcedure>> GetProcedure(
	[FromRouteAttribute] Guid id,
	CancellationToken cancellationToken = default
)

Параметры

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

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

ValueTaskActionResultPlainSchemeProcedure
Procedure, or 204 (No Content) if not found.

См. также