Get Custom Content
post
/content/sim/v1/setup/getCustomContent
Gets all the custom content
Request
Supported Media Types
- application/json
- multipart/form-data
The input Body model that needs to be given.
Root Schema : schema
Type:
Show Source
object
-
include:
string
Objects included in the response.Example:
hierUnitId
-
includeAll:
string
This can take 2 values: basic or detailed. If 'basic' is specified, The response contains all the properties of the object except
Ext values. If 'detailed' is specified, The response contains all the properties of the object. Example:detailed
-
languages:
string
If specified, limits the translated strings returned.Example:
en-US, es-ES, es-MX
-
limit:
integer
If using paging, number of results returned in this page.Example:
10
-
offset:
integer
Starting resource record index. Not required if paging parameters are not supported.Example:
0
-
orderBy:
string
Sorts the response by the specified field name and sort order.Example:
objectNum:asc
-
searchCriteria:
string
Search criteria to filter results based on field value.Example:
where equals(objectNum,1)
Response
Supported Media Types
- application/json
200 Response
A Collection of Custom Content objects
Root Schema : CustomContentGetResponsev1
Type:
Show Source
object
-
count:
integer
Current response record count.Example:
9
-
hasMore:
boolean
Flag indicating if there are more objects to fetch.Example:
true
-
items:
array items
Array of Custom Content objects of the organization.
-
limit:
integer
Server page sizeExample:
10
-
offset:
integer
Starting resource record indexExample:
0
-
totalResults:
integer
Total number of rows (excluding the paging parameters)Example:
100
Nested Schema : CustomContent
Type:
Show Source
object
-
description:
object description
Description
-
filename:
string
The name of the custom content file with extensionExample:
ImageSpoons.jpg
-
filenameOrigin:
string
the content file origin.Example:
C:\Program Files\Oracle Hospitality\EMCClient\OPIPayment.dll
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
hierUnitName:
object hierUnitName
Hier Unit Name
-
hierUnitObjNum:
integer
Hierarchy unit object numberExample:
1
-
id:
integer
Unique reference of the contentExample:
1
-
name:
string
The name of the content objectExample:
Image Spoons
-
size:
integer
the size of the custom content in bytes.Example:
Size: 12 kb, png: 100 x 100 px
-
target:
string
A string value of 0's & 1's representing the platforms where the content is targetedExample:
11111111111111111111111111111111
-
targetExt:
object CustomContent_targetExt
An object containing the descriptive platforms list where the content can be targeted
-
type:
integer
The file type for the custom contentExample:
9
-
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 : description
Type:
object
Description
Example:
{
"en-US":"Image Spoons",
"de-DE":"Bild L??ffel",
"es-MX":"Cucharas de Imagen"
}
Nested Schema : hierUnitName
Type:
object
Hier Unit Name
Example:
{
"en-US":"Enterprise",
"de-DE":"Unternehmen",
"es-MX":"Empresa"
}
Nested Schema : CustomContent_targetExt
Type:
object
An object containing the descriptive platforms list where the content can be targeted
Show Source
-
android:
boolean
target the content on Android platformExample:
false
-
androidMC40:
boolean
target the content on AndroidMC platformExample:
false
-
androidMTablet:
boolean
target the content on AndroidMTablet platformExample:
false
-
linux:
boolean
deploy package to KDS Controller related service host target the content on Linux platformExample:
false
-
win32:
boolean
target the content on Win32 platformExample:
false
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