import 'package:openapi/api.dart';
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 'package:openapi/api.dart';
// TODO Configure API key authorization: Authorization
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKeyPrefix = 'Bearer';
final api_instance = ObjectActivesessionApi();
try {
final result = api_instance.activesessionGetCurrentV1();
print(result);
} catch (e) {
print('Exception when calling ObjectActivesessionApi->activesessionGetCurrentV1: $e\n');
}
This endpoint does not need any parameter.
ActivesessionGetCurrentV1Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ActivesessionGetListV1Response activesessionGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter)
Retrieve Activesession list
import 'package:openapi/api.dart';
// TODO Configure API key authorization: Authorization
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKeyPrefix = 'Bearer';
final api_instance = ObjectActivesessionApi();
final eOrderBy = eOrderBy_example; // String | Specify how you want the results to be sorted
final iRowMax = 56; // int |
final iRowOffset = 56; // int |
final acceptLanguage = ; // HeaderAcceptLanguage |
final sFilter = sFilter_example; // String |
try {
final result = api_instance.activesessionGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter);
print(result);
} catch (e) {
print('Exception when calling ObjectActivesessionApi->activesessionGetListV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
eOrderBy | String | Specify how you want the results to be sorted | [optional] |
iRowMax | int | [optional] | |
iRowOffset | int | [optional] [default to 0] | |
acceptLanguage | HeaderAcceptLanguage | [optional] | |
sFilter | String | [optional] |
ActivesessionGetListV1Response
- Content-Type: Not defined
- Accept: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]