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
- Getrecorddetails = invokeurl
- [
- url: "https://recruit.zoho.com/recruit/v2/Interviews/666631000001031001"
- type: GET
- connection: "zohocreator"
- ];
- interviewmaplist = List();
- interviewmap = Map();
- interviewmap.put("Interview_Name","Record By API");
- interviewmap.put("Department_Name","666631000000407123");
- interviewmap.put("Candidate_Name","666631000000409099");
- interviewmap.put("Job_Opening_Name","666631000000405413");
- Start_DateTime = zoho.currenttime.addHour(2).getPrefix(" ").toString("yyyy-MM-dd");
- Endtime = zoho.currenttime.addHour(4).getPrefix(" ").toString("yyyy-MM-dd");
- Start_DateTime1 = zoho.currenttime.addHour(2).getSuffix(" ").toString()+"+05:30";
- finaltime = Start_DateTime+"T"+Start_DateTime1;
- endtime = Endtime+"T"+Start_DateTime1;
- interviewmap.put("Start_DateTime",finaltime);
- interviewmap.put("End_DateTime",endtime);
- interviewmap.put("Interviewer","666631000000403003");
- interviewmaplist.add(interviewmap);
- finalmap = Map();
- finalmap.put("data", interviewmaplist);
- Postrecorddetails = invokeurl
- [
- url: "https://recruit.zoho.com/recruit/v2/Interviews"
- type: POST
- parameters:finalmap.toString()
- connection: "zohocreator"
- ];
- info Postrecorddetails;
Thanks & Regards
Piyush Goyal
Zoho Developer || 3+ years Experience
+91-8619164837
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
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
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.