Invoke Favorite
post
/rest/v16/favorites/actions/start
This endpoint invokes a process actions upon user request.
Request
Supported Media Types
- application/json
Root Schema : favorites-startCollectionRequest
Type:
Show Source
object
-
selections:
array Selected Favorite Ids
Title:
Selected Favorite Ids
List of selected favorite ids -
variableName:
string
Title:
Variable Name
Variable name used to of action.
Nested Schema : Selected Favorite Ids
Type:
array
Title:
Selected Favorite Ids
List of selected favorite ids
Show Source
Response
Supported Media Types
- application/json
Default Response
Root Schema : favorites-startCollectionResponse
Type:
Show Source
object
-
destinationUrl:
string
Title:
Destination URL
Destination url to where ui shall navigate to on return.
Examples
The following example shows how to invoke a process action upon user request by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v16/favorites/actions/start
Request Body Sample
{ "variableName": "_cm_4359285", "selections": ["123", "456", "789"] }
Response Body Sample
{ "destinationUrl": "" https: //sitename.oracle.com/commerce/buyside/commerce_list_detail.jsp?id=3022619257&contentType=7&autosubmit=true" }