Skip to content

List Professions by Practitioner

Request

This endpoint returns all Profession entries assigned to the specified Practitioner. The returned profession_id values can be used when creating and finalising appointments.

Security
x-api-key and a-api-key
Path
practitioner_idintegerrequired
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=["profession_id","description"]
q[]Array of strings

Filter result by one or more fields.

Available filters:

ValueFormat
createdtimestamp
archivedtimestamp
updatedtimestamp
curl -i -X GET \
  'https://api.pracsuite.com/v1/practitioner/{practitioner_id}/profession?page=1&page_size=50&sort_by=%5B%22field_name%22%2C%22field_name%22%5D&q%5B%5D=string' \
  -H 'a-api-key: YOUR_API_KEY_HERE' \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Successful

Bodyapplication/json
professionsArray of objects(Profession)
total_entriesinteger
Response
{ "professions": [ { … } ], "total_entries": 0, "links": { "self": "https://api.pracsuite.com/v1/practitioner/1/profession?page=2", "previous": "https://api.pracsuite.com/v1/practitioner/1/profession?page=1", "next": "https://api.pracsuite.com/v1/practitioner/1/profession?page=3" } }