An employee referral screen needs three Workday calls: a read of open jobs, a submit, and a resume upload. In Workday Recruiting v4, jobs come from GET /jobPostings. The documented referral submit is the Refer a Candidate web service in the Recruiting SOAP API, which takes the referring worker, the candidate, a job requisition or job area, and optional resume attachments. A REST route also exists: POST /prospects with referredBy, then POST /prospects/{ID}/resumeAttachments. The documented gap is status: neither the Recruiting v4 specification nor the Recruiting WSDL we reviewed has an operation that lists a referrer’s own referrals with their stage.
Employee screens on live Workday data are what Kiweely Leaf (coming next) is for. The calls below are the same ones any client uses.
Which job postings can the screen show?
GET /jobPostings in Recruiting v4 returns job postings and filters by category, jobPosting, jobRequisition and jobSite, with limit and offset. Each posting carries jobDescription, primaryLocation, additionalLocations, timeType, jobType, company, remoteType, spotlightJob and endDate.
Workday secures this operation with the Job Postings: External domain under the Recruiting scope. Check that your employees’ security groups can reach that domain before you build the screen. See least-privilege scoping for how API client scope and security groups interact.
Workday lists Spotlight Job as its own referral type, defined as a job requisition that flags a position as a Spotlight Job, and each posting carries spotlightJob.
How does a referral get submitted?
Workday lists three ways a worker can create a Direct Referral: the Create a Referral task, the Refer a Candidate task, and the Refer a Candidate web service. Workday’s setup page names Refer a Candidate as a business process with its own definition and security policy, and says prospects it creates are recognized as referrals once the event completes. Prefer it for a screen.
The Refer_a_Candidate request in the Recruiting WSDL wraps Referral_Candidate_Submission_Data:
Referred_By_Worker_Reference: required, the referring worker.Name_DataandContact_Data: the candidate.Referral_Details_Data:Job_Requisition_Reference(repeatable),Job_Areas_Reference,Referral_Relationship_Reference,CommentandReferral_Consent_Given.Social_Media_Account_Data: optional, repeatable.Resume_Attachment_Data: optional, repeatable.
The response returns Referral_Event_Reference, the reference of the referral event.
The WSDL lists these validation messages, which a screen should check before it submits:
- “Candidate phone number or email address is required when adding a candidate.”
- “Country is required.”
- “A Job or Job Area is required.”
- “Candidate name is required when adding a candidate.”
- “You must enable recruiting job areas in the Edit Tenant Setup - HCM task to submit job areas.”
- “You must enable referral levels in the Edit Tenant Setup - HCM task to submit referral relationships.”
- “Confirmation of Referral Consent is required for candidates in [country].”
The last message matters for a global tenant. Show a consent checkbox, and set Referral_Consent_Given, only for countries where the tenant needs it. Which countries those are comes from the tenant, not from the API.
Setup lives on the Workday side: the Candidate Data: Employee Referrals, Candidate Data: Referral Candidate Ownership, Employee Referrals and Social Share domains, the Maintain Referral Relationships task, and the Refer a Candidate business process security policy. If the call returns a permission error, check those before anything in the client.
Can the screen use REST instead?
Recruiting v4 has POST /prospects. The required field is candidate.name.country.id, and the Recruiting Name Components configuration may add more name fields (see Maintain Name Components by Country). The body also accepts referredBy (the worker who referred the candidate), source, type, level, candidatePools, candidateTags and contactConsent.
The documented validation errors include:
| Code | Message |
|---|---|
| CodeA249 | MessageYou must enter the prospect’s email address or phone number. |
| CodeA255 | MessageEnter referral as the source when you enter referred by. |
| CodeA268 | MessageEnter the referral for the prospect. |
| CodeA269 | MessageEnter an email address in this format (the message shows a sample address). |
| CodeA2517 | MessageThe email address you entered is invalid. Enter a valid email address. |
So referredBy and a referral source go together. The v4 description of POST /prospects does not say it starts the Refer a Candidate business process. Do not assume referral ownership or the referral payment process applies to a prospect created this way; test in a Development tenant and read the result in the candidate profile. The operation is secured by the Create External Prospects and Set Up: External Career Site Access domains, which are not the referral domains above.
How is a resume attached?
On REST, POST /prospects/{ID}/resumeAttachments takes multipart/form-data, and the JSON part is named jsonData. The request schema marks attachmentContent and fileLength as required; the description also names fileName, which has a 255-character limit. The operation is secured by the same two domains as POST /prospects.
On the web service, Resume_Attachment_Data wraps a Resume_Attachment that holds Filename (255 characters maximum), File_Content as base64 binary, an optional Mime_Type_Reference and a Comment.
Size and file-type limits come from tenant setup. See the attachment rules guide and enforce them in the browser before the upload starts.
How does the screen show referral status?
This is the part the documented operations do not cover. GET /prospects returns a status (configured in the Maintain Prospect Statuses task) and referredBy, but it is secured by the Prospects and Set Up: External Career Site Access domains. Those are recruiter-facing, and opening them to every employee is a security decision. The Recruiting WSDL’s candidate data includes Referral_Ownership_Details_Data, which holds the owning worker and the ownership start and end dates, but that is ownership, not stage.
Workday also documents a Referral Activity Leaderboard report for referral activity points. Whether a custom report for “my referrals and where they are” fits your tenant is a design question for your recruiting and HRIS teams. Decide it before you promise a status column. See REST and SOAP coverage gaps for where each service stops.
For approvals that follow a referral, such as a referral bonus, see approving and denying business process steps.
Frequently asked questions
Does the Workday Recruiting REST API have a referral endpoint?
Not as a named resource. Recruiting v4 has POST /prospects, whose body carries a referredBy worker and a source, and POST /prospects/{ID}/resumeAttachments. Workday's documented Refer a Candidate operation is in the Recruiting SOAP web service, and Workday states that prospects created by the Refer a Candidate business process are recognized as referrals once the event completes.
What does the Refer a Candidate web service require?
A referring worker, a candidate name, a phone number or email address, a country, and a job requisition or a job area. In countries that need it, Referral_Consent_Given must also be confirmed. These come from the validation messages in the Recruiting WSDL.
How do I upload a resume for a referred candidate?
On the web service, send Resume_Attachment_Data containing a Resume_Attachment with Filename (up to 255 characters) and base64 File_Content. On REST, POST multipart/form-data to /prospects/{ID}/resumeAttachments with the file in attachmentContent and the JSON in the part named jsonData.
Can an employee screen show the status of a referral?
Neither the Recruiting v4 specification nor the Recruiting WSDL reviewed for this guide has an operation that lists a worker's own referrals with their stage. GET /prospects returns a status, but it is secured by the Prospects domain, so giving employees access is a security decision for your recruiting team.