TemplateVariants

Creates a template variant.

Adds a new language variant to the template with subject and body content for the specified language.

post/public/v1/notifications/templates/{templateId}/variants

Request

  • Base URL: https://api.platform.softwareone.com
  • URL: https://api.platform.softwareone.com/public/v1/notifications/templates/{templateId}/variants
  • Auth: none declared

Path parameters

templateIdstring required

A notification template ID.

Request body

languageCodestring
subjectstring
bodystring

Response

Created

idstring
revisioninteger
bodystring nullable

Gets or sets the body content for this variant.

defaultboolean

Gets or sets a value indicating whether this is the default variant for the parent template.

languageCodestring

Gets or sets the language code for this variant.

statusstring

Gets or sets the current status of the variant.

subjectstring nullable

Gets or sets the subject for messages created from this variant.

Changes

No recorded changes to this operation across all 1 revision of this API.