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 FreshDesk Operations
To use the FreshDesk connector, add the <freshdesk.init>
element in your configuration before carrying out any other FreshDesk operations.
Before you start performing various operations with the connector, make sure to import the FreshDesk certificate to your ESB client keystore.
Follow the below mentioned steps to add valid certificate to access FreshDesk API over https into the ESB client keystore:
- Extract the certificate from browse by navigating to ' https://{domain}.freshdesk.com ' and click the lock icon on the address bar to view the certificate.
- Place the downloaded certificate into "FreshDesk_CONNECTOR_HOME/src/test/resources/keystores/products" folder.
- Navigate to "FreshDesk_CONNECTOR_HOME/src/test/resources/keystores/products/" using command prompt and execute the following command.
This command will import FreshDesk certificate in to keystore. Give "wso2carbon" as password.To import the certificate give "wso2carbon" as password. Press "Y" to complete certificate import process.
keytool -importcert -file CERT_FILE_NAME -keystore wso2carbon.jks -alias -alias "CERT_NAME"
FreshDesk uses Basic Access Authorization. Basic Access Authorization means that you can either use the same user name and password when logging into your fresh desk, or you can use the provided personal API key. FreshDesk uses the API key approach. That is, it uses the API key provided by the FreshDesk account for authentication. For more information on authentication, see http://developers.freshdesk.com/api/#authentication.
<freshdesk.init> <apiUrl>{$ctx:apiUrl}</apiUrl> <apiKey>{$ctx:apiKey}</apiKey> <apiVersion>{$ctx:apiVersion}</apiVersion> </freshdesk.init>
Properties
-
apiUrl:
The URL to access the FreshDesk API. -
apiKey:
The API token of the account. - apiVersion: The version of the Freshdesk API
Now that you have connected to FreshDesk, use the information in the following topics to perform various operations with the connector.
- Working with Business Hour in FreshDesk
- Working with Comments in FreshDesk
- Working with Companies in FreshDesk
- Working with Tickets in FreshDesk
- Working with Topics in FreshDesk
- Working with SLA Policies in FreshDesk
- Working with Products in FreshDesk
- Working with Conversation in FreshDesk
- Working with Forums in FreshDesk
- Working with Contacts in FreshDesk