Get Model Attribute Metadata

get

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

This service returns the metadata for a specific attribute of a Model.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

Default Response

Attribute details defined at model 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/unityINC/productLines/mergedServices/models/converge/attributes/numberOfServices

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": 36735252,
  "links": [{
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v16/productFamilies/unityINC/productLines/mergedServices/models/converge"
    }, {
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/productFamilies/unityINC/productLines/mergedServices/models/converge/attributes/numberOfServices"
    }, {
      "rel": "child",
      "href": "https://sitename.oracle.com/rest/v16/productFamilies/unityINC/productLines/mergedServices/models/converge/attributes/numberOfServices/translations"
    }, {
      "rel": "child",
      "href": "https://sitename.oracle.com/rest/v16/productFamilies/unityINC/productLines/mergedServices/models/converge/attributes/numberOfServices/menuItems"
    }, {
      "rel": "child",
      "href": "https://sitename.oracle.com/rest/v16/productFamilies/unityINC/productLines/mergedServices/models/converge/attributes/numberOfServices/calculatorTabs"
    }
  ],
  "name": "Number of Services",
  "description": "",
  "variableName": "numberOfServices",
  "orderNumber": 1,
  "required": false,
  "itemLevelProcess": false,
  "autoLock": false,
  "hideInTrans": false,
  "defaultValue": "1",
  "startDate": "",
  "endDate": "",
  "additional": {
    "maximum": "200",
    "minimum": "1"
  },
  "type": {
    "lookupCode": "3",
    "displayValue": "Integer"
  },
  "category": {
    "lookupCode": "2",
    "displayValue": "Configurable Attributes"
  },
  "status": {
    "lookupCode": "1",
    "displayValue": "Active"
  },
  "constraintDisplayType": {
    "lookupCode": "1",
    "displayValue": "Marked"
  },
  "setType": {
    "lookupCode": "1",
    "displayValue": "None"
  },
  "displayType": {
    "lookupCode": "1",
    "displayValue": "Text"
  },
  "validationMethod": {
    "lookupCode": "3",
    "displayValue": "Range Check"
  },
  "priceItem": {
    "pricingType": {
      "lookupCode": "1",
      "displayValue": "None"
    },
    "pricingDisplayType": {
      "lookupCode": "1",
      "displayValue": "None"
    },
    "displayPriceAtBottom": true,
    "includeInTotalPrice": true
  },
  "potentialStates": ["visible", "updatable"],
  "ajaxSensitive": false,
  "arrayControlAttr": true,
  "array": false
}
Back to Top