Table of Contents

Class SfCampaign

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Campaign

SObject Name: Campaign

Custom Object: False

public class SfCampaign : SObject
Inheritance
SfCampaign
Inherited Members

Properties

ActualCost

Actual Cost in Campaign

Name: ActualCost

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "actualCost")]
public decimal? ActualCost { get; set; }

Property Value

decimal?

AmountAllOpportunities

Value Opportunities in Campaign

Name: AmountAllOpportunities

SF Type: currency

Nillable: False

[JsonProperty(PropertyName = "amountAllOpportunities")]
[Updateable(false)]
[Createable(false)]
public decimal? AmountAllOpportunities { get; set; }

Property Value

decimal?

AmountWonOpportunities

Value Won Opportunities in Campaign

Name: AmountWonOpportunities

SF Type: currency

Nillable: False

[JsonProperty(PropertyName = "amountWonOpportunities")]
[Updateable(false)]
[Createable(false)]
public decimal? AmountWonOpportunities { get; set; }

Property Value

decimal?

BudgetedCost

Budgeted Cost in Campaign

Name: BudgetedCost

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "budgetedCost")]
public decimal? BudgetedCost { get; set; }

Property Value

decimal?

CampaignMemberRecordType

ReferenceTo: RecordType

RelationshipName: CampaignMemberRecordType

[JsonProperty(PropertyName = "campaignMemberRecordType")]
[Updateable(false)]
[Createable(false)]
public SfRecordType CampaignMemberRecordType { get; set; }

Property Value

SfRecordType

CampaignMemberRecordTypeId

Record Type ID

Name: CampaignMemberRecordTypeId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "campaignMemberRecordTypeId")]
public string CampaignMemberRecordTypeId { get; set; }

Property Value

string

CreatedBy

ReferenceTo: User

RelationshipName: CreatedBy

[JsonProperty(PropertyName = "createdBy")]
[Updateable(false)]
[Createable(false)]
public SfUser CreatedBy { get; set; }

Property Value

SfUser

CreatedById

Created By ID

Name: CreatedById

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "createdById")]
[Updateable(false)]
[Createable(false)]
public string CreatedById { get; set; }

Property Value

string

CreatedDate

Created Date

Name: CreatedDate

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "createdDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? CreatedDate { get; set; }

Property Value

DateTimeOffset?

Description

Description

Name: Description

SF Type: textarea

Nillable: True

[JsonProperty(PropertyName = "description")]
public string Description { get; set; }

Property Value

string

EndDate

End Date

Name: EndDate

SF Type: date

Nillable: True

[JsonProperty(PropertyName = "endDate")]
public DateTime? EndDate { get; set; }

Property Value

DateTime?

ExpectedResponse

Expected Response (%)

Name: ExpectedResponse

SF Type: percent

Nillable: True

[JsonProperty(PropertyName = "expectedResponse")]
public double? ExpectedResponse { get; set; }

Property Value

double?

ExpectedRevenue

Expected Revenue in Campaign

Name: ExpectedRevenue

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "expectedRevenue")]
public decimal? ExpectedRevenue { get; set; }

Property Value

decimal?

Id

Campaign ID

Name: Id

SF Type: id

Nillable: False

[JsonProperty(PropertyName = "id")]
[Updateable(false)]
[Createable(false)]
public string Id { get; set; }

Property Value

string

IsActive

Active

Name: IsActive

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isActive")]
public bool? IsActive { get; set; }

Property Value

bool?

IsDeleted

Deleted

Name: IsDeleted

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isDeleted")]
[Updateable(false)]
[Createable(false)]
public bool? IsDeleted { get; set; }

Property Value

bool?

LastActivityDate

Last Activity

Name: LastActivityDate

SF Type: date

Nillable: True

[JsonProperty(PropertyName = "lastActivityDate")]
[Updateable(false)]
[Createable(false)]
public DateTime? LastActivityDate { get; set; }

Property Value

DateTime?

LastModifiedBy

ReferenceTo: User

RelationshipName: LastModifiedBy

[JsonProperty(PropertyName = "lastModifiedBy")]
[Updateable(false)]
[Createable(false)]
public SfUser LastModifiedBy { get; set; }

Property Value

SfUser

