Query parameters
-
Global search
-
Current page
-
Number of items per page
-
Determines if all items are selected
-
App\Locations\Core\Models\Location Filters: 0
-
App\Locations\Core\Models\Location Sorting by name, createdAt
-
Determines whether to return only archived records in the response.
-
Determines whether to return with archived records in the response.
GET
/v1/locations/
curl \
--request GET 'https://classmanager.test/v1/locations/'
Response examples (200)
{
"data": [
{
"id": "loc_xxxxxxxxxxx",
"companyId": "co_123123123123",
"name": "Main Studio",
"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": {}
}