# EduchatApi.InstitutionApi

All URIs are relative to *https://api.edu.chat*

Method | HTTP request | Description
------------- | ------------- | -------------
[**institutionDepartmentList**](InstitutionApi.md#institutionDepartmentList) | **GET** /v1/institution/department/ | Paginated;
[**institutionSchoolList**](InstitutionApi.md#institutionSchoolList) | **GET** /v1/institution/school/ | Paginated;
[**institutionUniversityList**](InstitutionApi.md#institutionUniversityList) | **GET** /v1/institution/university/ | Paginated;


<a name="institutionDepartmentList"></a>
# **institutionDepartmentList**
> InlineResponse2011 institutionDepartmentList(opts)

Paginated;

Paginated; Filter by Optional( { &#39;id&#39;       : [&#39;exact&#39;], &#39;name&#39;     : [&#39;exact&#39;, &#39;icontains&#39;], &#39;school_id&#39;: [&#39;exact&#39;] } );

### Example
```javascript
var EduchatApi = require('educhat_api');

var apiInstance = new EduchatApi.InstitutionApi();

var opts = { 
  'limit': 56, // Number | Number of results to return per page.
  'offset': 56, // Number | The initial index from which to return the results.
  'id': "id_example", // String | 
  'name': "name_example", // String | 
  'nameIcontains': "nameIcontains_example", // String | 
  'schoolId': "schoolId_example" // String | 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.institutionDepartmentList(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **limit** | **Number**| Number of results to return per page. | [optional] 
 **offset** | **Number**| The initial index from which to return the results. | [optional] 
 **id** | **String**|  | [optional] 
 **name** | **String**|  | [optional] 
 **nameIcontains** | **String**|  | [optional] 
 **schoolId** | **String**|  | [optional] 

### Return type

[**InlineResponse2011**](InlineResponse2011.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="institutionSchoolList"></a>
# **institutionSchoolList**
> InlineResponse2011 institutionSchoolList(opts)

Paginated;

Paginated; Filter by Optional( { &#39;id&#39;           : [&#39;exact&#39;], &#39;name&#39;         : [&#39;exact&#39;, &#39;icontains&#39;], &#39;university_id&#39;: [&#39;exact&#39;] } );

### Example
```javascript
var EduchatApi = require('educhat_api');

var apiInstance = new EduchatApi.InstitutionApi();

var opts = { 
  'limit': 56, // Number | Number of results to return per page.
  'offset': 56, // Number | The initial index from which to return the results.
  'id': "id_example", // String | 
  'name': "name_example", // String | 
  'nameIcontains': "nameIcontains_example", // String | 
  'universityId': "universityId_example" // String | 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.institutionSchoolList(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **limit** | **Number**| Number of results to return per page. | [optional] 
 **offset** | **Number**| The initial index from which to return the results. | [optional] 
 **id** | **String**|  | [optional] 
 **name** | **String**|  | [optional] 
 **nameIcontains** | **String**|  | [optional] 
 **universityId** | **String**|  | [optional] 

### Return type

[**InlineResponse2011**](InlineResponse2011.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="institutionUniversityList"></a>
# **institutionUniversityList**
> InlineResponse2011 institutionUniversityList(opts)

Paginated;

Paginated; Filter by Optional( { &#39;id&#39;  : [&#39;exact&#39;], &#39;name&#39;: [&#39;exact&#39;, &#39;icontains&#39;], } );

### Example
```javascript
var EduchatApi = require('educhat_api');

var apiInstance = new EduchatApi.InstitutionApi();

var opts = { 
  'limit': 56, // Number | Number of results to return per page.
  'offset': 56, // Number | The initial index from which to return the results.
  'id': "id_example", // String | 
  'name': "name_example", // String | 
  'nameIcontains': "nameIcontains_example" // String | 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.institutionUniversityList(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **limit** | **Number**| Number of results to return per page. | [optional] 
 **offset** | **Number**| The initial index from which to return the results. | [optional] 
 **id** | **String**|  | [optional] 
 **name** | **String**|  | [optional] 
 **nameIcontains** | **String**|  | [optional] 

### Return type

[**InlineResponse2011**](InlineResponse2011.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

