Get Product Lines Metadata

get

/rest/v16/productFamilies/{prodFamVarName}/productLines

This endpoint returns definitions for a specific Product Line within a Product Family.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

Default Response

List of product lines.
Body ()
Root Schema : productLine-collection
Type: object
Show Source
Nested Schema : Product Lines
Type: array
Title: Product Lines
List of product lines
Show Source
Nested Schema : productLine
Type: object
Show Source
Nested Schema : Custom Properties
Type: object
Title: Custom Properties
Custom properties of the product line.
Show Source
Back to Top

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/productLines

Response Body Sample

{
  "items": [{
      "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='' />"
    }, {
      "id": 36637526,
      "links": [{
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision"
        }, {
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/productLines/laptops"
        }, {
          "rel": "child",
          "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/productLines/laptops/models"
        }, {
          "rel": "child",
          "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/productLines/laptops/attributes"
        }, {
          "rel": "child",
          "href": "https://sitename.oracle.com/rest/v16/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/v16/productFamilies/vision/productLines"
    }
  ]
}
Back to Top