PATCH
/
api
/
v1
/
primary_appointments
/
{id}
Update primary appointment
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"
    }
  }
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer token

Path Parameters

id
string
required

Primary appointment UUID

Body

application/vnd.api+json

Response

200

primary appointment updated