Add/Update Template Definition

Adds or modifies a template definition.

End-point

POST /configuration/webTemplates/{objectType}/set

Path Parameters

FieldDescription

objectType

Type of document. Possible values are map or topic.

Request Body

FieldTypeDescription

data

TemplateDefinition

To add a new template, the template ID must be empty.

To update an existing template, the ID must match an existing template ID.

Possible Responses

HTTP StatusDescription

200

The operation completed successfully.

401

There is no session or the session is invalid.

Response Body

FieldTypeDescription

result

TemplateDefinition

Template definition created, with its ID.