Assistance Needed with Fetching Template for Candidate Submission in Zoho Recruit API

Assistance Needed with Fetching Template for Candidate Submission in Zoho Recruit API

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_ids, 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


    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now