Add Custom Content
post
/content/sim/v1/setup/customContent
Add the custom content to the specified organization.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
-
Simphony-OrgShortName: string
The ShortName of the organization
Request body
Root Schema : CustomContent
Type:
Show Source
object
-
description(optional):
object TranslatedString_description
Additional Properties Allowed: additionalPropertiesA group of string objects representing the description of custom content in configured languages
-
filename(optional):
string
The name of the custom content file with extensionExample:
ImageSpoons.jpg
-
filenameOrigin(optional):
string
the content file origin.Example:
C:\Program Files\Oracle Hospitality\EMCClient\OPIPayment.dll
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
hierUnitName(optional):
object TranslatedString_HierUnitName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the hierarchy unit configured languages
-
hierUnitObjNum(optional):
integer
Hierarchy unit object numberExample:
1
-
id(optional):
integer
Unique reference of the contentExample:
1
-
name:
string
The name of the content objectExample:
Image Spoons
-
size(optional):
integer
the size of the custom content in bytes.Example:
Size: 12 kb, png: 100 x 100 px
-
target(optional):
string
A string value of 0???s & 1???s representing the platforms where the content is targetedExample:
11111111111111111111111111111111
-
targetExt(optional):
object CustomContent_targetExt
An object containing the descriptive platforms list where the content can be targeted
-
type(optional):
integer
The file type for the custom contentExample:
9
-
url(optional):
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 : TranslatedString_description
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the description of custom content in configured languages
Example:
{
"en-US":"Image Spoons",
"es-SS":"cucharas de imagen",
"lt=LT":"Vaizdo ??auk??tai"
}
Nested Schema : TranslatedString_HierUnitName
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
"en-US":"Enterprise",
"es-SS":"Empresa",
"lt=LT":"??mon??"
}
Nested Schema : CustomContent_targetExt
Type:
object
An object containing the descriptive platforms list where the content can be targeted
Show Source
-
android(optional):
boolean
target the content on Android platformExample:
false
-
androidMC40(optional):
boolean
target the content on AndroidMC platformExample:
false
-
androidMTablet(optional):
boolean
target the content on AndroidMTablet platformExample:
false
-
linux(optional):
boolean
deploy package to KDS Controller related service host target the content on Linux platformExample:
false
-
win32(optional):
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(optional):
string
Example:
https://abc.com/content/sim/v1/menuItems/downloadConsumerContent
-
params(optional):
object params
Nested Schema : params
Type:
Show Source
object
-
defSeqNum(optional):
integer
Sequence Number of the menu Item DefinitionExample:
1
-
hierUnitId(optional):
integer
Unique reference of the hierarchy unitExample:
2
-
imageNum(optional):
integer
Number of the image. Values range from 1-10.Example:
1
-
objectNum(optional):
integer
Object Number of the family groupExample:
1
Response
Supported Media Types
- application/json
200 Response
Response object
Root Schema : CustomContentResponse
Type:
Show Source
object
-
hierUnitId:
integer
Unique hierarchy unit value.Example:
1
-
id:
integer
Unique reference of the contentExample:
1
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
object
Response body when the request returns an error.
Show Source
-
detail(optional):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid
-
errorDetails(optional):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist
-
o:errorCode(optional):
integer
Error code of the problemExample:
55223
-
status(optional):
integer
HTTP status code.Example:
400
-
title(optional):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR
-
type(optional):
string
A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".Example:
http://www.abc.org/xyz.html