TemplateComponent
Creates a TemplateComponent resource.
Creates a TemplateComponent resource.
POST
/api/spa/template-componentsAuthorizations
X-AUTH-TOKEN
stringheaderrequired
Value for the X-AUTH-TOKEN header parameter.
Request Body
application/ld+json
required
The new TemplateComponent resource
{
"identifier": "string",
"description": "Example description",
"value": "string",
"root": true,
"subClient": {},
"brandIdentifier": "default",
"active": true,
"activeFrom": "2024-01-01",
"subClientDefault": false
}application/json
required
The new TemplateComponent resource
{
"identifier": "string",
"description": "Example description",
"value": "string",
"root": true,
"subClient": {},
"brandIdentifier": "default",
"active": true,
"activeFrom": "2024-01-01",
"subClientDefault": false
}multipart/form-data
required
The new TemplateComponent resource
{
"identifier": "string",
"description": "Example description",
"value": "string",
"root": true,
"subClient": {},
"brandIdentifier": "default",
"active": true,
"activeFrom": "2024-01-01",
"subClientDefault": false
}Response
201
TemplateComponent resource created
id
integer
identifier
stringrequired
description
stringrequired
value
string
root
boolean
createdBy
string
User, created this entry
updatedBy
string
User, updated this entry
createdAt
string<date-time>
UTC date time of entry creation
updatedAt
string<date-time>
UTC date time of last entry update
brandIdentifier
stringrequired
active
boolean
Active flag. Default: true
activeFrom
string<date-time>
Date to activate the entry. Default: today
subClientDefault
boolean
Default for environmental tenants (sub-clients)
subClientId
integer
SubClient ID. Provided on instances with enabled sub-client module only.
subClientDescription
string
SubClient description. Provided on instances with enabled sub-client module only.