TemplateVariants

Updates a template variant.

Updates the subject and/or body content of the language variant. Only provided fields will be modified.

put/public/v1/notifications/templates/{templateId}/variants/{id}

Request

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

Path parameters

templateIdstring required

A notification template ID.

idstring required

A template variant ID.

Request body

languageCodestring
subjectstring
bodystring

Response

OK

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.