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