This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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

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

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

Sample 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

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.

Sample 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>                                    
  • No labels