Class SfOpportunity
- Namespace
- NetCoreForce.Models
- Assembly
- NetCoreForce.Models.dll
Opportunity
SObject Name: Opportunity
Custom Object: False
public class SfOpportunity : SObject
- Inheritance
-
SfOpportunity
- Inherited Members
Properties
Account
ReferenceTo: Account
RelationshipName: Account
[JsonProperty(PropertyName = "account")]
[Updateable(false)]
[Createable(false)]
public SfAccount Account { get; set; }
Property Value
AccountId
Account ID
Name: AccountId
SF Type: reference
Nillable: True
[JsonProperty(PropertyName = "accountId")]
public string AccountId { get; set; }
Property Value
Amount
Amount
Name: Amount
SF Type: currency
Nillable: True
[JsonProperty(PropertyName = "amount")]
public decimal? Amount { get; set; }
Property Value
Campaign
ReferenceTo: Campaign
RelationshipName: Campaign
[JsonProperty(PropertyName = "campaign")]
[Updateable(false)]
[Createable(false)]
public SfCampaign Campaign { get; set; }
Property Value
CampaignId
Campaign ID
Name: CampaignId
SF Type: reference
Nillable: True
[JsonProperty(PropertyName = "campaignId")]
public string CampaignId { get; set; }
Property Value
CloseDate
Close Date
Name: CloseDate
SF Type: date
Nillable: False
[JsonProperty(PropertyName = "closeDate")]
public DateTime? CloseDate { get; set; }
Property Value
ContactId
Contact ID
Name: ContactId
SF Type: reference
Nillable: True
[JsonProperty(PropertyName = "contactId")]
[Updateable(false)]
[Createable(true)]
public string ContactId { get; set; }
Property Value
CreatedBy
ReferenceTo: User
RelationshipName: CreatedBy
[JsonProperty(PropertyName = "createdBy")]
[Updateable(false)]
[Createable(false)]
public SfUser CreatedBy { get; set; }
Property Value
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
CreatedDate
Created Date
Name: CreatedDate
SF Type: datetime
Nillable: False
[JsonProperty(PropertyName = "createdDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? CreatedDate { get; set; }
Property Value
Description
Description
Name: Description
SF Type: textarea
Nillable: True
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
ExpectedRevenue
Expected Amount
Name: ExpectedRevenue
SF Type: currency
Nillable: True
[JsonProperty(PropertyName = "expectedRevenue")]
[Updateable(false)]
[Createable(false)]
public decimal? ExpectedRevenue { get; set; }
Property Value
Fiscal
Fiscal Period
Name: Fiscal
SF Type: string
Nillable: True
[JsonProperty(PropertyName = "fiscal")]
[Updateable(false)]
[Createable(false)]
public string Fiscal { get; set; }
Property Value
FiscalQuarter
Fiscal Quarter
Name: FiscalQuarter
SF Type: int
Nillable: True
[JsonProperty(PropertyName = "fiscalQuarter")]
[Updateable(false)]
[Createable(false)]
public int? FiscalQuarter { get; set; }
Property Value
- int?
FiscalYear
Fiscal Year
Name: FiscalYear
SF Type: int
Nillable: True
[JsonProperty(PropertyName = "fiscalYear")]
[Updateable(false)]
[Createable(false)]
public int? FiscalYear { get; set; }
Property Value
- int?
ForecastCategory
Forecast Category
Name: ForecastCategory
SF Type: picklist
Nillable: False
[JsonProperty(PropertyName = "forecastCategory")]
[Updateable(false)]
[Createable(false)]
public string ForecastCategory { get; set; }
Property Value
ForecastCategoryName
Forecast Category
Name: ForecastCategoryName
SF Type: picklist
Nillable: True
[JsonProperty(PropertyName = "forecastCategoryName")]
public string ForecastCategoryName { get; set; }
Property Value
HasOpenActivity
Has Open Activity
Name: HasOpenActivity
SF Type: boolean
Nillable: False
[JsonProperty(PropertyName = "hasOpenActivity")]
[Updateable(false)]
[Createable(false)]
public bool? HasOpenActivity { get; set; }
Property Value
- bool?
HasOpportunityLineItem
Has Line Item
Name: HasOpportunityLineItem
SF Type: boolean
Nillable: False
[JsonProperty(PropertyName = "hasOpportunityLineItem")]
[Updateable(false)]
[Createable(false)]
public bool? HasOpportunityLineItem { get; set; }
Property Value
- bool?
HasOverdueTask
Has Overdue Task
Name: HasOverdueTask
SF Type: boolean
Nillable: False
[JsonProperty(PropertyName = "hasOverdueTask")]
[Updateable(false)]
[Createable(false)]
public bool? HasOverdueTask { get; set; }
Property Value
- bool?
Id
Opportunity ID
Name: Id
SF Type: id
Nillable: False
[JsonProperty(PropertyName = "id")]
[Updateable(false)]
[Createable(false)]
public string Id { get; set; }
Property Value
IsClosed
Closed
Name: IsClosed
SF Type: boolean
Nillable: False
[JsonProperty(PropertyName = "isClosed")]
[Updateable(false)]
[Createable(false)]
public bool? IsClosed { 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?
IsPrivate
Private
Name: IsPrivate
SF Type: boolean
Nillable: False
[JsonProperty(PropertyName = "isPrivate")]
public bool? IsPrivate { get; set; }
Property Value
- bool?
IsWon
Won
Name: IsWon
SF Type: boolean
Nillable: False
[JsonProperty(PropertyName = "isWon")]
[Updateable(false)]
[Createable(false)]
public bool? IsWon { 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
LastAmountChangedHistory
ReferenceTo: OpportunityHistory
RelationshipName: LastAmountChangedHistory
[JsonProperty(PropertyName = "lastAmountChangedHistory")]
[Updateable(false)]
[Createable(false)]
public SfOpportunityHistory LastAmountChangedHistory { get; set; }
Property Value
LastAmountChangedHistoryId
Opportunity History ID
Name: LastAmountChangedHistoryId
SF Type: reference
Nillable: True
[JsonProperty(PropertyName = "lastAmountChangedHistoryId")]
[Updateable(false)]
[Createable(false)]
public string LastAmountChangedHistoryId { get; set; }
Property Value
LastCloseDateChangedHistory
ReferenceTo: OpportunityHistory
RelationshipName: LastCloseDateChangedHistory
[JsonProperty(PropertyName = "lastCloseDateChangedHistory")]
[Updateable(false)]
[Createable(false)]
public SfOpportunityHistory LastCloseDateChangedHistory { get; set; }
Property Value
LastCloseDateChangedHistoryId
Opportunity History ID
Name: LastCloseDateChangedHistoryId
SF Type: reference
Nillable: True
[JsonProperty(PropertyName = "lastCloseDateChangedHistoryId")]
[Updateable(false)]
[Createable(false)]
public string LastCloseDateChangedHistoryId { get; set; }
Property Value
LastModifiedBy
ReferenceTo: User
RelationshipName: LastModifiedBy
[JsonProperty(PropertyName = "lastModifiedBy")]
[Updateable(false)]
[Createable(false)]
public SfUser LastModifiedBy { get; set; }
Property Value
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
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
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
LastStageChangeDate
Last Stage Change Date
Name: LastStageChangeDate
SF Type: datetime
Nillable: True
[JsonProperty(PropertyName = "lastStageChangeDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastStageChangeDate { get; set; }
Property Value
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
LeadSource
Lead Source
Name: LeadSource
SF Type: picklist
Nillable: True
[JsonProperty(PropertyName = "leadSource")]
public string LeadSource { get; set; }
Property Value
Name
Name
Name: Name
SF Type: string
Nillable: False
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
NextStep
Next Step
Name: NextStep
SF Type: string
Nillable: True
[JsonProperty(PropertyName = "nextStep")]
public string NextStep { get; set; }
Property Value
Owner
ReferenceTo: User
RelationshipName: Owner
[JsonProperty(PropertyName = "owner")]
[Updateable(false)]
[Createable(false)]
public SfUser Owner { get; set; }
Property Value
OwnerId
Owner ID
Name: OwnerId
SF Type: reference
Nillable: False
[JsonProperty(PropertyName = "ownerId")]
public string OwnerId { get; set; }
Property Value
Pricebook2
ReferenceTo: Pricebook2
RelationshipName: Pricebook2
[JsonProperty(PropertyName = "pricebook2")]
[Updateable(false)]
[Createable(false)]
public SfPricebook2 Pricebook2 { get; set; }
Property Value
Pricebook2Id
Price Book ID
Name: Pricebook2Id
SF Type: reference
Nillable: True
[JsonProperty(PropertyName = "pricebook2Id")]
public string Pricebook2Id { get; set; }
Property Value
Probability
Probability (%)
Name: Probability
SF Type: percent
Nillable: True
[JsonProperty(PropertyName = "probability")]
public double? Probability { get; set; }
Property Value
PushCount
Push Count
Name: PushCount
SF Type: int
Nillable: True
[JsonProperty(PropertyName = "pushCount")]
[Updateable(false)]
[Createable(false)]
public int? PushCount { get; set; }
Property Value
- int?
SObjectTypeName
[JsonIgnore]
public static string SObjectTypeName { get; }
Property Value
StageName
Stage
Name: StageName
SF Type: picklist
Nillable: False
[JsonProperty(PropertyName = "stageName")]
public string StageName { get; set; }
Property Value
SystemModstamp
System Modstamp
Name: SystemModstamp
SF Type: datetime
Nillable: False
[JsonProperty(PropertyName = "systemModstamp")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? SystemModstamp { get; set; }
Property Value
TotalOpportunityQuantity
Quantity
Name: TotalOpportunityQuantity
SF Type: double
Nillable: True
[JsonProperty(PropertyName = "totalOpportunityQuantity")]
public double? TotalOpportunityQuantity { get; set; }
Property Value
Type
Opportunity Type
Name: Type
SF Type: picklist
Nillable: True
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }