Creator Help

Get Record From Recruit

You can fetch records from a Recruit module and update it in Zoho Creator form using the zoho.recruit.getRecords() task.


<Recruit Response> = zoho.recruit.getRecords(Module Name, fromIndex, toIndex);

<Recruit Response> is the map variable returned by Zoho Recruit as response.
<Module Name> is the name of the Recruit module where the record will be added. JobOpenings, Candidates, Clients, ClientContacts are the allowed modules.
<fromIndex> Default value is 1. If fromIndex and toIndex are not specified the above task will fetch a maximum of 20 records only otherwise it will fetch upto 200 records.
<toIndex> - Default value is 20. Maximum value allowed is 200.


Sample script to fetch records from Zoho Recruit and populate it in Zoho Creator.

moduleName = "Candidates";
fromIndex = 2;
toIndex = 3;
resp = zoho.recruit.getRecords(moduleName,fromIndex,toIndex);

In the above code,

- moduleName "Candidates" is the name of the module in Zoho Recruit from which the records will be fetched.

- resp is the map variable that holds the response from Zoho Recruit.

Response Format

The response returned by Zoho Recruit as map.

{"Posting title":"Test","Published in website":"false","Job opening status":"In-progress","JOBOPENINGID":
"471000000032277","Posted on":"18 Jun","Country":"India","Created by":"ABC Corp.","Assigned recruiter":"ABC
Corp.","Modified time":"Yesterday","Modified by":"ABC Corp.","Job opening ID":"29","Attach doc":"Azeez.doc",
"Client manager":"ABC Corp.","Number of positions":"20","Client":"ZOHO Creator"}

Related Links

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: