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.
Request body
Root Schema : CustomContentInsertRequestBody
Type:
Show Source
object
-
description(required):
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(required):
integer
Unique hierarchy unit valueExample:
1
-
name(required):
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
-
type(required):
integer
The file type for the custom contentExample:
9
Nested Schema : description
Type:
object
Description
Example:
{
"en-US":"Image Spoons",
"de-DE":"Bild L??ffel",
"es-MX":"Cucharas de Imagen"
}
Response
Supported Media Types
- application/json
200 Response
Custom content Added.
Root Schema : CustomContentResponse
Type:
Show Source
object
-
hierUnitId:
integer
Unique hierarchy unit value.Example:
1
-
id:
integer
Unique reference of the contentExample:
1