All URIs are relative to https://api.clever.com/v2.0
| Method | HTTP request | Description |
|---|---|---|
| getContact | GET /contacts/{id} | |
| getContacts | GET /contacts | |
| getContactsForStudent | GET /students/{id}/contacts | |
| getCourse | GET /courses/{id} | |
| getCourseForSection | GET /sections/{id}/course | |
| getCourses | GET /courses | |
| getDistrict | GET /districts/{id} | |
| getDistrictAdmin | GET /district_admins/{id} | |
| getDistrictAdmins | GET /district_admins | |
| getDistrictForContact | GET /contacts/{id}/district | |
| getDistrictForCourse | GET /courses/{id}/district | |
| getDistrictForDistrictAdmin | GET /district_admins/{id}/district | |
| getDistrictForSchool | GET /schools/{id}/district | |
| getDistrictForSchoolAdmin | GET /school_admins/{id}/district | |
| getDistrictForSection | GET /sections/{id}/district | |
| getDistrictForStudent | GET /students/{id}/district | |
| getDistrictForTeacher | GET /teachers/{id}/district | |
| getDistrictForTerm | GET /terms/{id}/district | |
| getDistricts | GET /districts | |
| getSchool | GET /schools/{id} | |
| getSchoolAdmin | GET /school_admins/{id} | |
| getSchoolAdmins | GET /school_admins | |
| getSchoolForSection | GET /sections/{id}/school | |
| getSchoolForStudent | GET /students/{id}/school | |
| getSchoolForTeacher | GET /teachers/{id}/school | |
| getSchools | GET /schools | |
| getSchoolsForSchoolAdmin | GET /school_admins/{id}/schools | |
| getSchoolsForStudent | GET /students/{id}/schools | |
| getSchoolsForTeacher | GET /teachers/{id}/schools | |
| getSection | GET /sections/{id} | |
| getSections | GET /sections | |
| getSectionsForCourse | GET /courses/{id}/sections | |
| getSectionsForSchool | GET /schools/{id}/sections | |
| getSectionsForStudent | GET /students/{id}/sections | |
| getSectionsForTeacher | GET /teachers/{id}/sections | |
| getSectionsForTerm | GET /terms/{id}/sections | |
| getStudent | GET /students/{id} | |
| getStudents | GET /students | |
| getStudentsForContact | GET /contacts/{id}/students | |
| getStudentsForSchool | GET /schools/{id}/students | |
| getStudentsForSection | GET /sections/{id}/students | |
| getStudentsForTeacher | GET /teachers/{id}/students | |
| getTeacher | GET /teachers/{id} | |
| getTeacherForSection | GET /sections/{id}/teacher | |
| getTeachers | GET /teachers | |
| getTeachersForSchool | GET /schools/{id}/teachers | |
| getTeachersForSection | GET /sections/{id}/teachers | |
| getTeachersForStudent | GET /students/{id}/teachers | |
| getTerm | GET /terms/{id} | |
| getTermForSection | GET /sections/{id}/term | |
| getTerms | GET /terms |
ContactResponse getContact(id)
Returns a specific student contact
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
ContactResponse result = apiInstance.getContact(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getContact");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
ContactsResponse getContacts(limit, startingAfter, endingBefore)
Returns a list of student contacts
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
ContactsResponse result = apiInstance.getContacts(limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getContacts");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
ContactsResponse getContactsForStudent(id, limit, startingAfter, endingBefore)
Returns the contacts for a student
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
ContactsResponse result = apiInstance.getContactsForStudent(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getContactsForStudent");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
CourseResponse getCourse(id)
Returns a specific course
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
CourseResponse result = apiInstance.getCourse(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getCourse");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
CourseResponse getCourseForSection(id)
Returns the course for a section
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
CourseResponse result = apiInstance.getCourseForSection(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getCourseForSection");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
CoursesResponse getCourses(limit, startingAfter, endingBefore)
Returns a list of courses
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
CoursesResponse result = apiInstance.getCourses(limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getCourses");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
DistrictResponse getDistrict(id)
Returns a specific district
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
DistrictResponse result = apiInstance.getDistrict(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrict");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
DistrictAdminResponse getDistrictAdmin(id)
Returns a specific district admin
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
DistrictAdminResponse result = apiInstance.getDistrictAdmin(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrictAdmin");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
DistrictAdminsResponse getDistrictAdmins(limit, startingAfter, endingBefore)
Returns a list of district admins
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
DistrictAdminsResponse result = apiInstance.getDistrictAdmins(limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrictAdmins");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
DistrictResponse getDistrictForContact(id)
Returns the district for a student contact
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
DistrictResponse result = apiInstance.getDistrictForContact(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrictForContact");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
DistrictResponse getDistrictForCourse(id)
Returns the district for a course
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
DistrictResponse result = apiInstance.getDistrictForCourse(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrictForCourse");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
DistrictResponse getDistrictForDistrictAdmin(id)
Returns the district for a district admin
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
DistrictResponse result = apiInstance.getDistrictForDistrictAdmin(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrictForDistrictAdmin");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
DistrictResponse getDistrictForSchool(id)
Returns the district for a school
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
DistrictResponse result = apiInstance.getDistrictForSchool(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrictForSchool");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
DistrictResponse getDistrictForSchoolAdmin(id)
Returns the district for a school admin
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
DistrictResponse result = apiInstance.getDistrictForSchoolAdmin(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrictForSchoolAdmin");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
DistrictResponse getDistrictForSection(id)
Returns the district for a section
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
DistrictResponse result = apiInstance.getDistrictForSection(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrictForSection");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
DistrictResponse getDistrictForStudent(id)
Returns the district for a student
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
DistrictResponse result = apiInstance.getDistrictForStudent(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrictForStudent");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
DistrictResponse getDistrictForTeacher(id)
Returns the district for a teacher
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
DistrictResponse result = apiInstance.getDistrictForTeacher(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrictForTeacher");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
DistrictResponse getDistrictForTerm(id)
Returns the district for a term
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
DistrictResponse result = apiInstance.getDistrictForTerm(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistrictForTerm");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
DistrictsResponse getDistricts()
Returns a list of districts
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
try {
DistrictsResponse result = apiInstance.getDistricts();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getDistricts");
e.printStackTrace();
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
SchoolResponse getSchool(id)
Returns a specific school
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
SchoolResponse result = apiInstance.getSchool(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSchool");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
SchoolAdminResponse getSchoolAdmin(id)
Returns a specific school admin
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
SchoolAdminResponse result = apiInstance.getSchoolAdmin(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSchoolAdmin");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
SchoolAdminsResponse getSchoolAdmins(limit, startingAfter, endingBefore)
Returns a list of school admins
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
SchoolAdminsResponse result = apiInstance.getSchoolAdmins(limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSchoolAdmins");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
SchoolResponse getSchoolForSection(id)
Returns the school for a section
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
SchoolResponse result = apiInstance.getSchoolForSection(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSchoolForSection");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
SchoolResponse getSchoolForStudent(id)
Returns the primary school for a student
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
SchoolResponse result = apiInstance.getSchoolForStudent(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSchoolForStudent");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
SchoolResponse getSchoolForTeacher(id)
Retrieves school info for a teacher.
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
SchoolResponse result = apiInstance.getSchoolForTeacher(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSchoolForTeacher");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
SchoolsResponse getSchools(limit, startingAfter, endingBefore)
Returns a list of schools
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
SchoolsResponse result = apiInstance.getSchools(limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSchools");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
SchoolsResponse getSchoolsForSchoolAdmin(id, limit, startingAfter, endingBefore)
Returns the schools for a school admin
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
SchoolsResponse result = apiInstance.getSchoolsForSchoolAdmin(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSchoolsForSchoolAdmin");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
SchoolsResponse getSchoolsForStudent(id, limit, startingAfter, endingBefore)
Returns the schools for a student
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
SchoolsResponse result = apiInstance.getSchoolsForStudent(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSchoolsForStudent");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
SchoolsResponse getSchoolsForTeacher(id, limit, startingAfter, endingBefore)
Returns the schools for a teacher
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
SchoolsResponse result = apiInstance.getSchoolsForTeacher(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSchoolsForTeacher");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
SectionResponse getSection(id)
Returns a specific section
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
SectionResponse result = apiInstance.getSection(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSection");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
SectionsResponse getSections(limit, startingAfter, endingBefore)
Returns a list of sections
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
SectionsResponse result = apiInstance.getSections(limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSections");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
SectionsResponse getSectionsForCourse(id, limit, startingAfter, endingBefore)
Returns the sections for a Courses
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
SectionsResponse result = apiInstance.getSectionsForCourse(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSectionsForCourse");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
SectionsResponse getSectionsForSchool(id, limit, startingAfter, endingBefore)
Returns the sections for a school
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
SectionsResponse result = apiInstance.getSectionsForSchool(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSectionsForSchool");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
SectionsResponse getSectionsForStudent(id, limit, startingAfter, endingBefore)
Returns the sections for a student
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
SectionsResponse result = apiInstance.getSectionsForStudent(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSectionsForStudent");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
SectionsResponse getSectionsForTeacher(id, limit, startingAfter, endingBefore)
Returns the sections for a teacher
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
SectionsResponse result = apiInstance.getSectionsForTeacher(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSectionsForTeacher");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
SectionsResponse getSectionsForTerm(id, limit, startingAfter, endingBefore)
Returns the sections for a term
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
SectionsResponse result = apiInstance.getSectionsForTerm(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getSectionsForTerm");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
StudentResponse getStudent(id)
Returns a specific student
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
StudentResponse result = apiInstance.getStudent(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getStudent");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
StudentsResponse getStudents(limit, startingAfter, endingBefore)
Returns a list of students
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
StudentsResponse result = apiInstance.getStudents(limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getStudents");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
StudentsResponse getStudentsForContact(id, limit, startingAfter, endingBefore)
Returns the students for a student contact
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
StudentsResponse result = apiInstance.getStudentsForContact(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getStudentsForContact");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
StudentsResponse getStudentsForSchool(id, limit, startingAfter, endingBefore)
Returns the students for a school
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
StudentsResponse result = apiInstance.getStudentsForSchool(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getStudentsForSchool");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
StudentsResponse getStudentsForSection(id, limit, startingAfter, endingBefore)
Returns the students for a section
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
StudentsResponse result = apiInstance.getStudentsForSection(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getStudentsForSection");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
StudentsResponse getStudentsForTeacher(id, limit, startingAfter, endingBefore)
Returns the students for a teacher
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
StudentsResponse result = apiInstance.getStudentsForTeacher(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getStudentsForTeacher");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
TeacherResponse getTeacher(id)
Returns a specific teacher
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
TeacherResponse result = apiInstance.getTeacher(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getTeacher");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
TeacherResponse getTeacherForSection(id)
Returns the primary teacher for a section
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
TeacherResponse result = apiInstance.getTeacherForSection(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getTeacherForSection");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
TeachersResponse getTeachers(limit, startingAfter, endingBefore)
Returns a list of teachers
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
TeachersResponse result = apiInstance.getTeachers(limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getTeachers");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
TeachersResponse getTeachersForSchool(id, limit, startingAfter, endingBefore)
Returns the teachers for a school
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
TeachersResponse result = apiInstance.getTeachersForSchool(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getTeachersForSchool");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
TeachersResponse getTeachersForSection(id, limit, startingAfter, endingBefore)
Returns the teachers for a section
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
TeachersResponse result = apiInstance.getTeachersForSection(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getTeachersForSection");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
TeachersResponse getTeachersForStudent(id, limit, startingAfter, endingBefore)
Returns the teachers for a student
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
TeachersResponse result = apiInstance.getTeachersForStudent(id, limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getTeachersForStudent");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
TermResponse getTerm(id)
Returns a specific term
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
TermResponse result = apiInstance.getTerm(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getTerm");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
TermResponse getTermForSection(id)
Returns the term for a section
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
String id = "id_example"; // String |
try {
TermResponse result = apiInstance.getTermForSection(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getTermForSection");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
- Content-Type: Not defined
- Accept: application/json
TermsResponse getTerms(limit, startingAfter, endingBefore)
Returns a list of terms
// 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.DataApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: oauth
OAuth oauth = (OAuth) defaultClient.getAuthentication("oauth");
oauth.setAccessToken("YOUR ACCESS TOKEN");
DataApi apiInstance = new DataApi();
Integer limit = 56; // Integer |
String startingAfter = "startingAfter_example"; // String |
String endingBefore = "endingBefore_example"; // String |
try {
TermsResponse result = apiInstance.getTerms(limit, startingAfter, endingBefore);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DataApi#getTerms");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| limit | Integer | [optional] | |
| startingAfter | String | [optional] | |
| endingBefore | String | [optional] |
- Content-Type: Not defined
- Accept: application/json