Introduction to Dental API

Sections

Theme switcher

GET Users

Header Parameters

org-idstring Required
x-api-keystring Required

(Required)

Acceptstring

Query Parameters

pageinteger

Page number for paginated results. Default: 1.

Min length
1
per_pageinteger

Records per page. Default: 10. Maximum: 500.

Min length
1
Max length
500
includestring

Comma-separated relations to embed. Supported value(s): locations.

location_idnumber

Filter users by location. Use -1 to return users across all locations.

activeinteger

1 returns active users only. 0 or omitted returns all users. 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": [ { "user_id": 5, "user_code": "EMJ", "first_name": "Emma", "surname": "Johnson", "location_id": 1, "is_active": true, "user_type": "Provider" }, { "user_id": 6, "user_code": "MIB", "first_name": "Michael", "surname": "Brown", "location_id": null, "is_active": true, "user_type": "Provider" } ], "pagination": { "page": 1, "per_page": 10, "total_rows": 2, "total_pages": 1 } }

Response Attributes

statusboolean
messagestring
dataarray
paginationobject
422
Object

Response Attributes

dataarray
statusboolean
messagestring
Was this section helpful?

GET

/

Select
1

Response

Was this section helpful?