Provide Feedback

This feedback service sends feedback or reports an issue to Oracle. This API is version

Before using the REST resources, you must understand how to access the REST resources and other important concepts. See About the REST APIs. Using this REST API requires prerequisites. See Prerequisites.

Required Roles

Service Administrator, Power User, User, Viewer

REST Resource

POST /interop/rest/{api_version}/feedback


Supported Media Types: application/json


The following table summarizes the client request.

Table 7-60 Parameters

Name Description
details Published in case of errors with the error string
status See Migration Status Codes
items Details about the resource
issueRef Feedback reference to contact Oracle support
links Detailed information about the link
href Links to API call
action The HTTP call type
rel Possible value: self
data Parameters as key value pairs passed in the request

Example of Response Body:

Supported Media Types: application/json

Example of Response Body:

The following shows an example of the response body in JSON format.


Provide Feedback Sample Code

Example 7-26 Java Sample –

Prerequisites: json.jar

Common Functions: See Common Helper Functions for Java

// BEGIN - Provide Feedback
public void provideFeedback(String description) throws Exception {
	JSONObject params = new JSONObject();
	JSONObject config = new JSONObject();

	String urlString = String.format("%s/interop/rest/%s/feedback", serverUrl, lcmVersion);
	String response = executeRequest(urlString, "POST", params.toString(), "application/json");
	JSONObject json = new JSONObject(response);
	int resStatus = json.getInt("status");
	if (resStatus == 0) {
		System.out.println("Feedback successful");	
	} else {
		System.out.println("Error occurred: " + json.getString("details"));
// END - Provide Feedback

Example 7-27 cURL Sample –

funcProvideFeedback() {
	description=$(echo $1 | sed -f urlencode.sed)
	funcExecuteRequest "POST" $url $param "application/json"

	output=`cat response.txt`
	status=`echo $output | jq '.status'`
	if [ $status == 0 ]; then
		echo "Feedback successful"
        error=`echo $output | jq '.details'`
        echo "Error occurred. " $error
	funcRemoveTempFiles "respHeader.txt" "response.txt"

Prerequisites: jq (

Common Functions: See Common Helper Functions for cURL

Example 7-28 Groovy Sample – ProvideFeedback.groovy

def provideFeedback(description) {
	def url;
	JSONObject params = new JSONObject();
	try {
		JSONObject config = new JSONObject();
		url = new URL(serverUrl + "/interop/rest/" + lcmVersion + "/feedback");
	} catch (MalformedURLException e) {
		println "Malformed URL. Please pass valid URL"
	response = executeRequest(url, "POST", params.toString(), "application/json");

	def object = new JsonSlurper().parseText(response)
	def status = object.status
	if (status == 0 ) {
		println "Feedback successful"
	} else {
		println "Error occurred while listing files"
		if (object.details != null)
			println "Error details: " + object.details

Prerequisites: json.jar

Common Functions