LastModifiedById

Last Modified By ID

Name: LastModifiedById

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "lastModifiedById")]
[Updateable(false)]
[Createable(false)]
public string LastModifiedById { get; set; }

Property Value

string

LastModifiedDate

Last Modified Date

Name: LastModifiedDate

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "lastModifiedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastModifiedDate { get; set; }

Property Value

DateTimeOffset?

LastReferencedDate

Last Referenced Date

Name: LastReferencedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "lastReferencedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastReferencedDate { get; set; }

Property Value

DateTimeOffset?

LastViewedDate

Last Viewed Date

Name: LastViewedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "lastViewedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastViewedDate { get; set; }

Property Value

DateTimeOffset?

Name

Name

Name: Name

SF Type: string

Nillable: False

[JsonProperty(PropertyName = "name")]
public string Name { get; set; }

Property Value

string

NumberOfContacts

Contacts in Campaign

Name: NumberOfContacts

SF Type: int

Nillable: False

[JsonProperty(PropertyName = "numberOfContacts")]
[Updateable(false)]
[Createable(false)]
public int? NumberOfContacts { get; set; }

Property Value

int?

NumberOfConvertedLeads

Converted Leads in Campaign

Name: NumberOfConvertedLeads

SF Type: int

Nillable: False

[JsonProperty(PropertyName = "numberOfConvertedLeads")]
[Updateable(false)]
[Createable(false)]
public int? NumberOfConvertedLeads { get; set; }

Property Value

int?

NumberOfLeads

Leads in Campaign

Name: NumberOfLeads

SF Type: int

Nillable: False

[JsonProperty(PropertyName = "numberOfLeads")]
[Updateable(false)]
[Createable(false)]
public int? NumberOfLeads { get; set; }

Property Value

int?

NumberOfOpportunities

Opportunities in Campaign

Name: NumberOfOpportunities

SF Type: int

Nillable: False

[JsonProperty(PropertyName = "numberOfOpportunities")]
[Updateable(false)]
[Createable(false)]
public int? NumberOfOpportunities { get; set; }

Property Value

int?

NumberOfResponses

Responses in Campaign

Name: NumberOfResponses

SF Type: int

Nillable: False

[JsonProperty(PropertyName = "numberOfResponses")]
[Updateable(false)]
[Createable(false)]
public int? NumberOfResponses { get; set; }

Property Value

int?

NumberOfWonOpportunities

Won Opportunities in Campaign

Name: NumberOfWonOpportunities

SF Type: int

Nillable: False

[JsonProperty(PropertyName = "numberOfWonOpportunities")]
[Updateable(false)]
[Createable(false)]
public int? NumberOfWonOpportunities { get; set; }

Property Value

int?

NumberSent

Num Sent in Campaign

Name: NumberSent

SF Type: double

Nillable: True

[JsonProperty(PropertyName = "numberSent")]
public double? NumberSent { get; set; }

Property Value

double?

Owner

ReferenceTo: User

RelationshipName: Owner

[JsonProperty(PropertyName = "owner")]
[Updateable(false)]
[Createable(false)]
public SfUser Owner { get; set; }

Property Value

SfUser

OwnerId

Owner ID

Name: OwnerId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "ownerId")]
public string OwnerId { get; set; }

Property Value

string

Parent

ReferenceTo: Campaign

RelationshipName: Parent

[JsonProperty(PropertyName = "parent")]
[Updateable(false)]
[Createable(false)]
public SfCampaign Parent { get; set; }

Property Value

SfCampaign

ParentId

Parent Campaign ID

Name: ParentId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "parentId")]
public string ParentId { get; set; }

Property Value

string

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

Property Value

string

StartDate

Start Date

Name: StartDate

SF Type: date

Nillable: True

[JsonProperty(PropertyName = "startDate")]
public DateTime? StartDate { get; set; }

Property Value

DateTime?

Status

Status

Name: Status

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "status")]
public string Status { get; set; }

Property Value

string

SystemModstamp

System Modstamp

Name: SystemModstamp

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "systemModstamp")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? SystemModstamp { get; set; }

Property Value

DateTimeOffset?

Type

Type

Name: Type

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "type")]
public string Type { get; set; }

Property Value

string