Dear Support Team,
I am facing an issue while trying to submit a candidate to a job post in Zoho Recruit. Specifically, I am confused about how to fetch the available templates when submitting the candidate, as I keep getting an invalid template ID error. Below is a step-by-step explanation of what I have done so far:
I am using the following URL:
https://recruit.zoho.in/recruit/v2/Submissions
The request body is as follows:
json:{
"data": [{
"Submitted_To": [
{"name": "Graham Hancock", "id": "100001000000026793"},
{"name": "Robert Wilson", "id": "100001000000026794"}
],
"Job_Opening_Name": "100001000000049655",
"Candidate_Name": "100001000000046266",
"Client_Name": "100001000000026759",
"$medium": "Email",
"$mail_content": {
"from_address": "patricia.b@zylker.com",
"subject": "Candidate Submission | Accountant",
"description": "Greetings, I've attached the profile of a potential candidate for the Accountant position in your company. Regards, Patricia Boyle",
"template_id": "100001000000000025"
}
}]
}
I have already created the job post API, where I am successfully retrieving the Job_Opening_Name
, Candidate_Name
, and Client_Name
. However, I am encountering an error when trying to submit the candidate due to the invalid template_id
. The error message I am receiving is:
json{
"data": [
{
"code": "INVALID_DATA",
"details": {"api_name": "template_id"},
"message": "invalid data",
"status": "error"
}
]
}
The issue I am facing is that I am unable to find an API to fetch the available template_id
s, and I am unsure if there is one available. Could you please help guide me on how I can fetch or retrieve the valid template IDs or suggest an alternative method to resolve this error?
Thank you in advance for your assistance