Zoho Recruit | downloadPhoto Method

downloadPhoto

Purpose

You can use this method to download the photos of Candidates or Contacts.

Request URL

XML Format

For Candidates:
https://recruit.zoho.com/recruit/private/xml/Candidates/downloadPhoto?authtoken=AuthToken&scope=recruitapi&id=RecordID&version=2

For Contacts:
https://recruit.zoho.com/recruit/private/xml/Contacts/downloadPhoto?authtoken=AuthToken&scope=recruitapi&id=RecordID&version=2

JSON Format

For Candidates:
https://recruit.zoho.com/recruit/private/json/Candidates/downloadPhoto?authtoken=AuthToken&scope=recruitapi&id=RecordID&version=2

For Contacts:
https://recruit.zoho.com/recruit/private/json/Contacts/downloadPhoto?authtoken=AuthToken&scope=recruitapi&id=RecordID&version=2

For OAuth Authentication

Header Name
Value
Authorization
Zoho-oauthtoken {access_token}

Scopes

Scope=ZohoRecruit.modules.all
(or)
Scope=ZohoRecruit.modules.{scope_name}.{operation_type}
Possible Scope Names (Case Sensitive)
Operation Types
referral, campaign, assessment, vendor, offer, attachment, 
forecast, note, call, event, task, candidate, jobopening, client, department, interview, contact & custom (for all Custom Modules)
ALL - Full access to the record
READ - Get records from the module

For Authtoken Authentication

Parameter
Data Type
Description
authtoken*
String
Encrypted alphanumeric string to authenticate your Zoho credentials. 
scope*
String
Specify the value as recruitapi

Request Parameters

Parameter
Data Type
Description
id*
String
Specify the unique ID of the record.
version*
Integer
Use version=2: This will fetch responses based on the latest API implementation.
Note:
  1. Parameters marked with * are mandatory.
  2. You will receive an image file (PNG, JPG, GIF etc.,) as the response while executing this method. Programmatically download the image to your system and complete the other operations as per your API integration requirements.