Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The getAssociatedCandidates operation retrieves a list of candidates who are associated with a particular job opening.

Code Block
languagexml
titlegetAssociatedCandidates
<zohorecruit.getAssociatedCandidates>
	<jobId>{$ctx:jobId}</jobId>
</zohorecruit.getAssociatedCandidates>
Properties
  • jobId: The unique ID of the Job Opening record.
Anchor
request
request
Sample request

Following is a sample REST/JSON request that can be handled by the getAssociatedCandidates operation.

Code Block
languagexml
titleSample Request for getAssociatedCandidates
{
	"apiUrl" : "https://recruit.zoho.com",
	"authToken" : "8e8f36073ff4642cf23c2832b6f6722c",
	"scope" : "recruitapi",
	"jobId" : "291847000000064001",
	"responseFormat" : "json"
}
Related Zoho Recruit documentation

https://www.zoho.com/recruit/get-associated-candidates-api.html

Anchor
sampleconfiguration
sampleconfiguration
Sample configuration

Following is a sample proxy service that illustrates how to connect to Zoho Recruit with the init operation and use the getAssociatedCandidates operation. The sample request for this proxy can be found in getAssociatedCandidates sample request.

Code Block
languagexml
titleSample Proxy
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse" name="zohorecruit_getAssociatedCandidates" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">
	<target>
		<inSequence onError="faultHandlerSeq">
			<property name="apiUrl" expression="json-eval($.apiUrl)" />
			<property name="authToken" expression="json-eval($.authToken)" />
			<property name="scope" expression="json-eval($.scope)" />
			<property name="jobId" expression="json-eval($.jobId)" />
			<property name="responseFormat" expression="json-eval($.responseFormat)" />
			<zohorecruit.init>
				<apiUrl>{$ctx:apiUrl}</apiUrl>
				<authToken>{$ctx:authToken}</authToken>
				<scope>{$ctx:scope}</scope>
				<responseFormat>{$ctx:responseFormat}</responseFormat>
			</zohorecruit.init>
			<zohorecruit.getAssociatedCandidates>
				<jobId>{$ctx:jobId}</jobId>
			</zohorecruit.getAssociatedCandidates>
			<respond />
		</inSequence>
		<outSequence>
			<send />
		</outSequence>
	</target>
	<description />
</proxy>