Simple example of the above -
First step is to do the pre-reqs defined in the Google adapter doc here
Navigate to https://console.developers.google.com/apis
Click on Enable APIs and Services
Select Google Calendar -
Once the API is enabled - then navigate to Credentials - creating a web app.
Credentials include -
Client ID
Client secret
You also need to set the re-direct URI to
https://yourOIC:443/icsapis/agent/oauth/callback
Note the Scope: this can be set to either -
https://www.googleapis.com/auth/calendar or
https://www.googleapis.com/auth/calendar.readonly
This simple integration creates an event in my Google Calendar -
Here is the configuration of the adapter -
The response mapping is as follows -
I activate and test -
I consult my google calendar for September 20th -
Pre-Requisites
First step is to do the pre-reqs defined in the Google adapter doc here
Navigate to https://console.developers.google.com/apis
Click on Enable APIs and Services
Select Google Calendar -
Once the API is enabled - then navigate to Credentials - creating a web app.
Credentials include -
Client ID
Client secret
You also need to set the re-direct URI to
https://yourOIC:443/icsapis/agent/oauth/callback
Create the OIC Integration
Create the connection, leveraging client ID etc.
Note the Scope: this can be set to either -
https://www.googleapis.com/auth/calendar or
https://www.googleapis.com/auth/calendar.readonly
This simple integration creates an event in my Google Calendar -
Here is the configuration of the adapter -
I map the following request fields -
The response mapping is as follows -
I activate and test -
I consult my google calendar for September 20th -
Google Calendar API docs are here
No comments:
Post a Comment