Get List of Product Line Catalog Definitions

get

/rest/v19/allProductFamilySetups/{allProdFamsVarName}/productFamilies/{prodFamVarName}/productLines

Use this endpoint to retrieve a list of catalog definitions for Product Lines.

Request

Supported Media Types
Path Parameters
Query Parameters
  • Allows expansion of relationships.
  • Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
  • The requested page size, which limits the number of elements the collection should max return.
  • The offset of the page. By default, offset is 0, which means first page will be returned.
  • Specifies a comma-separated list of pairs to order the response by.
  • Allows to specify one or more filtering criteria. By default, no filtering is applied.
  • Specifies that the total count of records should be included in the response when doing pagination.
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : productLineSetups-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Product Lines
Type: object
Title: Product Lines
Show Source
Back to Top

Examples

The following example shows how to retrieve a list of catalog definitions for Product Lines 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/productFamilies/unityINC/productLines

Response Body Sample

{
  "hasMore": false,
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines"
    }
  ],
  "items": [{
      "companyId": 4118171,
      "variableName": "standAloneServices",
      "segmentId": 13,
      "description": null,
      "dateModified": "2020-05-04T16:32:27.000Z",
      "id": 36732586,
      "label": "Stand Alone Services",
      "dateAdded": "2018-11-09T17:27:10.000Z",
      "parentId": -1,
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/standAloneServices"
        }, {
          "kind": "",
          "rel": "child",
          "name": "attributes",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/standAloneServices/attributes"
        }, {
          "kind": "",
          "rel": "child",
          "name": "models",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/standAloneServices/models"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC"
        }
      ]
    }, {
      "companyId": 4118171,
      "variableName": "mergedServices",
      "segmentId": 13,
      "description": null,
      "dateModified": "2020-05-04T16:32:27.000Z",
      "id": 38073908,
      "label": "Merged Services",
      "dateAdded": "2019-07-30T12:42:41.000Z",
      "parentId": -1,
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/mergedServices"
        }, {
          "kind": "",
          "rel": "child",
          "name": "attributes",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/mergedServices/attributes"
        }, {
          "kind": "",
          "rel": "child",
          "name": "models",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines/mergedServices/models"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC"
        }
      ]
    }
  ]
}
Back to Top