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 org.openapitools.client.api.ObjectActivesessionApi;
ObjectActivesessionApi apiInstance = new ObjectActivesessionApi();
try {
ActivesessionGetCurrentV1Response result = apiInstance.activesessionGetCurrentV1();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectActivesessionApi#activesessionGetCurrentV1");
e.printStackTrace();
}
This endpoint does not need any parameter.
ActivesessionGetCurrentV1Response
- Content-Type: Not defined
- Accept: application/json
ActivesessionGetListV1Response activesessionGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter)
Retrieve Activesession list
// Import classes:
//import org.openapitools.client.api.ObjectActivesessionApi;
ObjectActivesessionApi apiInstance = new ObjectActivesessionApi();
String eOrderBy = null; // String | Specify how you want the results to be sorted
Integer iRowMax = null; // Integer |
Integer iRowOffset = 0; // Integer |
HeaderAcceptLanguage acceptLanguage = null; // HeaderAcceptLanguage |
String sFilter = null; // String |
try {
ActivesessionGetListV1Response result = apiInstance.activesessionGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectActivesessionApi#activesessionGetListV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
eOrderBy | String | Specify how you want the results to be sorted | [optional] [default to null] [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 | Integer | [optional] [default to null] | |
iRowOffset | Integer | [optional] [default to 0] | |
acceptLanguage | HeaderAcceptLanguage | [optional] [default to null] [enum: *, en, fr] | |
sFilter | String | [optional] [default to null] |
ActivesessionGetListV1Response
- Content-Type: Not defined
- Accept: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet