cURL
curl --request GET \ --url https://api.scholarlysoftware.com/api/v1/profiles/{profile_id}/primary_appointments \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "type": "<string>", "attributes": { "title": "<string>", "effective_from": "2023-12-25", "effective_to": "2023-12-25", "appointment_type": "<string>", "track_type": "<string>", "external_id": "<string>", "full_time": true, "percent_allocation": 123, "terminated_on": "2023-12-25", "termination_note": "<string>", "custom_fields": {} }, "relationships": { "profile": { "data": { "id": "<string>", "type": "<string>" } }, "department": { "data": { "id": "<string>", "type": "<string>" } }, "rank": { "data": { "id": "<string>", "type": "<string>" } } } } ], "meta": { "total": 123, "page": { "size": 123 } }, "links": { "self": "<string>", "first": "<string>", "prev": "<string>", "next": "<string>", "last": "<string>" } }
Returns primary appointments for a specific profile
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Bearer token
Profile UUID
Number of items per page
Cursor for next page
Cursor for previous page
primary appointments found
Show child attributes