# XgeneCloud.CofdictentryApi

All URIs are relative to *http://localhost:8080/*

Method | HTTP request | Description
------------- | ------------- | -------------
[**addcofDictEntry**](CofdictentryApi.md#addcofDictEntry) | **POST** /api/v1/cof_dict_entry | Add a new cof_dict_entry
[**bulkcofDictEntryInsert**](CofdictentryApi.md#bulkcofDictEntryInsert) | **POST** /api/v1/cof_dict_entry/bulk | Bulk cof_dict_entry insert
[**checkcofDictEntryExists**](CofdictentryApi.md#checkcofDictEntryExists) | **GET** /api/v1/cof_dict_entry/{cof_dict_entryId}/exists | Check cof_dict_entry with provided ID exists
[**cofDictEntryAggregate**](CofdictentryApi.md#cofDictEntryAggregate) | **GET** /api/v1/cof_dict_entry/aggregate/{columnName} | Get first one from filtered data
[**cofDictEntryDistinct**](CofdictentryApi.md#cofDictEntryDistinct) | **GET** /api/v1/cof_dict_entry/distinct/{columnName} | Get first one from filtered data
[**cofDictEntryDistribution**](CofdictentryApi.md#cofDictEntryDistribution) | **GET** /api/v1/cof_dict_entry/distribution/{columnName} | 
[**cofDictEntryGroupByColumn**](CofdictentryApi.md#cofDictEntryGroupByColumn) | **GET** /api/v1/cof_dict_entry/groupby/{columnName} | Group by column
[**deletecofDictEntry**](CofdictentryApi.md#deletecofDictEntry) | **DELETE** /api/v1/cof_dict_entry/bulk | Deletes a cof_dict_entry
[**deletecofDictEntry_0**](CofdictentryApi.md#deletecofDictEntry_0) | **DELETE** /api/v1/cof_dict_entry/{cof_dict_entryId} | Deletes a cof_dict_entry
[**findOnecofDictEntry**](CofdictentryApi.md#findOnecofDictEntry) | **GET** /api/v1/cof_dict_entry/findOne | Get first one from filtered data
[**getcofDictEntry**](CofdictentryApi.md#getcofDictEntry) | **GET** /api/v1/cof_dict_entry | Get list
[**getcofDictEntryById**](CofdictentryApi.md#getcofDictEntryById) | **GET** /api/v1/cof_dict_entry/{cof_dict_entryId} | Find cof_dict_entry by ID
[**getcofDictEntryCount**](CofdictentryApi.md#getcofDictEntryCount) | **GET** /api/v1/cof_dict_entry/count | Get cof_dict_entry count
[**updatecofDictEntry**](CofdictentryApi.md#updatecofDictEntry) | **PUT** /api/v1/cof_dict_entry/bulk | Updates a cof_dict_entry
[**updatecofDictEntry_0**](CofdictentryApi.md#updatecofDictEntry_0) | **PUT** /api/v1/cof_dict_entry/{cof_dict_entryId} | Updates a cof_dict_entry


<a name="addcofDictEntry"></a>
# **addcofDictEntry**
> addcofDictEntry(body)

Add a new cof_dict_entry



### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var body = new XgeneCloud.CofDictEntry(); // CofDictEntry | cof_dict_entry object that needs to add


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.addcofDictEntry(body, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**CofDictEntry**](CofDictEntry.md)| cof_dict_entry object that needs to add | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="bulkcofDictEntryInsert"></a>
# **bulkcofDictEntryInsert**
> bulkcofDictEntryInsert(body)

Bulk cof_dict_entry insert



### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var body = [new XgeneCloud.CofDictEntry()]; // [CofDictEntry] | cof_dict_entry objects


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.bulkcofDictEntryInsert(body, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**[CofDictEntry]**](CofDictEntry.md)| cof_dict_entry objects | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="checkcofDictEntryExists"></a>
# **checkcofDictEntryExists**
> &#39;Boolean&#39; checkcofDictEntryExists(cofDictEntryId)

Check cof_dict_entry with provided ID exists

Returns a single cof_dict_entry

### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var cofDictEntryId = 789; // Integer | ID of cof_dict_entry


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.checkcofDictEntryExists(cofDictEntryId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **cofDictEntryId** | **Integer**| ID of cof_dict_entry | 

### Return type

**&#39;Boolean&#39;**

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="cofDictEntryAggregate"></a>
# **cofDictEntryAggregate**
> CofDictEntry cofDictEntryAggregate(columnName, fields, func, opts)

Get first one from filtered data



### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var columnName = "columnName_example"; // String | Column name

var fields = "fields_example"; // String | Column name

var func = "func_example"; // String | Comma seperated aggregate functions

var opts = { 
  'having': "having_example", // String | Having expression
  'fields2': "fields_example", // String | Comma seperated fields from the model
  'limit': 789, // Integer | Page size limit
  'offset': 789, // Integer | Pagination offset
  'sort': "sort_example" // String | Comma seperated sort fields
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.cofDictEntryAggregate(columnName, fields, func, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **columnName** | **String**| Column name | 
 **fields** | **String**| Column name | 
 **func** | **String**| Comma seperated aggregate functions | 
 **having** | **String**| Having expression | [optional] 
 **fields2** | **String**| Comma seperated fields from the model | [optional] 
 **limit** | **Integer**| Page size limit | [optional] 
 **offset** | **Integer**| Pagination offset | [optional] 
 **sort** | **String**| Comma seperated sort fields | [optional] 

### Return type

[**CofDictEntry**](CofDictEntry.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="cofDictEntryDistinct"></a>
# **cofDictEntryDistinct**
> [Object] cofDictEntryDistinct(columnName, opts)

Get first one from filtered data



### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var columnName = "columnName_example"; // String | Column name

var opts = { 
  'where': "where_example", // String | Where expression
  'limit': 789, // Integer | Page size limit
  'offset': 789, // Integer | Pagination offset
  'sort': "sort_example" // String | Comma seperated sort fieldst
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.cofDictEntryDistinct(columnName, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **columnName** | **String**| Column name | 
 **where** | **String**| Where expression | [optional] 
 **limit** | **Integer**| Page size limit | [optional] 
 **offset** | **Integer**| Pagination offset | [optional] 
 **sort** | **String**| Comma seperated sort fieldst | [optional] 

### Return type

**[Object]**

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="cofDictEntryDistribution"></a>
# **cofDictEntryDistribution**
> [Object] cofDictEntryDistribution(columnName, opts)





### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var columnName = "columnName_example"; // String | Column name

var opts = { 
  'min': 789, // Integer | min value
  'max': 789, // Integer | max value
  'step': 789, // Integer | step value
  'steps': 789, // Integer | steps value
  'func': "func_example" // String | comma separated aggregation functions
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.cofDictEntryDistribution(columnName, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **columnName** | **String**| Column name | 
 **min** | **Integer**| min value | [optional] 
 **max** | **Integer**| max value | [optional] 
 **step** | **Integer**| step value | [optional] 
 **steps** | **Integer**| steps value | [optional] 
 **func** | **String**| comma separated aggregation functions | [optional] 

### Return type

**[Object]**

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="cofDictEntryGroupByColumn"></a>
# **cofDictEntryGroupByColumn**
> CofDictEntry cofDictEntryGroupByColumn(columnName, opts)

Group by column



### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var columnName = "columnName_example"; // String | Column name

var opts = { 
  'where': "where_example", // String | Where expression
  'limit': 789, // Integer | Page size limit
  'offset': 789, // Integer | Pagination offset
  'sort': "sort_example" // String | Comma seperated sort fieldst
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.cofDictEntryGroupByColumn(columnName, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **columnName** | **String**| Column name | 
 **where** | **String**| Where expression | [optional] 
 **limit** | **Integer**| Page size limit | [optional] 
 **offset** | **Integer**| Pagination offset | [optional] 
 **sort** | **String**| Comma seperated sort fieldst | [optional] 

### Return type

[**CofDictEntry**](CofDictEntry.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="deletecofDictEntry"></a>
# **deletecofDictEntry**
> deletecofDictEntry(body)

Deletes a cof_dict_entry



### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var body = [new XgeneCloud.CofDictEntry()]; // [CofDictEntry] | cof_dict_entry objects contains id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deletecofDictEntry(body, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**[CofDictEntry]**](CofDictEntry.md)| cof_dict_entry objects contains id | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="deletecofDictEntry_0"></a>
# **deletecofDictEntry_0**
> deletecofDictEntry_0(cofDictEntryId)

Deletes a cof_dict_entry



### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var cofDictEntryId = 789; // Integer | ID of cof_dict_entry to return


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.deletecofDictEntry_0(cofDictEntryId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **cofDictEntryId** | **Integer**| ID of cof_dict_entry to return | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="findOnecofDictEntry"></a>
# **findOnecofDictEntry**
> CofDictEntry findOnecofDictEntry(opts)

Get first one from filtered data



### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var opts = { 
  'fields': "fields_example", // String | Comma seperated fields from the model
  'where': "where_example", // String | Where expression
  'limit': 789, // Integer | Page size limit
  'offset': 789, // Integer | Pagination offset
  'sort': "sort_example" // String | Comma seperated sort fieldst
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.findOnecofDictEntry(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **fields** | **String**| Comma seperated fields from the model | [optional] 
 **where** | **String**| Where expression | [optional] 
 **limit** | **Integer**| Page size limit | [optional] 
 **offset** | **Integer**| Pagination offset | [optional] 
 **sort** | **String**| Comma seperated sort fieldst | [optional] 

### Return type

[**CofDictEntry**](CofDictEntry.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="getcofDictEntry"></a>
# **getcofDictEntry**
> getcofDictEntry(opts)

Get list



### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var opts = { 
  'fields': "fields_example", // String | Comma seperated fields from the model
  'where': "where_example", // String | Where expression
  'limit': 789, // Integer | Page size limit
  'offset': 789, // Integer | Pagination offset
  'sort': "sort_example" // String | Comma seperated sort fields
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.getcofDictEntry(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **fields** | **String**| Comma seperated fields from the model | [optional] 
 **where** | **String**| Where expression | [optional] 
 **limit** | **Integer**| Page size limit | [optional] 
 **offset** | **Integer**| Pagination offset | [optional] 
 **sort** | **String**| Comma seperated sort fields | [optional] 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="getcofDictEntryById"></a>
# **getcofDictEntryById**
> CofDictEntry getcofDictEntryById(cofDictEntryId)

Find cof_dict_entry by ID

Returns a single cof_dict_entry

### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var cofDictEntryId = 789; // Integer | ID of cof_dict_entry to return


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getcofDictEntryById(cofDictEntryId, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **cofDictEntryId** | **Integer**| ID of cof_dict_entry to return | 

### Return type

[**CofDictEntry**](CofDictEntry.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="getcofDictEntryCount"></a>
# **getcofDictEntryCount**
> Object getcofDictEntryCount(opts)

Get cof_dict_entry count

### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var opts = { 
  'where': "where_example" // String | Where expression
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getcofDictEntryCount(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **where** | **String**| Where expression | [optional] 

### Return type

**Object**

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="updatecofDictEntry"></a>
# **updatecofDictEntry**
> updatecofDictEntry(body)

Updates a cof_dict_entry



### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var body = [new XgeneCloud.CofDictEntry()]; // [CofDictEntry] | cof_dict_entry objects with id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updatecofDictEntry(body, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**[CofDictEntry]**](CofDictEntry.md)| cof_dict_entry objects with id | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="updatecofDictEntry_0"></a>
# **updatecofDictEntry_0**
> updatecofDictEntry_0(cofDictEntryId, body)

Updates a cof_dict_entry



### Example
```javascript
var XgeneCloud = require('xgene_cloud');

var apiInstance = new XgeneCloud.CofdictentryApi();

var cofDictEntryId = 789; // Integer | ID of cof_dict_entry to return

var body = new XgeneCloud.CofDictEntry(); // CofDictEntry | cof_dict_entry object that needs to be added to the store


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.updatecofDictEntry_0(cofDictEntryId, body, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **cofDictEntryId** | **Integer**| ID of cof_dict_entry to return | 
 **body** | [**CofDictEntry**](CofDictEntry.md)| cof_dict_entry object that needs to be added to the store | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

