cURL
curl --request PATCH \ --url https://api.scholarlysoftware.com/api/v1/primary_appointments/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/vnd.api+json' \ --data '{ "data": { "id": "289f7cdd-be9d-4ce1-8149-569c50ed85ff", "type": "primary_appointment", "attributes": { "title": "Full Professor", "effective_from": "2025-01-01", "effective_to": "2027-01-01", "appointment_type": "Tenured", "full_time": false, "percent_allocation": 80, "terminated_on": "2027-12-31", "termination_note": "Retirement", "track_type": "Teaching", "external_id": "EMP005678" } } }'
Update a primary appointment
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Bearer token
Primary appointment UUID
primary appointment updated