All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
userSettingsAcceptAgreements | POST /api/manage/v1/UserSettings/accept | Use this endpoint to accept current version of service license agreement |
userSettingsGetCurrentUserSettings | GET /api/manage/v1/UserSettings | Return current user settings. |
userSettingsUpdateMySettings | PUT /api/manage/v1/UserSettings | Update settings of the current user |
userSettingsAcceptAgreements(acceptAgreementsVM)
Use this endpoint to accept current version of service license agreement
// Import classes:
//import org.openapitools.client.infrastructure.*
//import cloud.fastreport.model.*
val apiInstance = UserSettingsApi()
val acceptAgreementsVM : AcceptAgreementsVM = // AcceptAgreementsVM |
try {
apiInstance.userSettingsAcceptAgreements(acceptAgreementsVM)
} catch (e: ClientException) {
println("4xx response calling UserSettingsApi#userSettingsAcceptAgreements")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UserSettingsApi#userSettingsAcceptAgreements")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
acceptAgreementsVM | AcceptAgreementsVM | [optional] |
null (empty response body)
Configure ApiKey: ApiClient.username = "" ApiClient.password = "" Configure JWT: ApiClient.accessToken = ""
- Content-Type: application/json
- Accept: Not defined
UserSettingsVM userSettingsGetCurrentUserSettings()
Return current user settings.
// Import classes:
//import org.openapitools.client.infrastructure.*
//import cloud.fastreport.model.*
val apiInstance = UserSettingsApi()
try {
val result : UserSettingsVM = apiInstance.userSettingsGetCurrentUserSettings()
println(result)
} catch (e: ClientException) {
println("4xx response calling UserSettingsApi#userSettingsGetCurrentUserSettings")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UserSettingsApi#userSettingsGetCurrentUserSettings")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure ApiKey: ApiClient.username = "" ApiClient.password = "" Configure JWT: ApiClient.accessToken = ""
- Content-Type: Not defined
- Accept: application/json
UserSettingsVM userSettingsUpdateMySettings(updateUserSettingsVM)
Update settings of the current user
// Import classes:
//import org.openapitools.client.infrastructure.*
//import cloud.fastreport.model.*
val apiInstance = UserSettingsApi()
val updateUserSettingsVM : UpdateUserSettingsVM = // UpdateUserSettingsVM |
try {
val result : UserSettingsVM = apiInstance.userSettingsUpdateMySettings(updateUserSettingsVM)
println(result)
} catch (e: ClientException) {
println("4xx response calling UserSettingsApi#userSettingsUpdateMySettings")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UserSettingsApi#userSettingsUpdateMySettings")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
updateUserSettingsVM | UpdateUserSettingsVM | [optional] |
Configure ApiKey: ApiClient.username = "" ApiClient.password = "" Configure JWT: ApiClient.accessToken = ""
- Content-Type: application/json
- Accept: application/json