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 Next »

To use the GoToTraining connector, add the <gototraining.init> element in your configuration before carrying out any other GoToTraining operations. 

GoToTraining uses an access token for authorization. For more information on authentication, see https://developer.citrixonline.com/page/authentication-and-authorization.

init
 <gototraining.init>
    <accessToken>{$ctx:accessToken}</accessToken>
    <organizerKey>{$ctx:organizerKey}</organizerKey>
    <grantType>{$ctx:grantType}</grantType>
    <userId>{$ctx:userId}</userId>
    <password>{$ctx:password}</password>
    <clientId>{$ctx:clientId}</clientId>
	<apiUrl>{$ctx:apiUrl}</apiUrl>
 </gototraining.init>
Properties 
  • accessToken: The OAuth access token to access the GoToTraining API through the app.
  • organizerKey: The key of the owner (organizer) of the GoTo account on whose behalf trainings are handled.
  • grantType: The type of grant used to get the access token. Defaults to "password".
  • userId: The e-mail address used to sign up to the GoToTraining account.
  • password: The password used to sign in to the GoToTraining account.
  • clientId: The application client ID (i.e. API key).
  • apiUrl: The base end point URL of the GoToTraining API.

Special Notes

The authentication can be sent in two ways to the ESB:

  1. The user can provide the "userId", "clientId", "grantType" and "password".
  2. The user can provide both the "accessToken" and "organizerKey". 

Now that you have connected to GoToTraining, use the information in the following topics to perform various operations with the connector. After you have completed your configurations, see Testing the GoToTraining Integration.

  • No labels