GetById() [NoticeManager]
Get a notice by id
Description
Retrieve a notice by id.
Package Details
Interface
INoticeManager
Syntax
await NoticeManager.GetById(int id);
Returns
Task<Notice>
API
GET
/api/v1/notices/{id}
Parameters
Path
id: The notice id
Returns
200 OK - notice
Example
const int noticeId = 123;
var notices = await _noticeManager.GetById(noticeId);