ZOho Recruit API hiring Pipeline

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
  1. // Create an empty map
  2. data1 = Map();
  3. // Create a list to hold candidate data
  4. applicationDataList = list();
  5. // Create a map for candidate data
  6. applicationData = Map();
  7. // Populate candidate data
  8. applicationData.put("Application_Status","Rejected");
  9. applicationData.put("comments","Rejeté car il ne réside pas au Canada");
  10. applicationData.put("Hiring_Pipeline","Rejected");
  11. // Add candidate data map to the list
  12. applicationDataList.add(applicationData);
  13. // Add the list of candidate data to the main map
  14. data1.put("data",applicationDataList);
  15. // Print the resulting map
  16. info data1;
  17. updateapplication = invokeurl
  18. [
  19. url :"https://recruit.zohocloud.ca/recruit/v2/Applications/" + candidaturesID
  20. type :PUT
  21. parameters:data1.toString()
  22. connection:"zrecruit"
  23. ];
  24. 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.
  1. // Create an empty map
  2. data = Map();
  3. // Create a list to hold candidate data
  4. candidateDataList = list();
  5. // Create a map for candidate data
  6. candidateData = Map();
  7. // Populate candidate data
  8. candidateData.put("ids",list(responses.get("data").getJSON("$Candidate_Id")));
  9. candidateData.put("Candidate_Status","Rejected");
  10. candidateData.put("comments","Rejeté car il ne réside pas au Canada");
  11. // Add candidate data map to the list
  12. candidateDataList.add(candidateData);
  13. // Add the list of candidate data to the main map
  14. data.put("data",candidateDataList);
  15. // Print the resulting map
  16. info data;
  17. updatecandidate = invokeurl
  18. [
  19. url :"https://recruit.zohocloud.ca/recruit/v2/Candidates/status"
  20. type :PUT
  21. parameters:data.toString()
  22. connection:"zrecruit"
  23. ];

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.

    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方