# query_students_api All URIs are relative to *https://dev-sg.portal.hocvienconggiao.com* Method | HTTP request | Description ------------- | ------------- | ------------- **getStudents**](query_students_api.md#getStudents) | **GET** /query-api/student-service/students | Get all students # **getStudents** > models::StudentViewCollection getStudents(ctx, optional) Get all students Returns all students ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context containing the authentication | nil if no authentication **optional** | **map[string]interface{}** | optional parameters | nil if no parameters ### Optional Parameters Optional parameters are passed through a map[string]interface{}. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| | **email** | **String**| | **phone** | **String**| | **undergraduate_school** | **String**| | **date_of_birth** | **chrono::DateTime::**| | **place_of_birth** | **String**| | **sorts** | [**models::StudentSortCriteria**](models::StudentSortCriteria.md)| to sort +displayName for ASC and -displayName for DESC | **offset** | **i32**| The number of students to skip before starting to collect the result set. | **count** | **i32**| The number of students to return. | [default to 20] ### Return type [**models::StudentViewCollection**](StudentViewCollection.md) ### Authorization [student_auth](../README.md#student_auth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)