Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Get a list of notices by user id

Description

Retrieves a list of notices for a specific user.

Package Details

Interface

INoticeManager

Syntax

await NoticeManager.GetByUserId(int serviceId);

Returns

Task<ICollection<Notice>>

API

GET
/api/v1/users/{id}/notices

Parameters

Path
id: The user id

Returns

200 OK - List of notices

Example

const int userId = 123;
var notices = await _noticeManager.GetByUserId(userId);

  • No labels