GET Locations
Header Parameters
(Required)
Query Parameters
Page number for paginated results (1-indexed). Default: 1.
Number of records per page. Default: 10. Maximum: 500.
1 returns active locations only. 0 or omitted returns all locations. Any other value returns 422. active=1 needs data model V19 or later; an older practice returns 400 MOD-4265.
Response
{ "status": true, "message": "Success", "data": [ { "location_id": 1, "location_name": "Sydney CBD Dental", "address": "123 George Street, Sydney NSW 2000", "phone": "02 9000 1234", "email": "sydney@example-dental.com.au", "is_active": true }, { "location_id": 2, "location_name": "Parramatta Dental Centre", "address": "456 Church Street, Parramatta NSW 2150", "phone": "02 9000 5678", "email": "parramatta@example-dental.com.au", "is_active": true } ], "pagination": { "page": 1, "per_page": 10, "total_rows": 2, "total_pages": 1 } }