All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
userNotificationsClearNotifications | DELETE /api/manage/v1/notifications | Use this endpoint to "clear" your notifications |
userNotificationsGetNotifications | GET /api/manage/v1/notifications | Use this endpoint to recieve notifications |
userNotificationsClearNotifications(clearNotificationsVM)
Use this endpoint to "clear" your notifications
// Import classes:
//import org.openapitools.client.infrastructure.*
//import cloud.fastreport.model.*
val apiInstance = UserNotificationsApi()
val clearNotificationsVM : ClearNotificationsVM = // ClearNotificationsVM |
try {
apiInstance.userNotificationsClearNotifications(clearNotificationsVM)
} catch (e: ClientException) {
println("4xx response calling UserNotificationsApi#userNotificationsClearNotifications")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UserNotificationsApi#userNotificationsClearNotifications")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
clearNotificationsVM | ClearNotificationsVM | [optional] |
null (empty response body)
Configure ApiKey: ApiClient.username = "" ApiClient.password = "" Configure JWT: ApiClient.accessToken = ""
- Content-Type: application/json
- Accept: application/json
AuditActionsVM userNotificationsGetNotifications(skip, take, subscriptionId)
Use this endpoint to recieve notifications
// Import classes:
//import org.openapitools.client.infrastructure.*
//import cloud.fastreport.model.*
val apiInstance = UserNotificationsApi()
val skip : kotlin.Int = 56 // kotlin.Int |
val take : kotlin.Int = 56 // kotlin.Int |
val subscriptionId : kotlin.String = subscriptionId_example // kotlin.String |
try {
val result : AuditActionsVM = apiInstance.userNotificationsGetNotifications(skip, take, subscriptionId)
println(result)
} catch (e: ClientException) {
println("4xx response calling UserNotificationsApi#userNotificationsGetNotifications")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UserNotificationsApi#userNotificationsGetNotifications")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
skip | kotlin.Int | [optional] [default to 0] | |
take | kotlin.Int | [optional] [default to 5] | |
subscriptionId | kotlin.String | [optional] [default to ""] |
Configure ApiKey: ApiClient.username = "" ApiClient.password = "" Configure JWT: ApiClient.accessToken = ""
- Content-Type: Not defined
- Accept: application/json