/configuration/webTemplates/{objectType}/set - Add or update a template definition

Adds or modifies a template definition.

Your login must have the ManageConfigurations access right to execute this API.

End-point

POST /configuration/webTemplates/{objectType}/set

Path parameters

FieldDescription

objectType

Type of document

Note: Possible values are map or topic.

Request body

FieldTypeDescription

data

TemplateDefinition[…]

  • Add a new template: Template ID must be empty

  • Update an existing template: ID must match an existing template ID

Possible response

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 identifier