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

Sample Business Scenario for Cliniko

You can use the Cliniko connector to manage the following key use cases in a business scenario:

The following diagram illustrates the steps you need to follow in each of these use cases and the external applications (Eventbrite, Google Calendar, LiveChat, Billomat, Formstack, Nexmo and Mandrill) you could integrate with along the way using the relevant ESB connectors.

Assumption

E-mail address of Patients are considered as key parameters which will be used to integrate with each other. 

Prerequisites

Add the following registry entries with valid values to the ESB (on which the scenarios would be executed).

- /_system/governance/connectors/Cliniko/apiKey
- /_system/governance/connectors/Cliniko/apiUrl

- /_system/governance/connectors/Nexmo/apiUrl
- /_system/governance/connectors/Nexmo/apiKey
- /_system/governance/connectors/Nexmo/apiSecret

- /_system/governance/connectors/Billomat/apiUrl
- /_system/governance/connectors/Billomat/apiKey

- /_system/governance/connectors/Formstack/apiUrl
- /_system/governance/connectors/Formstack/accessToken

- /_system/governance/connectors/Googlecalendar/apiUrl
- /_system/governance/connectors/Googlecalendar/accessToken

- /_system/governance/connectors/Mandrill/apiKey
- /_system/governance/connectors/Mandrill/apiUrl

- /_system/governance/connectors/Livechat/apiKey
- /_system/governance/connectors/Livechat/apiUrl
- /_system/governance/connectors/Livechat/login

- /_system/governance/connectors/Eventbrite/apiUrl
- /_system/governance/connectors/Eventbrite/accessToken

Environment Setup to Run the Cliniko Scenarios

  • Download and initialize ESB 4.9.0-BETA-SNAPSHOT with patches.
  • Follow the instructions given in the developer guide of the above connectors, and enable the ESB axis configurations accordingly.
  • If required, add the corresponding website security certificates to the ESB for these connectors. 
  • Add the following sequences and templates in the common directory (<CLINIKO_CONNECTOR_HOME>/cliniko-integrated-scenarios/src/common), to the ESB that are listed below:
    • sequences -  cliniko_getSettingsSeq.xml
        faultHandlerSeq.xml
         removeResponseHeaders.xml

    • templates - responseHandlerTemplate.xml

  • Each scenario folder consists of sub-folders named "Case-xxx". Before executing each case, be sure to read the corresponding use case for that using the links at the top of this page.