Skip to main content

Sendtestnotificationrequestdto

Properties

NameTypeDescriptionNotes
keystrThe template notification key.[optional]
mediumEnum [ 'EMAIL', 'SLACK', 'TEAMS' ]The notification medium. Has to be one of the following enum values.[optional]
localestrThe locale for the message text.[optional]
contextobjectA Json object that denotes the context specific to the template.[optional]
recipient_email_list[]strA list of override recipient email addresses for the test notification.[optional]
carbon_copy[]strA list of CC email addresses for the test notification.[optional]
blind_carbon_copy[]strA list of BCC email addresses for the test notification.[optional]
}

Example

from sailpoint.notifications.models.sendtestnotificationrequestdto import Sendtestnotificationrequestdto

sendtestnotificationrequestdto = Sendtestnotificationrequestdto(
key='cloud_manual_work_item_summary',
medium='EMAIL',
locale='en',
context={"numberOfPendingTasks":"4","taskTasks":"tasks"},
recipient_email_list=["test@example.com"],
carbon_copy=["cc@example.com"],
blind_carbon_copy=["bcc@example.com"]
)

[Back to top]