Get a list of notices by service id
Description
Get a list of notices for a specific service.
Package Details
Interface
INoticeManager
Syntax
await NoticeManager.GetByServiceId(int serviceId);
Returns
Task<ICollection<Notice>>
API
GET
/api/v1/services/{id}/notices
Parameters
Path
id: The service id
Returns
200 OK - List of notices
Example
const int serviceId = 11; var notices = await _noticeManager.GetByServiceId(serviceId);