Get Menu Item Defintion Consumer Facing Content
post
/content/sim/v2/menuItems/menuItemDefinition/getConsumerContent
Gets a list of Menu Item Consumer Facing Content.
Request
Supported Media Types
- application/json
- multipart/form-data
Request body
Root Schema : schema
Type:
Show Source
object
-
defSeqNum(required):
integer
Sequence Number of the menu item definitionExample:
1
-
hierUnitId(required):
integer
Unique reference of the hierarchy unit where the Menu Item definition is configured.Example:
2
-
include:
string
If specified, limits the data returned to these fields.Example:
hierUnitId, objectNum, name
-
includeAll:
string
If this value is specified, the include parameter is ignored.
Value Description basic Forces the response to include all fields except option string details detailed Forces the response to include all fields including option string details Example:detailed
-
langIds:
string
If specified, limits translated strings returnedExample:
1,2,3
-
limit:
integer
If using paging, number of results returned in this page.Example:
100
-
objectNum(required):
integer
Object Number of the menu item master.Example:
1
-
offset:
integer
Starting resource record index. Not required if paging parameters are not supportedExample:
0
-
orderBy:
string
Sorts the response by the specified field name and sort order.Example:
hierUnitId:asc
-
searchCriteria:
string
If specified, returns records that match the criteria.Example:
where equals(hierUnitId, 7)
Response
Supported Media Types
- application/json
200 Response
A collection of Menu Item Consumer Facing Content.
Nested Schema : MenuItemConsumerFacingContentv2
Type:
object
Model for Menu Item Consumer Facing Content Object
Show Source
-
defSeqNum:
integer
Sequence Number of the menu item definitionExample:
1
-
hierUnitId:
integer
Unique reference of the hierarchy unit where the Menu Item definition is configured.Example:
2
-
hierUnitObjNum:
integer
Object number of the hierarchy unitExample:
1
-
images:
array images
An array containing images of the Menu Item Definition.
-
objectNum:
integer
Object Number of the menu item master.Example:
1
Nested Schema : images
Type:
array
An array containing images of the Menu Item Definition.
Show Source
Nested Schema : items
Type:
Show Source
object
-
altText:
string
altText of the imageExample:
Image of appetizers
-
description:
string
Description of the images.Example:
Image of Appetizers
-
fileName:
string
The name of the image fileExample:
ImageAppetizers.jpg
-
imageIndex:
integer
Number of the image. Values range from 1-10.Example:
1
-
imageUrl:
string
The object storage URL of the uploaded image. This URL can be used to download the uploaded image.Example:
https://objectstorage.oracle.com/xyz.jpg
-
size:
string
The size of an imageExample:
Size: 12 kb, png: 100 x 100 px
-
url:
object URL
The URL of the download API which needs to be used to download the actual content file. This is auto-generated and does not need to be provided during add/update calls.
Nested Schema : URL
Type:
object
The URL of the download API which needs to be used to download the actual content file. This is auto-generated and does not need to be provided during add/update calls.
Show Source
-
endpoint:
string
Example:
https://abc.com/content/sim/v1/menuItems/downloadConsumerContent
-
params:
object params
Nested Schema : params
Type:
Show Source
object
-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
2
-
imageIndex:
integer
Number of the image. Values range from 1-10.Example:
1
-
objectNum:
integer
Object Number of the family groupExample:
1