Get Array Set Attribute Metadata

get

/rest/v16/commerceProcesses/{processVarName}/documents/{docVarName}/arraySets/{arraySetVarName}/attributes/{attributeVarName}

This service returns the attribute metadata for a specific Commerce array set.

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : CommerceAttributes
Type: object
Show Source
Nested Schema : Additional
Type: object
Title: Additional
Additional fields.
Nested Schema : foreignKey
Type: object
Show Source
Nested Schema : lookup
Type: object
Show Source
  • Title: Display Value
    Translated display name of the type for which fixed list of values can be defined.
  • Title: Lookup Code
    Language independent code of the fixed list of value.
Nested Schema : dependencies
Type: object
Show Source
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
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
Back to Top

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/v16/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/v16/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices"
    }, {
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices/attributes/laborCategory"
    }, {
      "rel": "child",
      "href": "https://sitename.oracle.com/rest/v16/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices/attributes/laborCategory/translations"
    }, {
      "rel": "child",
      "href": "https://sitename.oracle.com/rest/v16/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
}
Back to Top