List Trial
Query parameters
-
Global search
-
Current page
-
Number of items per page
-
Determines if all items are selected
-
App\Classes\Trials\Core\Models\Trial Filters: 0, 1, 2, 3, 4
Hide where attributes Show where attributes object
-
App\Classes\Trials\Core\Models\Trial Sorting by trialAt, time
-
Determines whether to return only archived records in the response.
-
Determines whether to return with archived records in the response.
GET
/v1/trials/
curl \
--request GET 'https://localhost/v1/trials/'
Response examples (200)
{
"data": [
{
"id": "trl_xxxxxxxxxxx",
"companyId": "co_123123123123",
"classId": "cls_123123123123",
"studentId": "stu_123123123123",
"trialAt": "2023-12-05",
"time": "23:15",
"archivedAt": "2024-06-12T09:39:49.000000Z"
}
],
"pagination": {
"total": 15,
"count": 10,
"perPage": 10,
"currentPage": 1,
"totalPages": 2
}
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}