Skip to content

List Cancellation Reasons

Request

Security
x-api-key and a-api-key
Query
pageinteger, >= 1
Example:page=1
page_sizeinteger, [ 1 .. 200 ]
Example:page_size=50
sort_byArray of strings

Comma separated search fields. See Sorting

Example:sort_by=["appointment_cancellation_reason_id","reason"]
curl -i -X GET \
  'https://api.pracsuite.com/v1/cancellation_reason?page=1&page_size=50&sort_by=%5B%22field_name%22%2C%22field_name%22%5D' \
  -H 'a-api-key: YOUR_API_KEY_HERE' \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Successful

Bodyapplication/json
appointment_cancellation_reasonsArray of objects(Cancellation Reason)
total_entriesinteger
Response
{ "appointment_cancellation_reasons": [ { … } ], "total_entries": 0, "links": { "self": "https://api.pracsuite.com/v1/cancellation_reason?page=2", "previous": "https://api.pracsuite.com/v1/cancellation_reason?page=1", "next": "https://api.pracsuite.com/v1/cancellation_reason?page=3" } }