All URIs are relative to https://hornet-trunk.dev.xtrf.eu/home-api
Method | HTTP request | Description |
---|---|---|
browseCSV | GET /browser/csv | Searches for data (ie. customer, task, etc) and returns it in a CSV form. |
browseJSON | GET /browser | Searches for data (ie. customer, task, etc) and returns it in a tabular form. |
create | POST /browser/views/for/{className} | Creates view for given class. |
delete | DELETE /browser/views/{viewId} | Removes a view. |
deleteColumn | DELETE /browser/views/{viewId}/columns/{columnName} | Deletes a single column from view. |
get | GET /browser/views/{viewId} | Returns all view's information. |
getColumnSettings | GET /browser/views/{viewId}/columns/{columnName}/settings | Returns column's specific settings. |
getColumns | GET /browser/views/{viewId}/columns | Returns columns defined in view. |
getCurrentViewDetails | GET /browser/views/details/for/{className} | Returns current view's detailed information, suitable for browser. |
getFilter | GET /browser/views/{viewId}/filter | Returns view's filter. |
getLocalSettings | GET /browser/views/{viewId}/settings/local | Returns view's local settings (for current user). |
getOrder | GET /browser/views/{viewId}/order | Returns view's order settings. |
getPermissions | GET /browser/views/{viewId}/permissions | Returns view's permissions. |
getSettings | GET /browser/views/{viewId}/settings | Returns view's settings. |
getViewDetails | GET /browser/views/details/for/{className}/{viewId} | Returns view's detailed information, suitable for browser. |
getViewsBrief | GET /browser/views/for/{className} | Returns views' brief. |
selectViewAndGetItsDetails | POST /browser/views/details/for/{className}/{viewId} | Selects given view as current and returns its detailed information, suitable for browser. |
update | PUT /browser/views/{viewId} | Updates all view's information. |
updateColumnSettings | PUT /browser/views/{viewId}/columns/{columnName}/settings | Updates column's specific settings. |
updateColumns | PUT /browser/views/{viewId}/columns | Updates columns in view. |
updateFilter | PUT /browser/views/{viewId}/filter | Updates view's filter. |
updateFilterProperty | PUT /browser/views/{viewId}/filter/{filterProperty} | Updates view's filter property. |
updateLocalSettings | PUT /browser/views/{viewId}/settings/local | Updates view's local settings (for current user). |
updateOrder | PUT /browser/views/{viewId}/order | Updates view's order settings. |
updatePermissions | PUT /browser/views/{viewId}/permissions | Updates view's permissions. |
updateSettings | PUT /browser/views/{viewId}/settings | Updates view's settings. |
Object browseCSV(viewId, separator, additionalOrder)
Searches for data (ie. customer, task, etc) and returns it in a CSV form.
Searches for data (ie. customer, task, etc) and returns it in a CSV form.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's identifier
String separator = "separator_example"; // String | csv field separator
String additionalOrder = "additionalOrder_example"; // String |
try {
Object result = apiInstance.browseCSV(viewId, separator, additionalOrder);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#browseCSV");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's identifier | [optional] |
separator | String | csv field separator | [optional] |
additionalOrder | String | [optional] |
Object
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
Object browseJSON(viewId, page, additionalOrder, useDeferredColumns, maxRows)
Searches for data (ie. customer, task, etc) and returns it in a tabular form.
Searches for data (ie. customer, task, etc) and returns it in a tabular form.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's identifier
Integer page = 56; // Integer |
String additionalOrder = "additionalOrder_example"; // String |
String useDeferredColumns = "useDeferredColumns_example"; // String |
Integer maxRows = 56; // Integer | overrides view's default rows limit, supported values 10 to 1000
try {
Object result = apiInstance.browseJSON(viewId, page, additionalOrder, useDeferredColumns, maxRows);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#browseJSON");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's identifier | [optional] |
page | Integer | [optional] | |
additionalOrder | String | [optional] | |
useDeferredColumns | String | [optional] | |
maxRows | Integer | overrides view's default rows limit, supported values 10 to 1000 | [optional] |
Object
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
ViewWithIdDTO create(body, className)
Creates view for given class.
Creates view for given class.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
ViewDTO body = new ViewDTO(); // ViewDTO | Created view for given class.
String className = "className_example"; // String | view's class name
try {
ViewWithIdDTO result = apiInstance.create(body, className);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#create");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | ViewDTO | Created view for given class. | |
className | String | view's class name |
- Content-Type: application/json;charset=UTF-8
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
delete(viewId)
Removes a view.
Removes a view. No content is returned upon success (204).
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's internal identifier
try {
apiInstance.delete(viewId);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#delete");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's internal identifier |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
List<ColumnDTO> deleteColumn(viewId, columnName)
Deletes a single column from view.
Deletes a single column from view.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's identifier
String columnName = "columnName_example"; // String | column's name
try {
List<ColumnDTO> result = apiInstance.deleteColumn(viewId, columnName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#deleteColumn");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's identifier | |
columnName | String | column's name |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
ViewDTO get(viewId)
Returns all view's information.
Returns all view's information (ie. name, columns, filters, etc).
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's identifier
try {
ViewDTO result = apiInstance.get(viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#get");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's identifier |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
Object getColumnSettings(viewId, columnName)
Returns column's specific settings.
Returns column's specific settings. For example when column describes money amount we can decide whether it should display currency or not.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's identifier
String columnName = "columnName_example"; // String | column's name
try {
Object result = apiInstance.getColumnSettings(viewId, columnName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#getColumnSettings");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's identifier | |
columnName | String | column's name |
Object
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
List<ColumnDTO> getColumns(viewId)
Returns columns defined in view.
Returns columns defined in view.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's identifier
try {
List<ColumnDTO> result = apiInstance.getColumns(viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#getColumns");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's identifier |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
ViewDetailsDTO getCurrentViewDetails(className, placeName)
Returns current view's detailed information, suitable for browser.
Returns current view's detailed information, suitable for browser.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
String className = "className_example"; // String | views' class name
String placeName = "placeName_example"; // String | place name (denotes specific place in system with the table)
try {
ViewDetailsDTO result = apiInstance.getCurrentViewDetails(className, placeName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#getCurrentViewDetails");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
className | String | views' class name | |
placeName | String | place name (denotes specific place in system with the table) | [optional] |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
FilterDTO getFilter(viewId)
Returns view's filter.
Returns view's filter.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's identifier
try {
FilterDTO result = apiInstance.getFilter(viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#getFilter");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's identifier |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
LocalSettingsDTO getLocalSettings(viewId)
Returns view's local settings (for current user).
Returns view's local settings (for current user).
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's identifier
try {
LocalSettingsDTO result = apiInstance.getLocalSettings(viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#getLocalSettings");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's identifier |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
OrderDTO getOrder(viewId)
Returns view's order settings.
Returns view's order settings.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's identifier
try {
OrderDTO result = apiInstance.getOrder(viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#getOrder");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's identifier |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
PermissionsDTO getPermissions(viewId)
Returns view's permissions.
Returns view's permissions.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's identifier
try {
PermissionsDTO result = apiInstance.getPermissions(viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#getPermissions");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's identifier |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
SettingsDTO getSettings(viewId)
Returns view's settings.
Returns view's settings (ie. name).
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Long viewId = 789L; // Long | view's identifier
try {
SettingsDTO result = apiInstance.getSettings(viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#getSettings");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
viewId | Long | view's identifier |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
ViewDetailsDTO getViewDetails(className, viewId, placeName)
Returns view's detailed information, suitable for browser.
Returns view's detailed information, suitable for browser.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
String className = "className_example"; // String | views' class name
Long viewId = 789L; // Long |
String placeName = "placeName_example"; // String | place name (denotes specific place in system with the table)
try {
ViewDetailsDTO result = apiInstance.getViewDetails(className, viewId, placeName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#getViewDetails");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
className | String | views' class name | |
viewId | Long | ||
placeName | String | place name (denotes specific place in system with the table) | [optional] |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
ViewsBriefDTO getViewsBrief(className, placeName)
Returns views' brief.
Returns views' brief.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
String className = "className_example"; // String | views' class name
String placeName = "placeName_example"; // String | place name (denotes specific place in system with the table)
try {
ViewsBriefDTO result = apiInstance.getViewsBrief(className, placeName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#getViewsBrief");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
className | String | views' class name | |
placeName | String | place name (denotes specific place in system with the table) | [optional] |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
ViewDetailsDTO selectViewAndGetItsDetails(className, viewId, placeNameDenotesSpecificPlaceInSystemWithTheTable)
Selects given view as current and returns its detailed information, suitable for browser.
Selects given view as current and returns its detailed information, suitable for browser.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
String className = "className_example"; // String | views' class name
Long viewId = 789L; // Long |
String placeNameDenotesSpecificPlaceInSystemWithTheTable = "placeNameDenotesSpecificPlaceInSystemWithTheTable_example"; // String |
try {
ViewDetailsDTO result = apiInstance.selectViewAndGetItsDetails(className, viewId, placeNameDenotesSpecificPlaceInSystemWithTheTable);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#selectViewAndGetItsDetails");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
className | String | views' class name | |
viewId | Long | ||
placeNameDenotesSpecificPlaceInSystemWithTheTable | String | [optional] |
- Content-Type: Not defined
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
ViewDTO update(body, viewId)
Updates all view's information.
Updates all view's information (ie. name, columns, filters, etc).
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
ViewDTO body = new ViewDTO(); // ViewDTO | Updated all view's information.
Long viewId = 789L; // Long | view's identifier
try {
ViewDTO result = apiInstance.update(body, viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#update");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | ViewDTO | Updated all view's information. | |
viewId | Long | view's identifier |
- Content-Type: application/json;charset=UTF-8
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
Object updateColumnSettings(body, viewId, columnName)
Updates column's specific settings.
Updates column's specific settings. For example when column describes money amount we can decide whether it should display currency or not.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
Object body = {
"description" : "ref",
"value" : "/home-api/assets/examples/browsers/views/updateColumnSettings.json#requestBody"
}; // Object | Updated column's specific settings.
Long viewId = 789L; // Long | view's identifier
String columnName = "columnName_example"; // String | column's name
try {
Object result = apiInstance.updateColumnSettings(body, viewId, columnName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#updateColumnSettings");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | Object | Updated column's specific settings. | |
viewId | Long | view's identifier | |
columnName | String | column's name |
Object
- Content-Type: application/json
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
List<ColumnDTO> updateColumns(body, viewId)
Updates columns in view.
Updates columns in view.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
List<ColumnDTO> body = Arrays.asList(new ColumnDTO()); // List<ColumnDTO> | Updated columns in view.
Long viewId = 789L; // Long | view's identifier
try {
List<ColumnDTO> result = apiInstance.updateColumns(body, viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#updateColumns");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | List<ColumnDTO> | Updated columns in view. | |
viewId | Long | view's identifier |
- Content-Type: application/json;charset=UTF-8
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
FilterDTO updateFilter(body, viewId)
Updates view's filter.
Updates view's filter.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
List<FilterPropertyDTO> body = Arrays.asList(new FilterPropertyDTO()); // List<FilterPropertyDTO> | Updated view's filter.
Long viewId = 789L; // Long | view's identifier
try {
FilterDTO result = apiInstance.updateFilter(body, viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#updateFilter");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | List<FilterPropertyDTO> | Updated view's filter. | |
viewId | Long | view's identifier |
- Content-Type: application/json;charset=UTF-8
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
Object updateFilterProperty(body, viewId, filterProperty)
Updates view's filter property.
Updates view's filter property.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
FilterPropertyDTO body = new FilterPropertyDTO(); // FilterPropertyDTO | Updated view's filter property.
Long viewId = 789L; // Long | view's identifier
String filterProperty = "filterProperty_example"; // String | view's filter property name
try {
Object result = apiInstance.updateFilterProperty(body, viewId, filterProperty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#updateFilterProperty");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | FilterPropertyDTO | Updated view's filter property. | |
viewId | Long | view's identifier | |
filterProperty | String | view's filter property name |
Object
- Content-Type: application/json
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
LocalSettingsDTO updateLocalSettings(body, viewId)
Updates view's local settings (for current user).
Updates view's local settings (for current user).
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
LocalSettingsDTO body = new LocalSettingsDTO(); // LocalSettingsDTO | Updated view's local settings (for current user).
Long viewId = 789L; // Long | view's identifier
try {
LocalSettingsDTO result = apiInstance.updateLocalSettings(body, viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#updateLocalSettings");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | LocalSettingsDTO | Updated view's local settings (for current user). | |
viewId | Long | view's identifier |
- Content-Type: application/json
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
OrderDTO updateOrder(body, viewId)
Updates view's order settings.
Updates view's order settings.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
OrderDTO body = new OrderDTO(); // OrderDTO | Updated view's order settings.
Long viewId = 789L; // Long | view's identifier
try {
OrderDTO result = apiInstance.updateOrder(body, viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#updateOrder");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | OrderDTO | Updated view's order settings. | |
viewId | Long | view's identifier |
- Content-Type: application/json;charset=UTF-8
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
PermissionsDTO updatePermissions(body, viewId)
Updates view's permissions.
Updates view's permissions.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
PermissionsDTO body = new PermissionsDTO(); // PermissionsDTO | Updated view's permissions.
Long viewId = 789L; // Long | view's identifier
try {
PermissionsDTO result = apiInstance.updatePermissions(body, viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#updatePermissions");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | PermissionsDTO | Updated view's permissions. | |
viewId | Long | view's identifier |
- Content-Type: application/json
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8
SettingsDTO updateSettings(body, viewId)
Updates view's settings.
Updates view's settings.
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.BrowserApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: X-AUTH-ACCESS-TOKEN
ApiKeyAuth X-AUTH-ACCESS-TOKEN = (ApiKeyAuth) defaultClient.getAuthentication("X-AUTH-ACCESS-TOKEN");
X-AUTH-ACCESS-TOKEN.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//X-AUTH-ACCESS-TOKEN.setApiKeyPrefix("Token");
BrowserApi apiInstance = new BrowserApi();
SettingsDTO body = new SettingsDTO(); // SettingsDTO | Updated view's settings.
Long viewId = 789L; // Long | view's identifier
try {
SettingsDTO result = apiInstance.updateSettings(body, viewId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BrowserApi#updateSettings");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | SettingsDTO | Updated view's settings. | |
viewId | Long | view's identifier |
- Content-Type: application/json
- Accept: application/vnd.xtrf-v1+json;charset=UTF-8