- List Professions by Practitioner
Profession
List Professions
Get Profession
List Professions by Pract...
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
Comma separated search fields. See Sorting
Example:sort_by=["profession_id","description"]
- Productionhttps://api.pracsuite.com/v1/practitioner/{practitioner_id}/profession
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'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" } }