Skip to main content

TemplateDto

Properties

NameTypeDescriptionNotes
keystrThe key of the template[required]
namestrThe name of the Task Manager Subscription[optional]
mediumEnum [ 'EMAIL', 'PHONE', 'SMS', 'SLACK', 'TEAMS' ]The message medium. More mediums may be added in the future.[required]
localestrThe locale for the message text, a BCP 47 language tag.[required]
subjectstrThe subject line in the template[optional]
headerstrThe header value is now located within the body field. If included with non-null values, will result in a 400.[optional]
bodystrThe body in the template[optional]
footerstrThe footer value is now located within the body field. If included with non-null values, will result in a 400.[optional]
var_fromstrThe "From:" address in the template[optional]
reply_tostrThe "Reply To" line in the template[optional]
descriptionstrThe description in the template[optional]
idstrThis is auto-generated.[optional]
createddatetimeThe time when this template is created. This is auto-generated.[optional]
modifieddatetimeThe time when this template was last modified. This is auto-generated.[optional]
slack_templatestr[optional]
teams_templatestr[optional]
}

Example

from sailpoint.beta.models.template_dto import TemplateDto

template_dto = TemplateDto(
key='cloud_manual_work_item_summary',
name='Task Manager Subscription',
medium='EMAIL',
locale='en',
subject='You have $numberOfPendingTasks $taskTasks to complete in ${__global.productName}.',
header='',
body='Please go to the task manager',
footer='',
var_from='$__global.emailFromAddress',
reply_to='$__global.emailFromAddress',
description='Daily digest - sent if number of outstanding tasks for task owner > 0',
id='c17bea3a-574d-453c-9e04-4365fbf5af0b',
created='2020-01-01T00:00Z',
modified='2020-01-01T00:00Z',
slack_template='',
teams_template=''
)

[Back to top]