Table of Contents

Class RecordingAlertController

Namespace
adas_core.Controllers
Assembly
adas-core.dll
[Route("alerts")]
[ApiController]
public class RecordingAlertController : ControllerBase
Inheritance
RecordingAlertController
Inherited Members
Extension Methods

Constructors

RecordingAlertController(IRecordingAlertService)

Initializes a new instance of the RecordingAlertController class with the specified recording alert service.

public RecordingAlertController(IRecordingAlertService recordingAlertService)

Parameters

recordingAlertService IRecordingAlertService

The service that handles the recording alert operations.

Methods

ProcessRequest(RecordingAlertDto)

Processes an incoming recording alert request by mapping the incoming DTO to an internal API request and persisting it either synchronously or asynchronously based on whether the caller requires a result.

[HttpPost]
[Route("")]
[AuthorizeRoles(PermissionEnum.RolesType.AuthSome)]
[PermissionAuthorize("Source", "DisplayId")]
public IActionResult ProcessRequest(RecordingAlertDto recordingAlertDto)

Parameters

recordingAlertDto RecordingAlertDto

The recording alert payload containing the patient number, location, recording alerts, recording data, message time, and a flag indicating whether the operation should wait for completion.

Returns

IActionResult