UserInfoControllerGetUsersInfo - метод

Gets user information for multiple users with specified identifiers.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
[HttpPostAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<List<UserInfo>>> GetUsersInfo(
	[FromQueryAttribute(Name = "id")] List<Guid>? ids,
	[FromQueryAttribute] string? type = null,
	CancellationToken cancellationToken = default
)

Параметры

ids  ListGuid
A collection of user identifiers.
type  String  (Optional)
Optional user info handler type. If /empty string, the default handler is used.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskActionResultListUserInfo
A list of user information objects for existent users. If some users aren't found, then their objects are omitted.

См. также