Introduction to Dental API

Sections

Theme switcher

GET Recall Stages

Header Parameters

org-idstring Required
x-api-keystring Required

(Required)

Query Parameters

recall_type_idinteger

Optional. Limit the list to one recall type. -1 or omitted returns all types. 0 returns 422.

activeinteger

Optional. 1 returns active stages only. 0 or omitted returns all. Any other value returns 422.

pageinteger

Page number. Default 1.

per_pageinteger

Records per page. Default 10. Maximum 500.

Response

200
Object

{ "status": true, "message": "Success", "data": [ { "recall_stage_id": 1, "recall_type_id": 1, "recall_stage_name": "1st Reminder", "stage_order": 1, "recall_period_months": 6, "is_active": true }, { "recall_stage_id": 25, "recall_type_id": 1, "recall_stage_name": "2nd Reminder - Lapsed", "stage_order": 2, "recall_period_months": 6, "is_active": true } ], "pagination": { "page": 1, "per_page": 10, "total_rows": 2, "total_pages": 1 } }

400
Object

{ "data": [], "status": false, "message": "This endpoint requires API Data Model V19 or higher. This organisation is on V18. Please contact dentalapi@centaursoftware.com quoting org_id Sandbox to arrange a data model upgrade.", "support_code": "MOD-4265" }

422
Object

{ "data": [], "status": false, "message": "'recall_type_id': 0 is not a valid value. Use -1 for wildcard or a positive integer." }

Was this section helpful?

GET

/

Select
1

Response

Was this section helpful?