Get Favorite Process Inocations
post
/rest/v16/favorites/actions/getProcessInvocations
This endpoint returns the process invocations for favorites.
Request
Supported Media Types
- application/json
Root Schema : favorites-getProcessInvocationsCollectionRequest
Type:
object
Response
Supported Media Types
- application/json
Default Response
Nested Schema : favoriteProcessInvocations-collection
Type:
Show Source
object
-
count:
integer
The number of resource instances returned in the current range.
-
hasMore:
boolean
Returns true if more resources are available on the server than the subset returned in current page.
-
items:
array items
-
limit:
integer
The actual paging size used by the server. If no limit was specified or if a limit greater than 1000 is specified, a pagination limit of 1000 will be used
-
offset:
integer
The offset used in the current page.
-
totalResults:
integer
Capture the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
Nested Schema : items
Type:
Show Source
array
-
Array of:
object Favorite Process Invocations
Title:
Favorite Process Invocations
Nested Schema : Favorite Process Invocations
Type:
object
Title:
Show Source
Favorite Process Invocations
-
description:
string
Title:
Description
-
name:
string
Title:
Name
-
targetType:
string
Title:
Target Type
-
variableName:
string
Title:
Variable Name
Examples
The following example shows how to return the process invocations for favorite 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/getProcessInvocations
Response Body Sample
{ "result": { "hasMore": false, "items": [{ "variableName": "CM_4174166", "name": "Create Quotes", "description": "Create Quote", "targetType": "start" }, { "variableName": "CM_7065206", "name": "Add to Cart (Quotes)", "description": "", "targetType": "shoppingCart" }, { "variableName": "CM_18321147", "name": "Add from Favorite", "description": "", "targetType": "start" } ] } }