Get Model Attributes Metadata

get

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

This service returns the metadata for all attributes of a specific Model.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

Default Response

List of attributes defined at model level.
Body ()
Root Schema : attribute-collection
Type: object
Show Source
Nested Schema : Attributes
Type: array
Title: Attributes
List of attributes
Show Source
Nested 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

Response Body Sample

{
  "items": [{
      "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
    }
  ],
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/productFamilies/unityINC/productLines/mergedServices/models/converge/attributes"
    }
  ]
}
Back to Top