Add Menu Item Definition Consumer Facing Content
post
/content/sim/v1/menuitems/menuitemdefinition/consumerContent
Add the Menu Item Consumer Facing Content to a specified hierarchy unit .
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Menu Item Consumer Facing Content object of the organization
Root Schema : schema
Type:
object
Model for Menu Item Consumer Facing Content Object
Show Source
-
altText:
string
altText of the imageExample:
Image of appetizers
-
defSeqNum(required):
integer
Sequence Number of the menu item definitionExample:
1
-
description:
string
Description of the image.Example:
Image of Appetizers
-
hierUnitId(required):
integer
Unique reference of the hierarchy unit where the Menu Item definition is configured.Example:
2
-
imageIndex(required):
integer
Number of the image. Values range from 1-10.Example:
1
-
objectNum(required):
integer
Object Number of the menu item master.Example:
1
-
size:
string
The size of an imageExample:
Size: 12 kb, png: 100 x 100 px
Response
Supported Media Types
- application/json
200 Response
Menu Item Consumer Facing Content Added.
Root Schema : MenuItemConsumerFacingContentResponse
Type:
object
Response object for Content related Objects
Show Source
-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
1
-
imageIndex:
integer
Image number of the menu itemExample:
1
-
objectNum:
integer
Object Number of the menu itemExample:
1
-
url:
string
Object storage url of the uploaded image, can be used for downloading the uploaded image.Example:
https://objectstorage.oracle.com/xyz.jpg