Skip to main content

CampaignGet

Properties​

NameTypeDescriptionNotes
id(optional) stringID of the campaign[readonly] [default to undefined]
namestringThe campaign name.[default to undefined]
descriptionstringThe campaign description.[default to undefined]
deadline(optional) stringThe campaign's completion deadline date. While creating campaign, If deadline is passed as empty then automatically it will be set for two weeks later from current time.[default to undefined]
deadlineTimezone(optional) stringThe timezone must be in a valid ISO 8601 format. Timezones in ISO 8601 are represented as UTC (represented as 'Z') or as an offset from UTC. The offset format can be +/-hh:mm, +/-hhmm, or +/-hh.[default to undefined]
deadlineTime(optional) stringCalculated deadline time in UTC timezone of the campaign calculated from the deadline and the deadlineTimezone[default to undefined]
emailNotificationEnabled(optional) booleanEnables email notification for this campaign[default to false]
autoRevokeAllowed(optional) booleanAllows auto revoke for this campaign[default to false]
autoActivate(optional) booleanIf true, the campaign is set to activate automatically after generation completes. Campaigns stored without this attribute default to false.[default to false]
recommendationsEnabled(optional) booleanEnables 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.[default to false]
sunsetCommentsRequired(optional) booleanDetermines if comments on sunset date changes are required.[default to true]
typeCampaignType[default to undefined]
reviewerReviewer[default to undefined]
alerts(optional) Array<Alert>A list of errors and warnings that have accumulated.[readonly] [default to undefined]
filterRef(optional) CampaignFilterRef[default to undefined]
inlineFilter(optional) CampaignFilterInline[default to undefined]
searchBasedParams(optional) CampaignSearchBasedParams[default to undefined]
remediatorRef(optional) CampaignRemediatorRef[default to undefined]
ownerId(optional) stringThe campaign owner is the Identity that created the campaign.[default to undefined]
created(optional) stringCreated time of the campaign[readonly] [default to undefined]
modified(optional) stringModified time of the campaign[readonly] [default to undefined]
totalCertifications(optional) numberThe total number of certifications in this campaign.[readonly] [default to undefined]
completedCertifications(optional) numberThe number of completed certifications in this campaign.[readonly] [default to undefined]
mandatoryCommentRequirement(optional) CampaignMandatoryCommentRequirement[default to undefined]
status(optional) stringThe campaign's current status.[readonly] [default to undefined]
latestReports(optional)A map of the latest report for each report type[default to undefined]
sourceIds(optional) Array<string>A direct list of sourceIds to include in this campaign.[default to undefined]
sourcesWithOrphanEntitlements(optional) Array<CampaignOrphanEntitlementSource>Sources that have orphan entitlement line items for this campaign, as supplied when the campaign finished staging. Each entry identifies a source by id and name.[readonly] [default to undefined]