Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

await NoticeManager.GetByUserId(int serviceIduserId, bool toBeDisplayedOnly = true);

Returns

Task<ICollection<Notice>>

...

Parameters

Path
id: The user id

Query string (optional)

onlyApplicableNotices: true by default. true: all notices of the user that reached display start date time

Returns

200 OK - List of notices

...

Code Block
languagec#
const int userId = 123;
var notices = await _noticeManager.GetByUserId(userId, true);