Creates a new dynamic template by uploading HBS and JSON configuration files for multiple languages. The structure (fields and rules) is provided as part of each source metadata, extracted from the template editor. The system validates the structure and persists the template with version 1.0.
POST/orgs/{org_id}/dynamic_templates
Parameters
Name
In
Type
Required
Description
org_id
path
string
true
The string id related with one of Grupo MasOrange tenants
body
body
object
true
Template metadata and sources (HBS and JSON files) for each language. Each source includes the pre-extracted structure with fields, rules, and engine version.
Returns a paginated list of all dynamic templates for an organization. Only the latest version of each majorversion (the ones that could be edited) is included, ordered by creation_date in descending order.
GET/orgs/{org_id}/dynamic_templates
Parameters
Name
In
Type
Required
Description
org_id
path
string
true
The string id related with one of Grupo MasOrange tenants
external_id
query
string
false
Optional filter to retrieve templates for a specific external_id
Returns all minor versions for a specific major version of a dynamic template, ordered by minor version in descending order (newest to oldest). Includes field schemas and rules extracted from the template file.
Creates a new minor version of an existing dynamic template with non-breaking changes such as adding new languages or updating existing language content. Breaking changes like adding or removing fields and rules, removing sources or changing default language will result in a 409 error.
Returns complete information for a specific minor version of a dynamic template, including field schemas, rules,and source URLs for rendering or analysis.
Creates a new major version of an existing dynamic template with breaking changes. All languages must be provided with their sources. The new version will be X+1.0 where X is the highest existing major version.All new information in the template must be provided, as the information from the previous version will not be kept.
Deletes the latest minor version of a specific major version line. Cannot delete the base version (X.0) or if it's the only minor version in the major line.
Returns the complete changelog history for a dynamic template, showing all version transitions ordered by version in descending order (newest to oldest).