uploadDocument Method

  1. Purpose
  2. Request URL
  3. Request Parameters
  4. Example 
     

Purpose

You can use this API to parse and upload candidates resumes in Zoho Recruit from third-party applications. This is available only in the Paid Edition.

Important: Use the POST method to pass these parameters instead of GET method.

Request URL

XML Format

https://recruit.zoho.com/recruit/private/xml/Candidates/uploadDocument?authtoken=Auth Token&scope=recruitapi

JSON Format

https://recruit.zoho.com/recruit/private/json/Candidates/uploadDocument?authtoken=Auth Token&scope=recruitapi

Request Parameters

 

ParameterData TypeDescription
authtoken*StringEncrypted alphanumeric string to authenticate your Zoho credentials.
scope*StringSpecify the value as recruitapi.
documentData*StringBase64 encoded string of the document to be uploaded.
fileName*StringSpecify the file name and the file format.
countryStringValues allowed 

AR|AU|BE|CZ|FR|DE|GR|HU|IN|IE|IT|NL|NO|RU|ZA|ES|SE|GB|USA

sourceStringSpecify any text.
version*Integer Use version=2: This will fetch responses based on the latest API implementation

  * - Mandatory parameter

Example

To parse and upload candidate resumes in Zoho Recruit from third-party applications.

URL Format:

https://recruit.zoho.com/recruit/private/xml/Candidates/uploadDocument?authtoken=7d987658943g4j09h43dd0b167dda34b&scope=recruitapi&version=2&country=RU&fileName=johnCV.txt&documentData=TmFtZTogVG9ueQ0KDQpFbWFpbDogdG9ueUB6b2hvY29ycC5jb20NCg0KTG9jYXRpb246IENoZW5uYWk%3D;

Response Format:

<response uri="/recruit/private/xml/Candidates/uploadDocument">

<result>

<message>Candidate added successfully</message>

<recorddetail>

<FL val="Id">292114000000373049</FL>

</recorddetail>

</result>

</response>

Note: You can upload a maximum of 250 documents in a day.