Choose where you’d like to start

Upload files to Zoho Recruit

Note: This task is applicable only to Zoho Creator.

Overview

Upload files to records in Zoho Recruit. This task is based on the Zoho Recruit API - Upload File

Syntax

where:

ParameterDescriptionData type

<variable> 

KEY-VALUE

is the variable which will hold the response returned by Zoho Recruit.

<record_ID>

TEXT

is the ID of the record to which the file will be attached.

Learn how to fetch the ID of a record after creating it or fetching it.

<file>FILE

refers to the file that needs to be attached.

The file size must not exceed 20 MB.

<type>TEXT

refers to the type of file that is being attached.

Supported values: Resume or Others.

<module_name>

TEXT

is the name of the module in Zoho Recruit, where the file will be attached.

Following are the names of applicable modules.

  • Candidates
  • Job Openings
  • Contacts
  • Clients
  • Interviews
  • Custom Module

<connection>

TEXT

The link name of the Zoho Recruit connection.

Note:

Example

When the following snippet gets executed in Zoho Creator, the specified file gets attached to the specified record in Zoho Recruit.

response = zoho.recruit.uploadFile("1687000000116035", input.file, "Others", "Candidates", "recruit_connection"); 

where:

 "response"
is the KEY-VALUE variable which will hold the response by Zoho Recruit.
"1687000000116035"
is the TEXT that represents the ID of the record.
 input.file
is the Zoho Creator FILE upload field that holds the input file.
"Others"
is the TEXT that refers to the type of file that will be attached.
"Candidates"
is the TEXT that represents the module in which the file will be attached.
 "recruit_connection"
is the TEXT that represents the link name of the connection.

Response Format

The response returned is of the following format:

{  
   "message":"File has been attached successfully",
   "Created Time":"2015-11-19 18:18:25",
   "Modified By":"dinesh.d",
   "Id":"1687000000116035",
   "Modified Time":"2015-11-19 18:18:25",
   "Created By":"dinesh.d"
}

Related Links

Get Started Now

Execute