ZOho Recruit API hiring Pipeline
I was wondering if it's possible to update the hiring pipeline using the API.
I am messing around and I can change the status of the applications and it shows the application as rejected but the pipeline stay's at the stage that applicant was at.
Also the adding comments doesnt work but it does with the API to update candidates.
This is the code/json I am using to update the application
- // Create an empty map
- data1 = Map();
- // Create a list to hold candidate data
- applicationDataList = list();
- // Create a map for candidate data
- applicationData = Map();
- // Populate candidate data
- applicationData.put("Application_Status","Rejected");
- applicationData.put("comments","Rejeté car il ne réside pas au Canada");
- applicationData.put("Hiring_Pipeline","Rejected");
- // Add candidate data map to the list
- applicationDataList.add(applicationData);
- // Add the list of candidate data to the main map
- data1.put("data",applicationDataList);
- // Print the resulting map
- info data1;
- updateapplication = invokeurl
- [
- url :"https://recruit.zohocloud.ca/recruit/v2/Applications/" + candidaturesID
- type :PUT
- parameters:data1.toString()
- connection:"zrecruit"
- ];
- info updateapplication;
This is the the one I am using to update the candidate. In this one a notes is created but not with the application.
- // Create an empty map
- data = Map();
- // Create a list to hold candidate data
- candidateDataList = list();
- // Create a map for candidate data
- candidateData = Map();
- // Populate candidate data
- candidateData.put("ids",list(responses.get("data").getJSON("$Candidate_Id")));
- candidateData.put("Candidate_Status","Rejected");
- candidateData.put("comments","Rejeté car il ne réside pas au Canada");
- // Add candidate data map to the list
- candidateDataList.add(candidateData);
- // Add the list of candidate data to the main map
- data.put("data",candidateDataList);
- // Print the resulting map
- info data;
- updatecandidate = invokeurl
- [
- url :"https://recruit.zohocloud.ca/recruit/v2/Candidates/status"
- type :PUT
- parameters:data.toString()
- connection:"zrecruit"
- ];
So if any one know a quick trick to update the hiring pipeline and make the notes stick or if you can point me in the right direction as the API page is prety barebone.
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.