GroupsControllerPostGroup - метод

Store information on a group with specified identifier. Returns Status403Forbidden if the group is inaccessible or doesn't exist.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
[HttpPostAttribute("{id:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<IActionResult> PostGroup(
	[FromRouteAttribute] Guid id,
	[FromBodyAttribute] PlainGroupStoreRequest request,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
Group's identifier.
request  PlainGroupStoreRequest
Request to store the group. Identifier is overriden from a route's value id.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskIActionResult
Defines a contract that represents the result of an action method.

См. также