Introduction:
In below blog would like to share how we can integrate GoTo Webinar with SAP CPI using SAP Cloud Platform Open Connectors service.
Scenario:
Will create a new meeting in GoToWebinar by posting the data from POSTMAN.
GoTo Webinar Application Creation:
Login to
https://goto-developer.logmeininc.com/ follow below step.
Click on My Apps and then Add a new App.
Fill all the required details like below with Application url "
https://auth.cloudelements.io/oauth"
Once you are done click on save which will create client_id and client_secret for you.
Open Connector Configuration:
Step 1:
Login to SAP CP- Open Connectors and authenticate GoToWebinar instance.
Step 2:
Enter all the required parameters by clicking Optional Parameters.Make sure OAuth callback url is "
https://auth.cloudelements.io/oauth" and click on Create Instance.
Step 3:
Screen will be navigated to below window and then click on "
Allow"
Step 4:
Once instance is successfully instantiated you will get below message and click on API docs to test the connectivity.
Step 5:
Now click on Try it out.
Test the api by adding below content in body
{
"times": [
{
"startTime": "2019-01-09T11:00:00Z",
"endTime": "2019-01-09T13:00:00Z"
}
],
"subject": "OpenConnectorDemo",
"description": "Demo Session on SAP CP Open Connectors",
"timeZone": "GMT+05:30",
"locale": "en_US"
}
Use above highlighted in SAP CPI configuration
SAP CPI configuration:
Create an IFlow like below
Step 1:
Create an sender Communication Channel like below.
Step 2:
Add an Content Modifier to delete the unwanted header.
Step 3:
Add an Content Modifier to include Authorization header.
Step 4:
Add an Communication Channel with below configuration.
Save and Deploy your IFlow. And good to go with testing.
Testing screen from POSTMAN:
Payload For testing:
{
"times": [
{
"startTime": "2019-01-09T11:00:00Z",
"endTime": "2019-01-09T13:00:00Z"
}
],
"subject": "OpenConnectorDemo",
"description": "Demo Session on SAP CP Open Connectors",
"timeZone": "GMT+05:30",
"locale": "en_US"
}
And here is the response with HTTP Code-200 then we can check same in GoToWebinar.
Time to check in GoToWebinar account for the newly created webinar.
Reference:
[ 1 ] –
Open Connector Blog series
Hope this helps!
Regards,
Sriprasad Shivaram Bhat