- Rain or Shine, Oracle Integration Has You Covered
- Create a Connection to the API
Create a Connection to the API
- On the Connections page, click Create.
- Select the REST adapter.
In the Create Connection - Select Adapter dialog, for the REST adapter, click Select. If the REST adapter is not listed, type
rest
in the Search field, then click Search.
- In the Create New Connection dialog, enter information about the connection.
-
In the Name field, enter
APIXUWeather
. Notice that the name is automatically added in capital letters to the Identifier field. -
In the Role field, retain the default selection Trigger and Invoke.
With the role as Trigger and Invoke, you will be able to use your connection either as an invoke connection or a trigger connection in the integration.
-
In the Description field, enter
Connection to retrieve the weather information from APIXU weather API
. -
Click Create.
Description of the illustration new_connection_dialog.pngThe details page for your APIXUWeather connection is displayed. You’re now ready to configure the connection details.
-
- In the Connection Administrator section, enter your email address to receive email notifications related to the connection.
- Configure connection properties.
-
Click Configure Connectivity.
The Connection Properties dialog is displayed.
-
From the Connection Type drop-down list, select REST API Base URL.
-
In the Connection URL field, enter the URL of the API:
http://api.apixu.com/v1
. -
Click OK.
-
- Configure connection security.
-
Click Configure Security.
The Credentials dialog is displayed.
-
From the Security Policy drop-down list, select No Security Policy. The API manages the security for the connection.
-
Click OK.
-
- Click Test to check the connection.
If the connection is working fine, then the following message is displayed:
Connection APIXUWeather was tested successfully
. - Click Save.
- Click Close.
The APIXUWeather connection is now listed on the Connections page. You will use this connection as the invoke connection in your integration.
Description of the illustration new_connection_api.png