Create a new candidate and assign to a job.
Tracking candidate source
When adding a new candidate, it's very important you track its source appropriately. In order to associate a source with your app / integration, add the below object to a candidate body object for this endpoint:
{
"sourceDetails": {
"sourceTypeId": "string",
"sourceSubTypeId": "string",
"sourceId": "string"
}
}
sourceTypeId - it's a Source Type - available values can be found using get /configuration/sources endpoint
sourceSubTypeId - it's a Source Subtype, an optional parameter - available values can be found using get /configuration/sources endpoint
sourceId - it's a Source Id - available values for a given sourceTypeId can be found using get /configuration/sources/:sourceTypeId/values endpoint
NOTE: Not defining the source will default to API source.
NOTE II: In case you can't find an appropriate source to track against you can:
- Create a custom source for each customer account separately on [this admin page](https://www.smartrecruiters.com/settings/configuration/custom-sources\) (you need to be logged in as an admin to the customer account in order to view this page)
- Request to [email protected] adding a standard source that will be available for all customers if your app / integration is productised (available to all SmartRecruiters customers)