Get List of Product Family Catalog Definitions

get

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

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

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 : productFamilySetups-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Product Family
Type: object
Title: Product Family
Show Source
Back to Top

Examples

The following example shows how to retrieve a list of catalog definitions for Product Families 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

Response Body Sample

{
  "hasMore": false,
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies"
    }
  ],
  "items": [{
      "companyId": 4118171,
      "variableName": "unityINC",
      "segmentId": 13,
      "name": "Unity INC",
      "dateModified": "2021-02-03T17:40:33Z",
      "id": 36732579,
      "dateAdded": "2018-11-09T17:24:51Z",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC"
        }, {
          "kind": "",
          "rel": "child",
          "name": "attributes",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/attributes"
        }, {
          "kind": "",
          "rel": "child",
          "name": "productLines",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/unityINC/productLines"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies"
        }
      ]
    }, {
      "companyId": 4118171,
      "variableName": "varioTablets",
      "segmentId": 10,
      "name": "Vario Tablets",
      "dateModified": "2021-02-03T17:40:33Z",
      "id": 36592821,
      "dateAdded": "2017-11-09T13:47:13Z",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/varioTablets"
        }, {
          "kind": "",
          "rel": "child",
          "name": "attributes",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/varioTablets/attributes"
        }, {
          "kind": "",
          "rel": "child",
          "name": "productLines",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/varioTablets/productLines"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies"
        }
      ]
    }, {
      "companyId": 4118171,
      "variableName": "visionServices",
      "segmentId": 11,
      "name": "Vision Services",
      "dateModified": "2021-02-03T17:40:33Z",
      "id": 36592830,
      "dateAdded": "2017-11-09T13:47:21Z",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionServices"
        }, {
          "kind": "",
          "rel": "child",
          "name": "attributes",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionServices/attributes"
        }, {
          "kind": "",
          "rel": "child",
          "name": "productLines",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionServices/productLines"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies"
        }
      ]
    }, {
      "companyId": 4118171,
      "variableName": "visionVehicles",
      "segmentId": 29,
      "name": "Vision Vehicles",
      "dateModified": "2021-09-17T12:29:43Z",
      "id": 38644483,
      "dateAdded": "2021-09-17T12:28:09Z",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionVehicles"
        }, {
          "kind": "",
          "rel": "child",
          "name": "attributes",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionVehicles/attributes"
        }, {
          "kind": "",
          "rel": "child",
          "name": "productLines",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionVehicles/productLines"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies"
        }
      ]
    }
  ]
}
Back to Top