Get Product Families Metadata
get
/rest/v19/productFamilies
This endpoint returns definitions for all Product Families.
Request
Query Parameters
-
excludeLinks: string
Exclude links.
-
expand: string
Allows expansion of relationships.
-
showParentAttrs: string
Allows expansion of parent attributes.
Response
Supported Media Types
- application/json
Default Response
List of product families.
Root Schema : productFamily-collection
Type:
Show Source
object-
items:
array Product Families
Title:
Product FamiliesList of product families -
links:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : Product Families
Type:
arrayTitle:
Product FamiliesList of product families
Show Source
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 : productFamily
Type:
Show Source
object-
dateModified:
string
Title:
Date Last ModifiedSystem field indicating the date on which the product family was last modified. -
id:
integer
Title:
IdPrimary key of the product family. -
label:
string
Title:
LabelDisplay name. -
links:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable -
orderNumber:
integer
Title:
OrderOrder Number. -
segmentId:
integer
Title:
Segment IdSegment Identifier. -
variableName:
string
Title:
Variable NameProduct family variable name.
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
Response Body Sample
{
"items": [{
"id": 36637441,
"dateModified": "2018-10-30T07:29:44.000Z",
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/translations"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/productLines"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/attributes"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/arraySets"
}
],
"label": "Hi-Tech",
"variableName": "vision",
"segmentId": 10,
"orderNumber": 1
}
],
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/productFamilies"
}
]
}