Update Screen Look Ups
post
/config/sim/v1/setup/updatescreenlookups
Updates SLU object.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
A CUD request body
Root Schema : SLUUpdateRequestBody
Type:
object
Model for an SLU CUD Request
Show Source
-
hierUnitId(required):
integer
Hierarchy Unit Id of the root node of the hierarchyExample:
1
-
images:
array images
An array of images associated with the SLU
-
name(required):
object name
Name
-
objectNum(required):
integer
Sequence Number of the SLUExample:
1
-
type(required):
integer
Slu Type Number assigned to the SLU | Slu Type | SLU Name | Allowed Hierarchy Level | Allowed objectNum | |------------|-------------------------------|-------------------------------|-------------------| | 1 | Discount SLU | Enterprise/Zone/Location | 1-64 | | 2 | Service Charges SLU | Enterprise/Zone/Location | 1-64 | | 3 | Tender Media SLU | Enterprise/Zone/Location | 1-64 | | 6 | Menu Items SLU | Enterprise/Zone/Location/RVC | 1-999999999 | | 7 | Menu Item Master Groups SLU | Enterprise/Zone/Location | 1-32 |Example:
1
Nested Schema : name
Type:
object
Name
Example:
{
"en-US":"Coffee",
"de-DE":"Kaffee",
"es-MX":"Cafe"
}
Nested Schema : SLU_image
Type:
Show Source
object
-
altText:
string
The image alternative text of the SLUExample:
SLU 1
-
description:
string
The description text of the SLUExample:
SLU description
-
imageIndex:
integer
Image Number for referenceExample:
1
-
isCloudImage:
boolean
Flag indicating if the image is stored on the CloudExample:
true
-
size:
string
The size of the imageExample:
1
-
url:
string
The URL of the image of the SLUExample:
https://oracleObjectStore.com/images/coffee822815.jpg
Response
Supported Media Types
- application/json
200 Response
Screen Look Up Updated or Added.
Root Schema : SLUUpdateResponseBody
Type:
Show Source
object
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
objectNum:
integer
Object number of the SLUExample:
1
-
type:
integer
Slu Type Number assigned to the SLU | Slu Type | SLU Name | Allowed Hierarchy Level | Allowed objectNum | |------------|-------------------------------|-------------------------------|-------------------| | 1 | Discount SLU | Enterprise/Zone/Location | 1-64 | | 2 | Service Charges SLU | Enterprise/Zone/Location | 1-64 | | 3 | Tender Media SLU | Enterprise/Zone/Location | 1-64 | | 6 | Menu Items SLU | Enterprise/Zone/Location/RVC | 1-999999999 | | 7 | Menu Item Master Group SLU | Enterprise/Zone/Location | 1-32 |Example:
1