Get record by ID from Zoho Recruit
Table of Contents
Overview
The zoho.recruit.getRecordbyId task is used to fetch records from Zoho Recruit, based on the specified record ID. This integration task is based on the Zoho Recruit - Get Record By ID API.
Syntax
<variable> = zoho.recruit.getRecordbyId(<module_name>, <recordID>, <connection>);
where:
Parameter | Data type | Description |
<variable> | KEY-VALUE | Response returned by Zoho Recruit. |
<module_name> | TEXT | Zoho Recruit module from which the record will be fetched. Applicable modules:
|
<recordID> | NUMBER | ID of the record that will be fetched. Learn how to fetch the ID of a record after creating, searching or fetching it. |
<connection> | TEXT | The link name of the Zoho Recruit connection. Note:
|
Fetch record from Candidates module
The following script fetches the record with ID - 1687000000106001 from the "Candidates" module in Zoho Recruit.
response= zoho.recruit.getRecordById("Candidates" ,1687000000106001, "recruit_connection");
where:
"Candidates"
1687000000106001
"recruit_connection"
Sample Response
The following is a sample success response:
{
"Is Locked":"false",
"Candidate ID":"ZR_26_CAND",
"CANDIDATEID":"1687000000106001",
"Is Unqualified":"false",
"Updated On":"2015-11-19 18:09:28",
"Created By":"dinesh.d",
"Is Attachment Present":"true",
"Source":"Added by User",
"MODIFIEDBY":"1687000000077003",
"Created Time":"2015-09-16 16:29:33",
"Modified By":"dinesh.d",
"SMOWNERID":"1687000000077003",
"Candidate Status":"New",
"Last Activity Time":"2015-11-19 18:09:28",
"SMCREATORID":"1687000000077003",
"Email Opt Out":"false",
"Is Hot Candidate":"false",
"Last Name":"Tom & Jerry",
"Candidate Owner":"john"
}