Skip to main content
PATCH
/
api
/
v1
/
additional_appointments
/
{id}
Update additional appointment with record extras
curl --request PATCH \
  --url https://api.scholarlysoftware.com/api/v1/additional_appointments/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "additional_appointment",
    "attributes": {
      "title": "<string>",
      "effective_from": "2023-12-25",
      "label": "<string>",
      "featured": true,
      "external_id": "<string>",
      "effective_to": "2026-01-01",
      "percent_allocation": 100
    },
    "relationships": {
      "profile": {
        "data": {
          "type": "profile",
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      },
      "department": {
        "data": {
          "type": "department",
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      }
    }
  }
}'
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "attributes": {
      "title": "<string>"
    }
  }
}

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

Additional appointment UUID

Body

application/vnd.api+json
data
object
required

Response

additional appointment with record extras updated

data
object
I