To use the Zoho Recruit connector, add the <zohorecruit.init>
element in your configuration before carrying out any other Zoho Recruit operations.
Zoho Recruit uses an authentication token, which needs to be generated. For more information on authentication, see https://www.zoho.com/recruit/api.html.
init
<zohorecruit.init> <apiUrl>{$ctx:apiUrl}</apiUrl> <authToken>{$ctx:authToken}</authToken> <scope>{$ctx:scope}</scope> <responseFormat>{$ctx:responseFormat}</responseFormat> </zohorecruit.init>
Properties
-
apiUrl:
The API URL of Zoho Recruit. -
authToken:
The encrypted alphanumeric string to authenticate the Zoho credentials. -
scope:
Specifies the value as zohopeople/recruitapi. -
responseFormat:
The type of response to return, e.g.,application/json
Additional information
Ensure that the following Axis2 configurations are added and enabled in the <ESB_HOME>\repository\conf\axis2\axis2.xml
file.
Required message formatters
messageFormatters
<messageFormatter contentType="application/jsonp" class="org.apache.synapse.commons.json.JsonStreamFormatter"/>
Required message builders
messageBuilders
<messageBuilder contentType="application/jsonp" class="org.apache.synapse.commons.json.JsonStreamBuilder"/>
Now that you have connected to Zoho Recruit, use the information in the following topics to perform various operations with the connector.