Skip to main content

SlimCampaign

Properties

NameTypeDescriptionNotes
idstrId of the campaign[optional] [readonly]
namestrThe campaign name. If this object is part of a template, special formatting applies; see the /campaign-templates/{id}/generate endpoint documentation for details.[required]
descriptionstrThe campaign description. If this object is part of a template, special formatting applies; see the /campaign-templates/{id}/generate endpoint documentation for details.[required]
deadlinedatetimeThe campaign's completion deadline. This date must be in the future in order to activate the campaign. If you try to activate a campaign with a deadline of today or in the past, you will receive a 400 error response.[optional]
typeEnum [ 'MANAGER', 'SOURCE_OWNER', 'SEARCH', 'ROLE_COMPOSITION', 'MACHINE_ACCOUNT' ]The type of campaign. Could be extended in the future.[required]
email_notification_enabledboolEnables email notification for this campaign[optional] [default to False]
auto_revoke_allowedboolAllows auto revoke for this campaign[optional] [default to False]
recommendations_enabledboolEnables IAI for this campaign. Accepts true even if the IAI product feature is off. If IAI is turned off then campaigns generated from this template will indicate false. The real value will then be returned if IAI is ever enabled for the org in the future.[optional] [default to False]
statusEnum [ 'PENDING', 'STAGED', 'CANCELING', 'ACTIVATING', 'ACTIVE', 'COMPLETING', 'COMPLETED', 'ERROR', 'ARCHIVED' ]The campaign's current status.[optional] [readonly]
correlated_statusEnum [ 'CORRELATED', 'UNCORRELATED' ]The correlatedStatus of the campaign. Only SOURCE_OWNER campaigns can be Uncorrelated. An Uncorrelated certification campaign only includes Uncorrelated identities (An identity is uncorrelated if it has no accounts on an authoritative source).[optional]
createddatetimeCreated time of the campaign[optional] [readonly]
total_certificationsintThe total number of certifications in this campaign.[optional] [readonly]
completed_certificationsintThe number of completed certifications in this campaign.[optional] [readonly]
alerts[]CampaignAlertA list of errors and warnings that have accumulated.[optional] [readonly]
}

Example

from sailpoint.v2024.models.slim_campaign import SlimCampaign

slim_campaign = SlimCampaign(
id='2c9079b270a266a60170a2779fcb0007',
name='Manager Campaign',
description='Everyone needs to be reviewed by their manager',
deadline='2020-03-15T10:00:01.456Z',
type='MANAGER',
email_notification_enabled=False,
auto_revoke_allowed=False,
recommendations_enabled=True,
status='ACTIVE',
correlated_status='CORRELATED',
created='2020-03-03T22:15:13.611Z',
total_certifications=100,
completed_certifications=10,
alerts=[
sailpoint.v2024.models.campaign_alert.CampaignAlert(
level = 'ERROR',
localizations = [
sailpoint.v2024.models.error_message_dto.ErrorMessageDto(
locale = 'en-US',
locale_origin = 'DEFAULT',
text = 'The request was syntactically correct but its content is semantically invalid.', )
], )
]
)

[Back to top]