Get Product Lines Metadata
get
/rest/v19/productFamilies/{prodFamVarName}/productLines
This endpoint returns definitions for a specific Product Line within a Product Family.
Request
Path Parameters
-
prodFamVarName(required): string
Product family variable name.
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 lines.
Root Schema : productLine-collection
Type:
Show Source
object-
items:
array Product Lines
Title:
Product LinesList of product lines -
links:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
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 : productLine
Type:
Show Source
object-
_bm_pline_description:
string
Title:
Product Line DescriptionProduct line description. -
_bm_pline_name:
string
Title:
Product Line NameProduct line display name. -
_bm_pline_variable_name:
string
Title:
Product Line Variable NameUnique variable name to identify the product line. -
customProperties:
object Custom Properties
Title:
Custom PropertiesCustom properties of the product line. -
id:
integer
Title:
IdPrimary key of the product line. -
links:
object Reference Links
Title:
Reference LinksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : Custom Properties
Type:
objectTitle:
Custom PropertiesCustom properties of the product line.
Show Source
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/vision/productLines
Response Body Sample
{
"items": [{
"id": 36637525,
"links": [{
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision"
}, {
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/productLines/servers"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/productLines/servers/models"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/productLines/servers/attributes"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/productLines/servers/arraySets"
}
],
"customProperties": {},
"_bm_pline_name": "Servers",
"_bm_pline_variable_name": "servers",
"_bm_pline_description": "<img src='$BASE_PATH$/Vision/OLDserver-banner.png' alt='' />"
}, {
"id": 36637526,
"links": [{
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision"
}, {
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/productLines/laptops"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/productLines/laptops/models"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/productLines/laptops/attributes"
}, {
"rel": "child",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/productLines/laptops/arraySets"
}
],
"customProperties": {},
"_bm_pline_name": "Laptops",
"_bm_pline_variable_name": "laptops",
"_bm_pline_description": "<img src='$BASE_PATH$/Vision/OLDlaptop-banner.png' alt='' />"
}
],
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/productFamilies/vision/productLines"
}
]
}