Get List of All Product Families Definitions

get

/rest/v16/allProductFamilySetups

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

Request

Supported Media Types
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 : allProductFamilySetups-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Product
Type: object
Title: Product
Show Source
Back to Top

Examples

The following example shows how to retrieve a list of catalog definitions for All Product Families 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 "Accept: application/json"
https://sitename.oracle.com/rest/v16/allProductFamilySetups

Response Body Sample

{
  "hasMore": false,
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/allProductFamilySetups"
    }
  ],
  "items": [{
      "companyId": 4118171,
      "variableName": "_allProductFamilies",
      "label": "All Product Families",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v16/allProductFamilySetups/_allProductFamilies"
        }, {
          "kind": "",
          "rel": "child",
          "name": "attributes",
          "href": "https://sitename.oracle.com/rest/v16/allProductFamilySetups/_allProductFamilies/attributes"
        }, {
          "kind": "",
          "rel": "child",
          "name": "productFamilies",
          "href": "https://sitename.oracle.com/rest/v16/allProductFamilySetups/_allProductFamilies/productFamilies"
        }
      ]
    }
  ]
}
Back to Top