Get Product Line Metadata
get
/rest/v16/productFamilies/{prodFamVarName}/productLines/{prodLineVarName}
This endpoint returns definitions for a specific Product Line within a Product Family.
Request
Path Parameters
-
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.
-
showParentAttrs: string
Allows expansion of parent attributes.
Response
Supported Media Types
- application/json
Default Response
Product line details in a product family.
Root Schema : productLine
Type:
Show Source
object
-
_bm_pline_description:
string
Title:
Product Line Description
Product line description. -
_bm_pline_name:
string
Title:
Product Line Name
Product line display name. -
_bm_pline_variable_name:
string
Title:
Product Line Variable Name
Unique variable name to identify the product line. -
customProperties:
object Custom Properties
Title:
Custom Properties
Custom properties of the product line. -
id:
integer
Title:
Id
Primary key of the product line. -
links:
object Reference Links
Title:
Reference Links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : Custom Properties
Type:
object
Title:
Custom Properties
Custom properties of the product line.
Show Source
Nested Schema : Reference Links
Type:
object
Title:
Reference Links
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
href
URL to the related object -
rel:
string
Title:
Link
Link relationship to the current object
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/vision/productLine/servers
Response Body Sample
{ "id": 36637525, "links": [{ "rel": "parent", "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision" }, { "rel": "self", "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/productLines/servers" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/productLines/servers/models" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/productLines/servers/attributes" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v16/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='' />" }