Get Actions Metadata
get
/rest/v19/commerceProcesses/{processVarName}/documents/{docVarName}/actionDefs
This service returns the metadata for all actions defined for the specified Commerce document.
Request
Path Parameters
-
docVarName(required): string
The variable name of the Commerce document
-
processVarName(required): string
The variable name of the Commerce process
Response
Default Response
Nested Schema : CommerceActions
Type:
Show Source
object-
actionSet:
object foreignKey
-
actionTimeout:
integer
Title:
Action TimeoutAction Timeout -
additional:
object Additional
Title:
AdditionalAdditional Fields -
autoUnlockQuote:
boolean
Title:
Automatically Unlock QuoteBoolean property that specifies whether the action will automatically unlock the quote if it is locked for the user who is executing the action. -
dateModified:
string
Title:
Date Last ModifiedSystem field indicating the date on which the object was last modified. -
dependencies:
object dependencies
-
description:
string
Title:
DescriptionDescription -
destinationType:
object lookup
-
evalReasonTree:
boolean
Title:
Eval Reason TreeEval Reason Tree -
id:
integer
Title:
IdPrimary Key of Commerce Actions. -
isRemote:
boolean
Title:
Is RemoteIs Remote -
isShowLoadingDialog:
boolean
Title:
Is Show Loading DialogIs Show Loading Dialog -
label:
string
Title:
Display NameAction Name -
links:
object actionLinks
-
parentAction:
object foreignKey
-
potentialStates:
object Potential States
Title:
Potential StatesSet of states for this attribute. -
resetReasonType:
object lookup
-
type:
object lookup
-
usageType:
object lookup
-
validationType:
object lookup
-
variableName:
string
Title:
Variable NameVariable Name
Nested Schema : foreignKey
Type:
Show Source
object-
id:
integer
Title:
IdId -
variableName:
string
Title:
Variable NameVariable Name
Nested Schema : Additional
Type:
objectTitle:
AdditionalAdditional Fields
Nested Schema : dependencies
Type:
Show Source
object-
actions:
object Actions
Title:
ActionsArray of actions -
attributes:
object Attributes
Title:
AttributesArray of attributes -
groups:
object Groups
Title:
GroupsArray of groups -
resources:
object Resources
Title:
ResourcesArray of resources
Nested Schema : lookup
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : actionLinks
Type:
Show Source
object-
parent:
string
Link to parent Commerce process document.
-
translations:
string
Link to translations for Commerce process document actions.
Nested Schema : Potential States
Type:
objectTitle:
Potential StatesSet of states for this attribute.
Nested Schema : Actions
Type:
objectTitle:
ActionsArray of actions
Nested Schema : Attributes
Type:
objectTitle:
AttributesArray of attributes
Nested Schema : Groups
Type:
objectTitle:
GroupsArray of groups
Nested Schema : Resources
Type:
objectTitle:
ResourcesArray of resources
Examples
The following example shows how to retrieve the metadata for all actions defined for the specified Commerce document by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/commerceProcesses/oraclecpqo/documents/transaction/actionDefs
The following example shows how to retrieve metadata for all "transaction" actions using the 'Expand All' parameter to include translations by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/commerceProcesses/oraclecpqo/documents/transaction/actionDefs?expand=all*