curl --request POST \
--url https://api.scholarlysoftware.com/api/v1/additional_appointments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"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"
}
}
}
}
}'