SAP SuccessFactors has POST/Candidate and POST/Application support. Attachments are a requirement for Candidates created via API as per SAP's requirements, but there is not an endpoint we can hit to make this happen through our POST/Attachments endpoint.

The way to accomplish this is through our Nested Writes functionality - Merge will handle the creation of the attachment in both SAP and Merge.

Please see a sample attachment request that will be nested in the full POST/Candidates request below.

Attachments will be created with a nested request:

"attachments": [
{
"file_name": "Resume.pdf",
"file_url": "http://alturl.com/p749b",
"attachment_type": "RESUME"
}
]

Full POST/Candidates sample request:

{
"model": {
"tags": [],
"urls": [],
"title": "test_title",
"company": "test_company",
"can_email": null,
"last_name": "testlast",
"locations": [],
"first_name": "testfirst",
"is_private": null,
"attachments": [
{
"file_name": "Resume.pdf",
"file_url": "http://alturl.com/p749b",
"attachment_type": "RESUME"
}
],
"applications": [
{
"job": "022a2bef-57e5-4def-8ed2-7c41bd9a5ed8"
}
],
"phone_numbers": [
{
"value": "1212121212",
"phone_number_type": "MOBILE"
}
],
"email_addresses": [
{
"value": "[email protected]",
"email_address_type": "PERSONAL"
}
],
"integration_params": {
"country": "US"
},
"last_interaction_at": null,
"linked_account_params": null
},
"remote_user_id": null
}
Did this answer your question?