Get List of All Product Families Menu Item Definitions

get

/rest/v19/allProductFamilySetups/{allProdFamsVarName}/attributes/{attributeVarName}/menuItems

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

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 : configMenuItems-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Config Menu Items
Type: object
Title: Config Menu Items
Show Source
Back to Top

Examples

The following example shows how to retrieve a list of menu items for the specified All Product Families attribute 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 "Content-type: application/json"
https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems

Response Body Sample

{
  "hasMore": false,
  "links":
  [{
      "rel": "self",
      "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems"
    }
  ],
  "items":
  [{
      "orderNumber": 1,
      "itemValue": "Value 1",
      "isOverride": "false",
      "dateModified": "2022-03-02T17:26:58.000Z",
      "id": 16305677,
      "dateAdded": "2014-02-24T18:07:51.000Z",
      "itemText": "Value 1",
      "links":
      [{
          "rel": "self",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305677"
        }, {
          "kind": "",
          "rel": "child",
          "name": "images",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305677/images"
        }, {
          "kind": "",
          "rel": "child",
          "name": "prices",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305677/prices"
        }, {
          "kind": "",
          "rel": "child",
          "name": "translations",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305677/translations"
        }, {
          "rel": "parent",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1"
        }
      ]
    }, {
      "orderNumber": 2,
      "itemValue": "Value 2",
      "isOverride": "false",
      "dateModified": "2022-03-02T17:26:58.000Z",
      "id": 16305680,
      "dateAdded": "2014-02-24T18:07:51.000Z",
      "itemText": "Value 2",
      "links":
      [{
          "rel": "self",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305680"
        }, {
          "kind": "",
          "rel": "child",
          "name": "images",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305680/images"
        }, {
          "kind": "",
          "rel": "child",
          "name": "prices",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305680/prices"
        }, {
          "kind": "",
          "rel": "child",
          "name": "translations",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305680/translations"
        }, {
          "rel": "parent",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1"
        }
      ]
    }, {
      "orderNumber": 3,
      "itemValue": "Value 3",
      "isOverride": "false",
      "dateModified": "2022-03-02T17:26:58.000Z",
      "id": 16305683,
      "dateAdded": "2014-02-24T18:07:51.000Z",
      "itemText": "Value 3",
      "links":
      [{
          "rel": "self",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305683"
        }, {
          "kind": "",
          "rel": "child",
          "name": "images",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305683/images"
        }, {
          "kind": "",
          "rel": "child",
          "name": "prices",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305683/prices"
        }, {
          "kind": "",
          "rel": "child",
          "name": "translations",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1/menuItems/16305683/translations"
        }, {
          "rel": "parent",
          "href": "http://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aVPSSMDropdown1"
        }
      ]
    }
  ]
}
Back to Top