Get Array Set Attribute Metadata
get
/rest/v7/commerceProcesses/{processVarName}/documents/{docVarName}/arraySets/{arraySetVarName}/attributes/{attributeVarName}
This service returns the attribute metadata for a specific Commerce array set.
Request
Path Parameters
-
arraySetVarName: string
Variable Name of the array set.
-
attributeVarName: string
Variable Name of the array set attribute.
-
docVarName: string
Variable Name of the parent document.
-
processVarName: string
Variable Name of the parent process.
Response
Default Response
Root Schema : CommerceAttributes
Type:
Show Source
object
-
additional(optional):
object Additional
Title:
Additional
Additional fields. -
ajaxSensitive(optional):
boolean
Title:
Ajax Sensitive flag
Boolean to determine if the attribute takes part in any rules that will can potentially change state. -
attributeSet(optional):
object foreignKey
-
autoUpdate(optional):
boolean
Title:
Trigger Auto Update
Auto Update -
dateModified(optional):
string
Title:
Date Last Modified
System field indicating the date on which the object was last modified. -
defaultDataType(optional):
object lookup
-
dependencies(optional):
object dependencies
-
description(optional):
string
Title:
Description
Description -
excludeFromXml(optional):
boolean
Title:
Exclude From XML
-
hideForModels(optional):
boolean
Title:
Hide For Models
Hide For Models -
hideForParts(optional):
boolean
Title:
Hide For Parts
Hide For Parts -
hideForSegments(optional):
string
Title:
Hide For Segments
Hide For Segments -
hideLabel(optional):
boolean
Title:
Hide Label
-
id(optional):
integer
Title:
Id
Primary Key of Commerce Attributes. -
label(optional):
string
Title:
Display Name
Attribute Name -
links(optional):
object attributeLinks
-
orderNumber(optional):
integer
Title:
Order
Order Number -
potentialStates(optional):
object Potential States
Title:
Potential States
Set of states for this attribute. -
required(optional):
boolean
Title:
Required
Required -
systemDefault(optional):
object System Default
Title:
System Default
System Default -
type(optional):
object lookup
-
usageType(optional):
object lookup
-
userDefault(optional):
string
Title:
User Default
User defined default value -
validationMethod(optional):
object lookup
-
variableName(optional):
string
Title:
Variable Name
Variable Name
Nested Schema : Additional
Type:
object
Title:
Additional
Additional fields.
Nested Schema : foreignKey
Type:
Show Source
object
-
id(optional):
integer
Title:
Id
Id -
variableName(optional):
string
Title:
Variable Name
Variable Name
Nested Schema : lookup
Type:
Show Source
object
-
displayValue(optional):
string
Title:
Display Value
Translated display name of the type for which fixed list of values can be defined. -
lookupCode(optional):
string
Title:
Lookup Code
Language independent code of the fixed list of value.
Nested Schema : dependencies
Type:
Show Source
object
-
actions(optional):
object Actions
Title:
Actions
Array of actions -
attributes(optional):
object Attributes
Title:
Attributes
Array of attributes -
resources(optional):
object Resources
Title:
Resources
Array of resources
Nested Schema : attributeLinks
Type:
Show Source
object
-
parent(optional):
string
Link to parent Commerce process document attribute.
Nested Schema : Potential States
Type:
object
Title:
Potential States
Set of states for this attribute.
Nested Schema : System Default
Type:
object
Title:
System Default
System Default
Show Source
-
prefix(optional):
string
Title:
Prefix
Prefix for system_variable default data. -
suffix(optional):
string
Title:
Suffix
Suffix for system_variable default data. -
systemVariable(optional):
string
Title:
System Variable
System Variable
Nested Schema : Actions
Type:
object
Title:
Actions
Array of actions
Nested Schema : Attributes
Type:
object
Title:
Attributes
Array of attributes
Nested Schema : Resources
Type:
object
Title:
Resources
Array of resources
Examples
The following example shows how to retrieve metadata for the specified array set attribute by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices/attributes/laborCategory
Response Body Sample
{ "id": 36641145, "dateModified": "2019-01-28", "links": [{ "rel": "parent", "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices" }, { "rel": "self", "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices/attributes/laborCategory" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices/attributes/laborCategory/translations" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices/attributes/laborCategory/menuItems" } ], "label": "Labor Category", "description": "", "userDefault": null, "variableName": "laborCategory", "required": false, "autoUpdate": false, "hideForModels": false, "hideForParts": false, "hideForSegments": "", "orderNumber": 161, "excludeFromXml": false, "hideLabel": false, "systemDefault": null, "type": { "lookupCode": "CmMenuAttribute", "displayValue": "Menu" }, "usageType": { "lookupCode": "1", "displayValue": "General" }, "validationMethod": null, "defaultDataType": { "lookupCode": "0", "displayValue": "None" }, "dependencies": {}, "potentialStates": [], "additional": { "menu_type": { "lookupCode": "0", "displayValue": "Single-Select Menu" }, "constraint_behavior": { "lookupCode": "0", "displayValue": "Hide" } }, "attributeSet": null, "ajaxSensitive": false }