Upload files to Zoho Recruit
Table of Contents
Note:
- This task is applicable only to Zoho Creator.
- Each time the zoho.recruit.uploadFile integration task is executed, it triggers an API request in the back-end. This call is deducted from the external calls limit available for the service from which the task is executed, based on your pricing plan.
- Only actual executions that receive a response (whether success or failure) are counted, not the number of times the task appears in the script. For example, if zoho.recruit.uploadFile integration task is placed inside a for each task that iterates five times, the number of external calls consumed will be five, even though the task appears only once in the script.
Overview
Upload files to records in Zoho Recruit. This task is based on the Zoho Recruit API - Upload File
Syntax
| Parameter | Description | Data 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.
|
| <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"
"1687000000116035"
input.file
"Others"
"Candidates"
"recruit_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"
}