Skip to main content

CampaignTemplate

Campaign Template

Properties

NameTypeDescriptionNotes
idstrId of the campaign template[optional]
namestrThis template's name. Has no bearing on generated campaigns' names.[required]
descriptionstrThis template's description. Has no bearing on generated campaigns' descriptions.[required]
createddatetimeCreation date of Campaign Template[required][readonly]
modifieddatetimeModification date of Campaign Template[required][readonly]
scheduledboolIndicates if this campaign template has been scheduled.[optional] [readonly] [default to False]
owner_refCampaignTemplateOwnerRef[optional]
deadline_durationstrThe time period during which the campaign should be completed, formatted as an ISO-8601 Duration. When this template generates a campaign, the campaign's deadline will be the current date plus this duration. For example, if generation occurred on 2020-01-01 and this field was "P2W" (two weeks), the resulting campaign's deadline would be 2020-01-15 (the current date plus 14 days).[optional]
campaignCampaign[required]
}

Example

from sailpoint.v2024.models.campaign_template import CampaignTemplate

campaign_template = CampaignTemplate(
id='2c9079b270a266a60170a277bb960008',
name='Manager Campaign Template',
description='Template for the annual manager campaign.',
created='2020-03-05T22:44:00.364Z',
modified='2020-03-05T22:52:09.969Z',
scheduled=False,
owner_ref=sailpoint.v2024.models.campaign_template_owner_ref.CampaignTemplate_ownerRef(
id = '2c918086676d3e0601677611dbde220f',
type = 'IDENTITY',
name = 'Mister Manager',
email = '[email protected]', ),
deadline_duration='P2W',
campaign=sailpoint.v2024.models.campaign.Campaign()
)

[Back to top]