Search records in Zoho Recruit
This task is used to search and fetch required records from Zoho Recruit.
<variable> = zoho.recruit.searchRecords(<module_name>, <searchCondition>, <fromIndex>, <toIndex>, <selectColumns>, <connection>);
is the variable which will hold the response returned by Zoho Recruit.
is the Zoho Recruit module in which the records will be searched.
Following are the applicable modules:
Condition based on which the records will be fetched.
Refer this page to know about field names in Zoho Recruit.
<fromIndex> is the starting index of the records that need to be retrieved.
Field names whose values will be included in the fetched records.
For more details, refer to Zoho Recruit API help
specifies the name if the Zoho Recruit connection.
*Note: This param is not supported in Zoho Creator, and is optional in all other Zoho services.
The following script fetches records from the "Candidates" module, based on the specified criteria, fromIndex, toIndex and selected columns in Zoho Recruit.
response=zoho.recruit.searchRecords("Candidates", "Industry|=|Chemicals", 1, 3, "Candidates(Last Name,Email)");
The following is a sample success response:
A sample failure response returned when an invalid or incorrect parameter is supplied is below:
"message":"Invalid parameter value",