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.2+a8f0dd3c063817b2e3f05a923303d808e447c338
C#
[HttpPostAttribute("{id:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<PlainValidationResult>> 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.

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

TaskActionResultPlainValidationResult
Validation result with warnings and informational messages occured during the store. However, if errors occured, the result is the same validation result, but with HTTP code Status400BadRequest.

См. также