All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
activesessionGetCurrentV1 | GET /1/object/activesession/getCurrent | Get Current Activesession |
activesessionGetListV1 | GET /1/object/activesession/getList | Retrieve Activesession list |
ActivesessionGetCurrentV1Response activesessionGetCurrentV1()
Get Current Activesession
Retrieve the details about the current activesession
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectActivesessionApi()
try {
val result : ActivesessionGetCurrentV1Response = apiInstance.activesessionGetCurrentV1()
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectActivesessionApi#activesessionGetCurrentV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectActivesessionApi#activesessionGetCurrentV1")
e.printStackTrace()
}
This endpoint does not need any parameter.
ActivesessionGetCurrentV1Response
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ActivesessionGetListV1Response activesessionGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter)
Retrieve Activesession list
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectActivesessionApi()
val eOrderBy : kotlin.String = eOrderBy_example // kotlin.String | Specify how you want the results to be sorted
val iRowMax : kotlin.Int = 56 // kotlin.Int |
val iRowOffset : kotlin.Int = 56 // kotlin.Int |
val acceptLanguage : HeaderAcceptLanguage = // HeaderAcceptLanguage |
val sFilter : kotlin.String = sFilter_example // kotlin.String |
try {
val result : ActivesessionGetListV1Response = apiInstance.activesessionGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectActivesessionApi#activesessionGetListV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectActivesessionApi#activesessionGetListV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
eOrderBy | kotlin.String | Specify how you want the results to be sorted | [optional] [enum: pkiActivesessionID_ASC, pkiActivesessionID_DESC, fkiUserID_ASC, fkiUserID_DESC, fkiComputerID_ASC, fkiComputerID_DESC, fkiCompanyID_ASC, fkiCompanyID_DESC, fkiDepartmentID_ASC, fkiDepartmentID_DESC, sCompanyNameX_ASC, sCompanyNameX_DESC, sDepartmentNameX_ASC, sDepartmentNameX_DESC, sActivesessionLoginname_ASC, sActivesessionLoginname_DESC, sComputerDescription_ASC, sComputerDescription_DESC, dtActivesessionFirsthit_ASC, dtActivesessionFirsthit_DESC, dtActivesessionLasthit_ASC, dtActivesessionLasthit_DESC, sActivesessionIP_ASC, sActivesessionIP_DESC] |
iRowMax | kotlin.Int | [optional] | |
iRowOffset | kotlin.Int | [optional] [default to 0] | |
acceptLanguage | HeaderAcceptLanguage | [optional] [enum: *, en, fr] | |
sFilter | kotlin.String | [optional] |
ActivesessionGetListV1Response
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json