Cerate Zoho Interview By Deluge Help or Zoho Recruit API

Cerate Zoho Interview By Deluge Help or Zoho Recruit API



Hello Team

Here is the sample code to create a Interview using Zoho Recruit API or Using Deluge.

Sample Code:- 

Department_Name = Department ID
Candidate_Name = Candidate Record ID
Job_Opening_Name = Job Opening ID
Interviewer = Zoho Recruit User ID
  1. Getrecorddetails = invokeurl
  2. [
  3. url: "https://recruit.zoho.com/recruit/v2/Interviews/666631000001031001"
  4. type: GET
  5. connection: "zohocreator"
  6. ];
  7. interviewmaplist = List();
  8. interviewmap = Map();
  9. interviewmap.put("Interview_Name","Record By API");
  10. interviewmap.put("Department_Name","666631000000407123");
  11. interviewmap.put("Candidate_Name","666631000000409099");
  12. interviewmap.put("Job_Opening_Name","666631000000405413");
  13. Start_DateTime = zoho.currenttime.addHour(2).getPrefix(" ").toString("yyyy-MM-dd");
  14. Endtime = zoho.currenttime.addHour(4).getPrefix(" ").toString("yyyy-MM-dd");
  15. Start_DateTime1 = zoho.currenttime.addHour(2).getSuffix(" ").toString()+"+05:30";
  16. finaltime = Start_DateTime+"T"+Start_DateTime1;
  17. endtime = Endtime+"T"+Start_DateTime1;
  18. interviewmap.put("Start_DateTime",finaltime);
  19. interviewmap.put("End_DateTime",endtime);
  20. interviewmap.put("Interviewer","666631000000403003");
  21. interviewmaplist.add(interviewmap);
  22. finalmap = Map();
  23. finalmap.put("data", interviewmaplist);
  24. Postrecorddetails = invokeurl
  25. [
  26. url: "https://recruit.zoho.com/recruit/v2/Interviews"
  27. type: POST
  28. parameters:finalmap.toString()
  29. connection: "zohocreator"
  30. ];
  31. info Postrecorddetails;
Thanks & Regards
Piyush Goyal
Zoho Developer || 3+ years Experience
+91-8619164837

    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