Introduction to Dental API

Sections

Theme switcher

GET Locations

Header Parameters

org-idstring Required
x-api-keystring Required

(Required)

Acceptstring

Query Parameters

pageinteger

Page number for paginated results (1-indexed). Default: 1.

Min length
1
per_pageinteger

Number of records per page. Default: 10. Maximum: 500.

Min length
1
Max length
500
activeinteger

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

200
Object

{ "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 } }

Response Attributes

statusboolean
messagestring
dataarray
paginationobject
400
Object

Response Attributes

messagestring
401
Object

Response Attributes

messagestring
404
Object

Response Attributes

messagestring
422
Object

Response Attributes

dataarray
statusboolean
messagestring
500
Object

Response Attributes

messagestring
Was this section helpful?

GET

/

Select
1

Response

Was this section helpful?