Reconfigure a Favorite
post
/rest/v19/favorites/{id}/actions/reconfigure
This endpoint reconfigures a favorite.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
The identifier for the favorite.
Root Schema : favorites-reconfigureRequest
Type:
object
Response
Supported Media Types
- application/json
Default Response
Root Schema : favorites-reconfigureResponse
Type:
Show Source
object
-
destinationUrl:
string
Title:
The destination Url to navigate to.
The destination Url the client should navigate to.
Examples
The following example shows how to reconfigure a favorite by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/favorites/123/actions/reconfigure
Response Body Sample
{ "destinationUrl": "https://localhost:8080//commerce/buyside/commerce_list_detail.jsp?id=<favoriteId>&contentType=7&autosubmit=true" }