Quick Start

Set up your environment and then use the REST API for AI and ML to make your first API call by performing these tasks.

Prerequisites

Prerequisite More Information
Install Oracle Monetization Suite applications

This refers to the application under Oracle Monetization Suite with which you want to integrate the AI services.

For more information, you can see the installation guide for the respective product.

Install cURL Use cURL

Send a Request

After you set up your REST client, you can send a request to ensure that your connection works. For example, to collect all the required data, send the following request:

curl -X POST 'http://hostname:port/data/collect'

where:

  • hostname is the URL for the application server.

  • port is the port for the application server.

If the request is successful, you should receive response code 200 along with a response body similar to the following:

{      
   "@type": "CollectResponse",      
   "status": "Data Fetch Successful"
}