Search... K
Appearance
Welcome!
Welcome to the new PCRecruiter API documentation website!
We plan to use this area to announce upcoming changes and additions to our API, so please keep an eye out here for future announcements.
Get Started!
Appearance
The profile endpoint is used to create, update, retrieve, and delete profiles and profile templates. Profiles are forms in PCRecruiter that can be filled out internally or sent externally to candidates or clients for completion. Profiles can be styled with HTML and CSS. This endpoint also allows access to profile templates, which serve as the blueprint for these forms.
HistorySaveOptions
Specifies how history sections should be handled. Options include:
AppendHistoryReplaceHistoryAppendHistoryWithoutXMLReplaceHistoryWithoutXMLDescription
Title or name of the profile.
CreateType
Determines whether new data overwrites an existing profile or creates a new one. Options include:
SingleMultipleTokenId
Identification token.
ProfileId
Unique ID for the profile form.
NotifyList
List of emails to notify when the form is submitted.
NotifyUser
Boolean indicating whether notifications should be sent to the notify list.
RecordType
The record type associated with the profile. Options include:
CandidatesCompaniesPositionsRecordId
Unique ID for the record tied to the profile.
JobId
Unique ID for the position if the profile is linked to an apply form.
SendoutId
Unique ID for the interview record in an apply profile form.
KnockoutPlan
Executes if a "knockout" answer is submitted.
SuccessPlan
Executes if a "success" answer is submitted.
HTMLCustomTemplate
Custom HTML template for the profile. This is where custom HTML and CSS formatting for the form is applied.
ProfileDate
The date and time the profile was submitted.
Questions
List of each question:
WorkHistory
Answers in the work history section.
Military
Answers in the military history section.
Licensing
Answers in the licensing section.
Education
Data submitted for the education history section.
References
List of references and their details.
Work_History_Layout
Layout of the "Work History" section.
Military_Layout
Layout of the "Military History" section.
Licensing_Layout
Layout of the "Licensing" section.
Education_Layout
Layout of the "Education History" section.
References_Layout
Layout of reference data requested in the references section.
GET /rest/api/profile/{ProfileId}
{
"method": "GET",
"url": "https://www2.pcrecruiter.net/rest/api/Profile/{ProfileId}",
"headers": {
"Content-Type": "application/json",
"Authorization": "BEARER Token"
}
}{
"HistorySaveOptions": "ReplaceHistoryWithoutXML",
"Description": "Candidate Application form",
"CreateType": "SINGLE",
"TokenId": null,
"ProfileId": "ProfileId",
"NotifyList": [
{
"EmailAddress": "support@mainsequence.net"
}
],
"NotifyUser": true,
"RecordType": "RECORD_TYPE_CANDIDATES",
"RecordId": "RecordId",
"JobId": null,
"SendoutId": null,
"KnockoutPlan": "",
"SuccessPlan": "",
"HTMLCustomTemplate": "",
"ProfileDate": "2019-03-25T06:56:48",
"Questions": [
{
"QuestionType": "R1",
"QuestionText": "Have you applied for a position at Main Sequence Technology previously?",
"Required": false,
"GUID": "[F31AB984-AC83-4B25-8218-AD06448A1E3A]",
"Answer": "Yes",
"AnswerList": [
{ "AnswerValue": "Yes", "AnswerDescription": "Yes", "AnswerRollup": null },
{ "AnswerValue": "No", "AnswerDescription": "No", "AnswerRollup": null }
],
"Encrypt": false,
"KnockoutAnswer": "Yes",
"LinkedField": "",
"HTMLCustomTemplate": null
}
],
"WorkHistory": [],
"Military": [],
"Licensing": [],
"Education": [],
"References": [],
"Work_History_Layout": null,
"Military_Layout": null,
"Licensing_Layout": null,
"Education_Layout": null,
"References_Layout": null
}TIP
This API call will retrieve a filled-out profile form using the unique profile id provided in the URL of the API call.
GET /rest/api/profile/template/{ProfileId}
{
"method": "GET",
"url": "https://www2.pcrecruiter.net/rest/api/Profile/Template/{ProfileId}",
"headers": {
"Content-Type": "application/json",
"Authorization": "BEARER Token"
}
}{
"ProfileTemplateId": "162186032463626",
"Description": "Internal Candidate Review Form",
"Introduction": "",
"Conclusion": "",
"ProfileFormat": "PROFILE",
"ProfileScore": "PROFILE",
"ProfileDate": "2020-02-03T14:26:45.313",
"Qrollup": "",
"Frollup": "",
"Results": "",
"ProfileActType": "PROFILESUBMIT",
"DefaultMail": "N",
"HTMLCustomTemplate": "",
"AllowUpdate": true,
"CreateType": "MULTIPLE",
"NotifyUser": true,
"xmlurl": "",
"xmlurlsd": "Y",
"SendEmailAttachmentOnCreate": true,
"KnockoutPlan": "",
"SuccessPlan": "",
"RollupRemove": "",
"WrapperOptions": "",
"Questions": [
{
"QuestionText": "Date:",
"QuestionType": "S1",
"AnswerList": [],
"DesiredAnswer": null,
"Required": false,
"Points": null,
"RollupList": null,
"Timer": null,
"LinkedField": "",
"Encrypt": "False",
"Knockout": "D",
"GUID": "[678A3A64-5FAF-4D1A-9C10-3A278A58914C]"
}
],
"NotifyList": [
{
"EmailAddress": "support@mainsequence.net"
}
]
}TIP
This API call will retrieve the empty profile template. This will help provide the layout of questions, answers, required questions and notification settings to submit a filled-out profile using POST on the /profile endpoint for a record id.