Get List of Model Menu Item Price Definitions

get

/rest/v19/allProductFamilySetups/{allProdFamsVarName}/productFamilies/{prodFamVarName}/productLines/{prodLineVarName}/models/{modelVarName}/attributes/{attributeVarName}/menuItems/{menuItem_Id}/prices

Use this endpoint to retrieve a list of definitions for Model attribute menu item prices.

Request

Supported Media Types
Path Parameters
Query Parameters
  • 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 : configMenuItemPrices-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Config Menu Item Prices
Type: object
Title: Config Menu Item Prices
Show Source
Nested Schema : Price
Type: object
Title: Price
Price
Show Source
Back to Top

Examples

The following example shows how to retrieve a list of prices for the specified Model menu item 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/v17/allProductFamilySetups/_allProductFamilies/productFamilies/testbed/productLines/samplePL/models/sampleModel/attributes/aVPSSMDropdown1/menuItems/16305677/prices

Response Body Sample

{
  "hasMore": false,
  "links":
  [{
      "rel": "self",
      "href": "http://sitename.oracle.com/rest/v17/allProductFamilySetups/_allProductFamilies/productFamilies/testbed/productLines/samplePL/models/sampleModel/attributes/aVPSSMDropdown1/menuItems/16305677/prices"
    }
  ],
  "items":
  [{
      "price": {
        "value": 1.23,
        "currency": "USD"
      },
      "dateModified": "2022-03-02T17:26:59.000Z",
      "id": 16305687,
      "dateAdded": "2014-02-24T18:07:55.000Z",
      "links":
      [{
          "rel": "self",
          "href": "http://sitename.oracle.com/rest/v17/allProductFamilySetups/_allProductFamilies/productFamilies/testbed/productLines/samplePL/models/sampleModel/attributes/aVPSSMDropdown1/menuItems/16305677/prices/16305687"
        }, {
          "rel": "parent",
          "href": "http://sitename.oracle.com/rest/v17/allProductFamilySetups/_allProductFamilies/productFamilies/testbed/productLines/samplePL/models/sampleModel/attributes/aVPSSMDropdown1/menuItems/16305677"
        }
      ]
    }
  ]
}
Back to Top