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/.

Configuring Zoho Recruit Operations

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

Be sure to import the Zoho Recruit certificate to your ESB client keystore.

You can follow the following steps to import your Zoho Recruit certificate into wso2esb client’s keystore as follows:

  1. View the certificate details (the steps vary by browser) and then export the trust certificate to the file system.

  2. Use the ESB Management Console or the following command to import that certificate into the ESB client keystore. keytool -importcert -file <certificate file> -keystore <ESB>/repository/resources/security/client-truststore.jks -alias "ZohoRecruit"

  3. Restart the server and deploy the Zoho Recruit configuration.

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.