All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
userProfileGetMyProfile | GET /api/manage/v1/UserProfile | Return current profile of the current user |
userProfileGetUserProfile | GET /api/manage/v1/UserProfile/{userId} | Return user profile by user identifier. If the user did not provide information about himself or blocked, then the endpoint will return an empty model. (only id) |
userProfileUpdateMyProfile | PUT /api/manage/v1/UserProfile | Update profile of the current user |
UserProfileVM userProfileGetMyProfile()
Return current profile of the current user
// Import classes:
//import org.openapitools.client.infrastructure.*
//import cloud.fastreport.model.*
val apiInstance = UserProfileApi()
try {
val result : UserProfileVM = apiInstance.userProfileGetMyProfile()
println(result)
} catch (e: ClientException) {
println("4xx response calling UserProfileApi#userProfileGetMyProfile")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UserProfileApi#userProfileGetMyProfile")
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
UserProfileVM userProfileGetUserProfile(userId)
Return user profile by user identifier. If the user did not provide information about himself or blocked, then the endpoint will return an empty model. (only id)
// Import classes:
//import org.openapitools.client.infrastructure.*
//import cloud.fastreport.model.*
val apiInstance = UserProfileApi()
val userId : kotlin.String = userId_example // kotlin.String |
try {
val result : UserProfileVM = apiInstance.userProfileGetUserProfile(userId)
println(result)
} catch (e: ClientException) {
println("4xx response calling UserProfileApi#userProfileGetUserProfile")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UserProfileApi#userProfileGetUserProfile")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
userId | kotlin.String |
Configure ApiKey: ApiClient.username = "" ApiClient.password = "" Configure JWT: ApiClient.accessToken = ""
- Content-Type: Not defined
- Accept: application/json
userProfileUpdateMyProfile(updateUserProfileVM)
Update profile of the current user
This method is only allowed for local sign in via intranet
// Import classes:
//import org.openapitools.client.infrastructure.*
//import cloud.fastreport.model.*
val apiInstance = UserProfileApi()
val updateUserProfileVM : UpdateUserProfileVM = // UpdateUserProfileVM |
try {
apiInstance.userProfileUpdateMyProfile(updateUserProfileVM)
} catch (e: ClientException) {
println("4xx response calling UserProfileApi#userProfileUpdateMyProfile")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UserProfileApi#userProfileUpdateMyProfile")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
updateUserProfileVM | UpdateUserProfileVM | [optional] |
null (empty response body)
Configure ApiKey: ApiClient.username = "" ApiClient.password = "" Configure JWT: ApiClient.accessToken = ""
- Content-Type: application/json
- Accept: application/json