/
GetByServiceId() [NoticeManager]
GetByServiceId() [NoticeManager]
Get a list of notices by service id(s)
Description
Get a list of notices for specific service(s).
Package Details
Interface
INoticeManager
Syntax
await NoticeManager.GetByServiceId(ICollection<int> serviceIds, NoticeType? noticeTypeCd);
Returns
Task<ICollection<Notice>>
API
GET
/api/v1/services/{comma-delimieted serviceIds}/notices
Parameters
Path
id: The service id
Query string
noticeTypeCd : optional
Returns
200 OK - List of notices
Example
const int serviceId = 11;
var notices = await _noticeManager.GetByServiceId(serviceId, null);
, multiple selections available,
Related content
GetAll() [NoticeManager]
GetAll() [NoticeManager]
More like this
GetByUserId() [NoticeManager]
GetByUserId() [NoticeManager]
More like this
Create() [NoticeManager]
Create() [NoticeManager]
More like this
GetAllTypes() [NoticeManager]
GetAllTypes() [NoticeManager]
Read with this
NoticeManager
NoticeManager
More like this
GetExpiredNoticesByUserId() [NoticeManager]
GetExpiredNoticesByUserId() [NoticeManager]
Read with this