Get All Product Families Attributes
get
/rest/v19/allProductFamilySetups/{allProdFamsVarName}/attributes
Use this endpoint to retrieve All Product Families attributes.
Request
Supported Media Types
- application/json
Path Parameters
-
allProdFamsVarName(required): string
Variable Name
Query Parameters
-
expand: string
Allows expansion of relationships.
-
fields: string
Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
-
limit: integer
The requested page size, which limits the number of elements the collection should max return.
-
offset: integer
The offset of the page. By default, offset is 0, which means first page will be returned.
-
orderby: string
Specifies a comma-separated list of pairs to order the response by.
-
q: string
Allows to specify one or more filtering criteria. By default, no filtering is applied.
-
totalResults: boolean
Specifies that the total count of records should be included in the response when doing pagination.
Response
Supported Media Types
- application/json
Default Response
Root Schema : configAttributeSetups-collection
Type:
Show Source
object-
count:
integer
The number of resource instances returned in the current range.
-
hasMore:
boolean
Returns true if more resources are available on the server than the subset returned in current page.
-
items:
array items
-
limit:
integer
The actual paging size used by the server.
-
offset:
integer
The offset used in the current page.
-
totalResults:
integer
Capture the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
Nested Schema : Attributes
Type:
objectTitle:
Show Source
Attributes-
attributeType:
object Attribute Array Type
Title:
Attribute Array TypeIndicates if Attribute is Array Type -
category:
object Attribute Category
Title:
Attribute CategoryCategory Attribute Belongs To -
dataType:
object Data Type
Title:
Data TypeData Type of the Attribute -
dateAdded:
string
Title:
Date AddedSystem field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date ModifiedSystem field indicating the date on which the Resource was last modified. -
description:
string
Title:
DescriptionDescription of the Attribute -
displayType:
object Display Type
Title:
Display TypeDisplay Type of the Attribute -
id:
integer
Title:
IdPrimary Key Of The Resource -
label:
string
Title:
Attribute NameName of the Attribute - menuType: object Attribute Menu Type
-
orderNumber:
integer
Title:
Order NumberOrder Number of the Attribute -
refType:
object Reference Type
Title:
Reference TypeType of the Reference -
variableName:
string
Title:
Variable NameVariable Name of the Attribute
Nested Schema : Attribute Array Type
Type:
objectTitle:
Attribute Array TypeIndicates if Attribute is Array Type
Show Source
-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Attribute Category
Type:
objectTitle:
Attribute CategoryCategory Attribute Belongs To
Show Source
-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Data Type
Type:
objectTitle:
Data TypeData Type of the Attribute
Show Source
-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Display Type
Type:
objectTitle:
Display TypeDisplay Type of the Attribute
Show Source
-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Nested Schema : Reference Type
Type:
objectTitle:
Reference TypeType of the Reference
Show Source
-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
Examples
The following example shows how to retrieve a list of definitions for All Product Families attributes 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 "Accept: application/json" https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes
Response Body Sample
{
"hasMore": false,
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes"
}
],
"items": [{
"orderNumber": 6,
"refType": {
"lookupCode": "1",
"displayValue": "All Product Families",
"id": 38731825,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_REF_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731825"
}
]
},
"description": "Registered Item User Language",
"dateAdded": "2004-07-06T19:19:36.000Z",
"attributeType": {
"lookupCode": "0",
"displayValue": "Non Array Type",
"id": 38731846,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_ARRAY_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731846"
}
]
},
"id": 4121699,
"variableName": "_BM_USER_LANGUAGE",
"dataType": {
"lookupCode": "1",
"displayValue": "Text",
"id": 38731810,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_DATA_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731810"
}
]
},
"dateModified": "2019-04-02T09:31:47.000Z",
"label": "User Language",
"displayType": {
"lookupCode": "3",
"displayValue": "Single Select Menu",
"id": 38731834,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_DISPLAY_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731834"
}
]
},
"menuType": {
"lookupCode": "1",
"displayValue": "Menu",
"id": 38731822,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_MENU_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731822"
}
]
},
"category": {
"lookupCode": "6",
"displayValue": "User",
"id": 38731804,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_CATEGORY%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731804"
}
]
},
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/_BM_USER_LANGUAGE"
}, {
"kind": "",
"rel": "child",
"name": "menuItems",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/_BM_USER_LANGUAGE/menuItems"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies"
}
]
}, {
"orderNumber": 8,
"refType": {
"lookupCode": "1",
"displayValue": "All Product Families",
"id": 38731825,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_REF_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731825"
}
]
},
"description": "Registered Item User Exchange Rate",
"dateAdded": "2006-06-12T19:42:46.000Z",
"attributeType": {
"lookupCode": "0",
"displayValue": "Non Array Type",
"id": 38731846,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_ARRAY_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731846"
}
]
},
"id": 4125768,
"variableName": "_BM_USER_EXCHANGE_RATE",
"dataType": {
"lookupCode": "2",
"displayValue": "Float",
"id": 38731811,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_DATA_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731811"
}
]
},
"dateModified": "2019-04-02T09:31:47.000Z",
"label": "User Exchange Rate",
"displayType": {
"lookupCode": "1",
"displayValue": "Text",
"id": 38731832,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_DISPLAY_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731832"
}
]
},
"menuType": {
"lookupCode": "0",
"displayValue": "Standard",
"id": 38731821,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_MENU_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731821"
}
]
},
"category": {
"lookupCode": "6",
"displayValue": "User",
"id": 38731804,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_ATTR_CATEGORY%22%7D%7D"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/lookupValues/38731804"
}
]
},
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/_BM_USER_EXCHANGE_RATE"
}, {
"kind": "",
"rel": "child",
"name": "menuItems",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/_BM_USER_EXCHANGE_RATE/menuItems"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies"
}
]
}, {
...
}
]
}