List Student
Query parameters
-
Global search
-
Current page
-
Number of items per page
-
Determines if all items are selected
-
App\Families\Students\Models\Student Filters: 0, 1, 2, 3
Hide where attributes Show where attributes object
-
App\Families\Students\Models\Student Sorting by firstname, lastname, createdAt
-
Determines whether to return only archived records in the response.
-
Determines whether to return with archived records in the response.
Responses
-
Paginated response
Hide response attributes Show response attributes object
-
Student schema
Hide data attributes Show data attributes object
-
id
-
Company ID
-
Family ID
-
Firstname
-
Lastname
-
Values are
male,female,non-binary,prefer-not-to-say, orother. -
Date of birth
-
Photo & Video Consent
-
Medical Info
-
Profile Picture
-
Discountable
-
Join date
-
Deleted at date
-
Archived at date
-
Created at date
-
-
Pagination schema
-
-
Not authorized
GET
/v1/students/
curl \
--request GET 'https://api-dev.classmanager.io/v1/students/'
Response examples (200)
{
"data": [
{
"id": "stn_123123123123",
"companyId": "co_123123123123",
"familyId": "fml_123123123123",
"firstname": "John",
"lastname": "Doe",
"gender": "male",
"dateOfBirth": "2010-12-05",
"mediaConsent": "Not enabled",
"medicalInfo": "Medical Info",
"profilePicture": "https://",
"discountable": "1",
"joinedAt": "2023-10-05",
"deletedAt": "2023-12-05 14:30:41",
"archivedAt": "2023-12-05 14:30:41",
"createdAt": "2023-12-05 14:30:41"
}
],
"pagination": {
"total": 15,
"count": 10,
"perPage": 10,
"currentPage": 1,
"totalPages": 2
}
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}