Get Model Attribute Metadata
get
/rest/v19/productFamilies/{prodFamVarName}/productLines/{prodLineVarName}/models/{modelVarName}/attributes/{attributeVarName}
This service returns the metadata for a specific attribute of a Model.
Request
Path Parameters
-
attributeVarName(required): string
Attribute variable name.
-
modelVarName(required): string
Model variable name.
-
prodFamVarName(required): string
Product family variable name.
-
prodLineVarName(required): string
Product line variable name.
Query Parameters
-
excludeLinks: string
Exclude links.
-
expand: string
Allows expansion of relationships.
Response
Supported Media Types
- application/json
Default Response
Attribute details defined at model level.
Root Schema : attribute
Type:
Show Source
object-
additional:
object Additional Properties
Title:
Additional PropertiesAdditional properties. -
ajaxSensitive:
boolean
Title:
Ajax SensitiveAjax Sensitivity of the attribute. -
array:
boolean
Title:
ArrayArray. -
arrayControlAttr:
boolean
Title:
Array Control AttributeArray control attribute. -
autoLock:
boolean
Title:
Auto LockAuto lock. -
category:
object category
-
constraintDisplayType:
object constraintDisplayType
-
defaultValue:
string
Title:
Default ValueDefault value. -
description:
string
Title:
DescriptionDescription. -
displayType:
object displayType
-
endDate:
string
Title:
End DateEnd Date. -
hideInTrans:
boolean
Title:
Hide In TransactionHide in transaction. -
id:
integer
Title:
IdPrimary key of the attribute. -
includeLinkedQuantity:
boolean
Title:
Include Linked QuantityIndicates if the attribute has a linked quantity attribute -
inputTypeCode:
object Input Type Code
Title:
Input Type CodeInput type code. -
itemLevelProcess:
boolean
Title:
Item Level ProcessItem level process. -
jetDisplayType:
object jetDisplayType
-
links:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable -
name:
string
Title:
NameName. -
orderNumber:
integer
Title:
OrderOrder number. -
partComment:
string
Title:
Part CommentPart Comment. -
partNumber:
string
Title:
Part NumberPart Number. -
potentialStates:
array Potential States
Title:
Potential StatesSet of states for this attribute. -
priceItem:
object priceItem
-
propertyClass:
object propertyClass
-
quantityAttributeVarName:
string
Title:
Quantity Attribute VarNameLinked quantity attribute's variable name -
referencePartNumber:
string
Title:
Reference Part NumberPart number reference for the attribute -
required:
boolean
Title:
RequiredRequired. -
runFilter:
boolean
Title:
Run FilterRun Filter. -
setType:
object setType
-
ssplProperties:
object ssplProperties
-
startDate:
string
Title:
Start DateStart Date. -
status:
object status
-
type:
object type
-
validationMethod:
object validationMethod
-
variableName:
string
Title:
Variable NameVariable name.
Nested Schema : Additional Properties
Type:
objectTitle:
Additional PropertiesAdditional properties.
Show Source
Nested Schema : category
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : constraintDisplayType
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : displayType
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : Input Type Code
Type:
objectTitle:
Input Type CodeInput type code.
Show Source
-
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : jetDisplayType
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : Reference Links
Type:
objectTitle:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
hrefURL to the related object -
rel:
string
Title:
LinkLink relationship to the current object
Nested Schema : Potential States
Type:
arrayTitle:
Potential StatesSet of states for this attribute.
Show Source
Nested Schema : priceItem
Type:
Show Source
object-
displayPriceAtBottom:
boolean
Title:
Display Price At BottomDisplay price at bottom. -
includeInTotalPrice:
boolean
Title:
Include In Total PriceInclude in total price. -
pricingDisplayType:
object pricingDisplayType
-
pricingType:
object pricingType
Nested Schema : propertyClass
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : setType
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : ssplProperties
Type:
Show Source
object-
filterString:
string
Title:
Filter StringFilter string. -
id:
integer
Title:
IdIdentifier -
orderByCol:
string
Title:
Order By ColumnOrder by column. -
orderByDir:
object orderByDir
-
pickMaps:
array pickMaps
-
resAttrDisplayName:
string
Title:
Resource Attribute Display NameResource attribute display name. -
resAttrImage:
string
Title:
Resource Attribute ImageResource attribute image. -
resAttrVarName:
string
Title:
Resource Attribute Variable Name.Unique name to identify the resource attribute. -
resourceDomain:
string
Title:
Resource DomainResource domain. -
type:
object type
Nested Schema : status
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : type
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : validationMethod
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : pricingDisplayType
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : pricingType
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : orderByDir
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
Nested Schema : type
Type:
Show Source
object-
displayValue:
string
Title:
Display ValueDisplay value. -
lookupCode:
string
Title:
Lookup CodeLookup code.
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 -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/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/v19/productFamilies/unityINC/productLines/mergedServices/models/converge"
}, {
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/unityINC/productLines/mergedServices/models/converge/attributes/numberOfServices"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/unityINC/productLines/mergedServices/models/converge/attributes/numberOfServices/translations"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/unityINC/productLines/mergedServices/models/converge/attributes/numberOfServices/menuItems"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/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
}