Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Code Block
languagexml
titleinit
 <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.
Info
titleSpecial 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.

...