Interface IUserNotificationsClient
Namespace: FastReport.Cloud
Assembly: FastReport.Cloud.SDK.dll
Syntax
public interface IUserNotificationsClient
Methods
ClearNotifications(ClearNotificationsVM)
Use this endpoint to "clear" your notifications
Declaration
void ClearNotifications(ClearNotificationsVM body = null)
Parameters
Type | Name | Description |
---|---|---|
ClearNotificationsVM | body |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ClearNotificationsAsync(ClearNotificationsVM, System.Threading.CancellationToken)
Use this endpoint to "clear" your notifications
Declaration
System.Threading.Tasks.Task ClearNotificationsAsync(ClearNotificationsVM body = null, System.Threading.CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ClearNotificationsVM | body | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | Notifications are cleared |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
GetNotifications(Nullable<Int32>, Nullable<Int32>, String)
Use this endpoint to recieve notifications
Declaration
AuditActionsVM GetNotifications(int? skip = null, int? take = null, string subscriptionId = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int32> | skip | |
System.Nullable<System.Int32> | take | |
System.String | subscriptionId |
Returns
Type | Description |
---|---|
AuditActionsVM | Notifications are getted |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
GetNotificationsAsync(Nullable<Int32>, Nullable<Int32>, String, System.Threading.CancellationToken)
Use this endpoint to recieve notifications
Declaration
System.Threading.Tasks.Task<AuditActionsVM> GetNotificationsAsync(int? skip = null, int? take = null, string subscriptionId = null, System.Threading.CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int32> | skip | |
System.Nullable<System.Int32> | take | |
System.String | subscriptionId | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<AuditActionsVM> | Notifications are getted |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |