Get Product Line Attribute Metadata

get

/rest/v16/productFamilies/{prodFamVarName}/productLines/{prodLineVarName}/attributes/{attributeVarName}

This service returns the metadata for a specific attribute of a Product Line.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

Default Response

Attribute details defined at product line level.
Body ()
Root Schema : attribute
Type: object
Show Source
Nested Schema : Additional Properties
Type: object
Title: Additional Properties
Additional properties.
Show Source
Nested Schema : category
Type: object
Show Source
Nested Schema : constraintDisplayType
Type: object
Show Source
Nested Schema : displayType
Type: object
Show Source
Nested Schema : Input Type Code
Type: object
Title: Input Type Code
Input type code.
Show Source
Nested Schema : jetDisplayType
Type: object
Show Source
Nested Schema : Potential States
Type: array
Title: Potential States
Set of states for this attribute.
Show Source
Nested Schema : priceItem
Type: object
Show Source
Nested Schema : setType
Type: object
Show Source
Nested Schema : ssplProperties
Type: object
Show Source
Nested Schema : status
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : validationMethod
Type: object
Show Source
Nested Schema : pricingDisplayType
Type: object
Show Source
Nested Schema : pricingType
Type: object
Show Source
Nested Schema : orderByDir
Type: object
Show Source
Nested Schema : pickMaps
Type: array
Show Source
Nested Schema : type
Type: object
Show Source
Back to Top

Examples

The following example shows how to retrieve the metadata for the specified Configuration item 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/productFamilies/vision/productLines/laptops/attributes/processor

Translations

The following components can be appended to the end of this endpoint to return translation metadata:

  • /translations - This returns all language translations for the requested entity.
  • /translations/{langCode} - This returns a specific language translation for the requested entity. Example: /translations/es

Response Body Sample

{
  "id": 36637585,
  "links": [{
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/productLines/laptops"
    }, {
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/productLines/laptops/attributes/processor"
    }, {
      "rel": "child",
      "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/productLines/laptops/attributes/processor/translations"
    }, {
      "rel": "child",
      "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/productLines/laptops/attributes/processor/menuItems"
    }, {
      "rel": "child",
      "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/productLines/laptops/attributes/processor/calculatorTabs"
    }
  ],
  "name": "Processor",
  "description": "<iframe src =\"https://hitech-build.bigmachines.com/bmfsweb/hitech-build/image/Data%20Sheets/Comparing_Dual-Core_vs_Quad-Core_CPUs.pdf\" width=\"800\" height=\"600\"></iframe>",
  "variableName": "processor",
  "orderNumber": 3,
  "required": true,
  "itemLevelProcess": true,
  "autoLock": false,
  "hideInTrans": false,
  "defaultValue": "Dual Core 2.8GHz",
  "startDate": "",
  "endDate": "",
  "additional": {
    "image_menu_layout": "0"
  },
  "type": {
    "lookupCode": "1",
    "displayValue": "Text"
  },
  "category": {
    "lookupCode": "2",
    "displayValue": "Configurable Attributes"
  },
  "status": {
    "lookupCode": "1",
    "displayValue": "Active"
  },
  "constraintDisplayType": {
    "lookupCode": "2",
    "displayValue": "Removed"
  },
  "setType": {
    "lookupCode": "1",
    "displayValue": "None"
  },
  "displayType": {
    "lookupCode": "7",
    "displayValue": "Radio Button Vertical"
  },
  "priceItem": {
    "pricingType": {
      "lookupCode": "1",
      "displayValue": "None"
    },
    "pricingDisplayType": {
      "lookupCode": "1",
      "displayValue": "None"
    },
    "displayPriceAtBottom": true,
    "includeInTotalPrice": true
  },
  "potentialStates": ["updatable"],
  "ajaxSensitive": true,
  "arrayControlAttr": false,
  "array": false
}
Back to Top