curl --request POST \
--url https://api.scholarlysoftware.com/api/v1/profiles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "profile",
"attributes": {
"display_name": "<string>",
"legal_first_name": "<string>",
"legal_middle_name": "<string>",
"legal_last_name": "<string>",
"legal_maiden_name": "<string>",
"suffix": "<string>",
"birthdate": "2023-12-25",
"deceased_on": "2023-12-25",
"racial_identity": "<string>",
"primary_employee_id": "<string>",
"employee_ids": {},
"emails": [
"[email protected]",
"[email protected]"
],
"gender_identity": "<string>",
"custom_fields": {}
},
"relationships": {
"primary_appointments": {
"data": [
{
"type": "primary_appointment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"additional_appointments": {
"data": [
{
"type": "secondary_appointment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"addresses": {
"data": [
{
"type": "address",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "profile",
"attributes": {
"display_name": "<string>",
"legal_first_name": "<string>",
"legal_middle_name": "<string>",
"legal_last_name": "<string>",
"legal_maiden_name": "<string>",
"suffix": "<string>",
"birthdate": "2023-12-25",
"deceased_on": "2023-12-25",
"racial_identity": "<string>",
"primary_employee_id": "<string>",
"employee_ids": {},
"emails": [
"[email protected]",
"[email protected]"
],
"avatar_url": "<string>",
"gender_identity": "<string>",
"custom_fields": {}
},
"relationships": {
"current_department": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "department",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"current_primary_appointment": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "primary_appointment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"primary_appointments": {
"links": {
"related": "<string>"
},
"meta": {},
"data": [
{
"type": "primary_appointment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"additional_appointments": {
"links": {
"related": "<string>"
},
"meta": {},
"data": [
{
"type": "secondary_appointment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"addresses": {
"links": {
"related": "<string>"
},
"meta": {}
},
"user": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "user",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
}
}Non-admin users cannot create profiles
curl --request POST \
--url https://api.scholarlysoftware.com/api/v1/profiles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "profile",
"attributes": {
"display_name": "<string>",
"legal_first_name": "<string>",
"legal_middle_name": "<string>",
"legal_last_name": "<string>",
"legal_maiden_name": "<string>",
"suffix": "<string>",
"birthdate": "2023-12-25",
"deceased_on": "2023-12-25",
"racial_identity": "<string>",
"primary_employee_id": "<string>",
"employee_ids": {},
"emails": [
"[email protected]",
"[email protected]"
],
"gender_identity": "<string>",
"custom_fields": {}
},
"relationships": {
"primary_appointments": {
"data": [
{
"type": "primary_appointment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"additional_appointments": {
"data": [
{
"type": "secondary_appointment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"addresses": {
"data": [
{
"type": "address",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "profile",
"attributes": {
"display_name": "<string>",
"legal_first_name": "<string>",
"legal_middle_name": "<string>",
"legal_last_name": "<string>",
"legal_maiden_name": "<string>",
"suffix": "<string>",
"birthdate": "2023-12-25",
"deceased_on": "2023-12-25",
"racial_identity": "<string>",
"primary_employee_id": "<string>",
"employee_ids": {},
"emails": [
"[email protected]",
"[email protected]"
],
"avatar_url": "<string>",
"gender_identity": "<string>",
"custom_fields": {}
},
"relationships": {
"current_department": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "department",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"current_primary_appointment": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "primary_appointment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"primary_appointments": {
"links": {
"related": "<string>"
},
"meta": {},
"data": [
{
"type": "primary_appointment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"additional_appointments": {
"links": {
"related": "<string>"
},
"meta": {},
"data": [
{
"type": "secondary_appointment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"addresses": {
"links": {
"related": "<string>"
},
"meta": {}
},
"user": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "user",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer token
Show child attributes
"profile""profile"
Show child attributes
The full list of email addresses for the profile. The first address in the array is the primary email address.
Some special notes about setting emails in Sandboxes:
[
"[email protected]",
"[email protected]"
]Show child attributes
Show child attributes
Show child attributes
profile created with partial employee IDs
Show child attributes
"profile""profile"
Show child attributes
The full list of email addresses for the profile. The first address in the array is the primary email address.
Some special notes about setting emails in Sandboxes:
[
"[email protected]",
"[email protected]"
]Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes