Skip to main content

CampaignReference

Properties​

NameTypeDescriptionNotes
IdStringThe unique ID of the campaign.[required]
NameStringThe name of the campaign.[required]
DescriptionStringThe description of the campaign set by the admin who created it.[optional]
TypeCampaignType[optional]
MandatoryCommentRequirementMandatoryCommentType[optional]
RecommendationsEnabledBooleanIndicates if the campaign related recommendations enabled.[optional] [default to $false]
ReviewerCampaignReferenceReviewer[optional]
GenerationTypeCampaignGenerationType[optional]

Examples​

  • Prepare the resource
$CampaignReference = Initialize-CampaignReference -Id ef38f943-47e9-4562-b5bb-8424a56397d8 `
-Name Campaign Name `
-Description A description of the campaign `
-Type null `
-MandatoryCommentRequirement null `
-RecommendationsEnabled false `
-Reviewer null `
-GenerationType null
  • Convert the resource to JSON
$CampaignReference | ConvertTo-JSON

[Back to top]