Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Get a list of outage notices by user id

Description

Retrieves a list of outage notices for a specific user.

Package Details

Interface

IOutageNoticeManager

Syntax

await OutageNoticeManager.GetByUserId(int serviceId);

Returns

Task<ICollection<OutageNotice>>

API

GET
/api/v1/users/{id}/outage-notices

Parameters

Path
id: The user id

Returns

200 OK - List of outage notices

Example

const int userId = 123
var notices = await _outageNoticeManager.GetByUserId(userId);

  • No labels