IAzureCosmosDbGetAlertType Method

Retrieves a AlertTypeDto by its alertTypeId.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<AlertTypeDto> GetAlertType(
	Guid companyId,
	Guid alertTypeId,
	CancellationToken cancellationToken = default
)

Parameters

companyId  Guid
ID of the CompanyDto that the alert rule belongs to
alertTypeId  Guid
ID of the AlertTypeDto to retrieve
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskAlertTypeDto
Found AlertTypeDto, or if not found.

See Also