opportunityclose EntityType

Activity that is created automatically when an opportunity is closed, containing information such as the description of the closing and actual revenue.

Entity Set Path
[organization URI]/api/data/v9.0/opportunitycloses
Base Type
activitypointer
Display Name
Opportunity Close
Primary Key
activityid
Primary Key Attribute
subject
Operations Supported
POST GET PATCH DELETE

Properties

Properties represent fields of data stored in the entity.Some properties are read-only.

Name Type Details
activityadditionalparams Edm.String

Additional information provided by the external application as JSON. For internal use only.

Display Name: Activity Additional Parameters

activityid Edm.Guid

Unique identifier of the activity.

Display Name: Opportunity Close

activitytypecode Edm.String

Type of activity.

Display Name: Activity Type

Read Only
actualdurationminutes Edm.Int32

Actual duration of the activity in minutes.

Display Name: Actual Duration

actualend Edm.DateTimeOffset

Actual end time of the activity.

Display Name: Closed On

actualrevenue Edm.Decimal

Actual revenue generated for the opportunity.

Display Name: Actual Revenue

actualrevenue_base Edm.Decimal

Value of the Actual Revenue in base currency.

Display Name: Actual Revenue (Base)

Read Only
actualstart Edm.DateTimeOffset

Actual start time of the activity.

Display Name: Actual Start

category Edm.String

Category of the opportunity close activity.

Display Name: Category

community Edm.Int32

Shows how contact about the social activity originated, such as from Twitter or Facebook. This field is read-only.

Display Name: Social Channel

Default Options
Value Label
1 Facebook
2 Twitter
0 Other
createdon Edm.DateTimeOffset

Date and time when the activity was created.

Display Name: Created On

Read Only
deliverylastattemptedon Edm.DateTimeOffset

Date and time when the delivery of the activity was last attempted.

Display Name: Date Delivery Last Attempted

Read Only
deliveryprioritycode Edm.Int32

Priority of delivery of the activity to the email server.

Display Name: Delivery Priority

Default Options
Value Label
0 Low
1 Normal
2 High
description Edm.String

Description of the activity.

Display Name: Description

exchangeitemid Edm.String

The message id of activity which is returned from Exchange Server.

Display Name: Exchange Item ID

exchangerate Edm.Decimal

Exchange rate for the currency associated with the activitypointer with respect to the base currency.

Display Name: Exchange Rate

Read Only
exchangeweblink Edm.String

Shows the web link of Activity of type email.

Display Name: Exchange WebLink

importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display Name: Import Sequence Number

instancetypecode Edm.Int32

Type of instance of a recurring series.

Display Name: Recurring Instance Type

Read Only
Default Options
Value Label
0 Not Recurring
1 Recurring Master
2 Recurring Instance
3 Recurring Exception
4 Recurring Future Exception
isbilled Edm.Boolean

Information regarding whether the activity was billed as part of resolving a case.

Display Name: Is Billed

Default Options
Value Label
1 Yes
0 No
ismapiprivate Edm.Boolean

For internal use only.

Display Name: Is Private

Default Options
Value Label
1 Yes
0 No
isregularactivity Edm.Boolean

Information regarding whether the activity is a regular activity type or event type.

Display Name: Is Regular Activity

Read Only
Default Options
Value Label
1 Yes
0 No
isworkflowcreated Edm.Boolean

Information regarding whether the activity was created from a workflow rule.

Display Name: Is Workflow Created

Default Options
Value Label
1 Yes
0 No
lastonholdtime Edm.DateTimeOffset

Contains the date and time stamp of the last on hold time.

Display Name: Last On Hold Time

leftvoicemail Edm.Boolean

Left the voice mail

Display Name: Left Voice Mail

Default Options
Value Label
1 Yes
0 No
modifiedon Edm.DateTimeOffset

Date and time when activity was last modified.

Display Name: Modified On

Read Only
onholdtime Edm.Int32

Shows how long, in minutes, that the record was on hold.

Display Name: On Hold Time (Minutes)

Read Only
overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display Name: Record Created On

postponeactivityprocessinguntil Edm.DateTimeOffset

For internal use only.

Display Name: Delay activity processing until

Read Only
prioritycode Edm.Int32

Priority of the activity.

Display Name: Priority

Default Options
Value Label
0 Low
1 Normal
2 High
processid Edm.Guid

Unique identifier of the Process.

Display Name: Process

scheduleddurationminutes Edm.Int32

Scheduled duration of the activity, specified in minutes.

Display Name: Scheduled Duration

scheduledend Edm.DateTimeOffset

Scheduled end time of the activity.

Display Name: Scheduled End

scheduledstart Edm.DateTimeOffset

Scheduled start time of the activity.

Display Name: Scheduled Start

senton Edm.DateTimeOffset

Date and time when the activity was sent.

Display Name: Date Sent

Read Only
seriesid Edm.Guid

Uniqueidentifier specifying the id of recurring series of an instance.

Display Name: Series Id

Read Only
sortdate Edm.DateTimeOffset

Shows the date and time by which the activities are sorted.

Display Name: Sort Date

stageid Edm.Guid

Unique identifier of the Stage.

Display Name: Process Stage

statecode Edm.Int32

Status of the activity.

Display Name: Status

Default Options
Value Label
0 Open
1 Completed
2 Canceled
statuscode Edm.Int32

Reason for the status of the activity.

Display Name: Status Reason

Default Options
Value Label
1 Open
2 Completed
3 Canceled
subcategory Edm.String

Subcategory of the opportunity close activity.

Display Name: Sub-Category

subject Edm.String

Subject associated with the activity.

Display Name: Subject

timezoneruleversionnumber Edm.Int32

For internal use only.

Display Name: Time Zone Rule Version Number

traversedpath Edm.String

For internal use only.

Display Name: Traversed Path

utcconversiontimezonecode Edm.Int32

Time zone code that was in use when the record was created.

Display Name: UTC Conversion Time Zone Code

versionnumber Edm.Int64

Version number of the activity.

Display Name: Version Number

Read Only

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties.

Name Single-valued navigation property Description
_competitorid_value competitorid

Unique identifier of the competitor with which the opportunity close activity is associated.

_createdby_value competitorid

Unique identifier of the user who created the activity.

_createdonbehalfby_value competitorid

Unique identifier of the delegate user who created the activitypointer.

_modifiedby_value competitorid

Unique identifier of user who last modified the activity.

_modifiedonbehalfby_value competitorid

Unique identifier of the delegate user who last modified the activitypointer.

_opportunityid_value opportunityid

Unique identifier of the opportunity closed.

_ownerid_value competitorid

Unique identifier of the user or team who owns the activity.

_owningbusinessunit_value competitorid

Unique identifier of the business unit that owns the activity.

_owningteam_value competitorid

Unique identifier of the team that owns the activity.

_owninguser_value competitorid

Unique identifier of the user that owns the activity.

_regardingobjectid_value competitorid

Unique identifier of the object with which the activity is associated.

_sendermailboxid_value competitorid

Unique identifier of the mailbox associated with the sender of the email message.

_serviceid_value competitorid

Unique identifier of an associated service.

_slaid_value competitorid

Choose the service level agreement (SLA) that you want to apply to the case record.

_slainvokedid_value competitorid

Last SLA that was applied to this case. This field is for internal use only.

_transactioncurrencyid_value competitorid

Unique identifier of the currency associated with the activitypointer.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name Type Partner
activityid_activitypointer activitypointer activity_pointer_opportunity_close
competitorid competitor competitor_opportunity_activities
createdby systemuser lk_activitypointer_createdby
createdby_opportunityclose systemuser lk_opportunityclose_createdby
createdonbehalfby systemuser lk_activitypointer_createdonbehalfby
createdonbehalfby_opportunityclose systemuser lk_opportunityclose_createdonbehalfby
modifiedby systemuser lk_activitypointer_modifiedby
modifiedby_opportunityclose systemuser lk_opportunityclose_modifiedby
modifiedonbehalfby systemuser lk_activitypointer_modifiedonbehalfby
modifiedonbehalfby_opportunityclose systemuser lk_opportunityclose_modifiedonbehalfby
opportunityid opportunity Opportunity_OpportunityClose
ownerid principal owner_activitypointers
ownerid_opportunityclose principal opportunityclose_owner_ownerid
owningbusinessunit businessunit business_unit_activitypointer
owningbusinessunit_opportunityclose businessunit business_unit_opportunity_close_activities
owningteam team team_activity
owningteam_opportunityclose team team_opportunityclose
owninguser systemuser user_activity
owninguser_opportunityclose systemuser user_opportunityclose
regardingobjectid_account account Account_ActivityPointers
regardingobjectid_account_opportunityclose account account_OpportunityCloses
regardingobjectid_bookableresourcebooking bookableresourcebooking bookableresourcebooking_ActivityPointers
regardingobjectid_bookableresourcebooking_opportunityclose bookableresourcebooking bookableresourcebooking_OpportunityCloses
regardingobjectid_bookableresourcebookingheader bookableresourcebookingheader bookableresourcebookingheader_ActivityPointers
regardingobjectid_bookableresourcebookingheader_opportunityclose bookableresourcebookingheader bookableresourcebookingheader_OpportunityCloses
regardingobjectid_bulkoperation bulkoperation BulkOperation_ActivityPointers
regardingobjectid_bulkoperation_opportunityclose bulkoperation bulkoperation_OpportunityCloses
regardingobjectid_campaign campaign Campaign_ActivityPointers
regardingobjectid_campaign_opportunityclose campaign campaign_OpportunityCloses
regardingobjectid_campaignactivity campaignactivity CampaignActivity_ActivityPointers
regardingobjectid_campaignactivity_opportunityclose campaignactivity campaignactivity_OpportunityCloses
regardingobjectid_contact contact Contact_ActivityPointers
regardingobjectid_contract contract Contract_ActivityPointers
regardingobjectid_entitlement entitlement entitlement_ActivityPointers
regardingobjectid_entitlement_opportunityclose entitlement entitlement_OpportunityCloses
regardingobjectid_entitlementtemplate entitlementtemplate entitlementtemplate_ActivityPointers
regardingobjectid_entitlementtemplate_opportunityclose entitlementtemplate entitlementtemplate_OpportunityCloses
regardingobjectid_incident incident Incident_ActivityPointers
regardingobjectid_incident_opportunityclose incident incident_OpportunityCloses
regardingobjectid_invoice invoice Invoice_ActivityPointers
regardingobjectid_knowledgearticle knowledgearticle KnowledgeArticle_ActivityPointers
regardingobjectid_knowledgearticle_opportunityclose knowledgearticle knowledgearticle_OpportunityCloses
regardingobjectid_knowledgebaserecord knowledgebaserecord KnowledgeBaseRecord_ActivityPointers
regardingobjectid_knowledgebaserecord_opportunityclose knowledgebaserecord knowledgebaserecord_OpportunityCloses
regardingobjectid_lead lead Lead_ActivityPointers
regardingobjectid_lead_opportunityclose lead lead_OpportunityCloses
regardingobjectid_ms_newsitem ms_newsitem ms_newsitem_ActivityPointers
regardingobjectid_ms_satori ms_satori ms_satori_ActivityPointers
regardingobjectid_msdyn_agreement msdyn_agreement msdyn_agreement_ActivityPointers
regardingobjectid_msdyn_agreementbookingdate msdyn_agreementbookingdate msdyn_agreementbookingdate_ActivityPointers
regardingobjectid_msdyn_agreementbookingincident msdyn_agreementbookingincident msdyn_agreementbookingincident_ActivityPointers
regardingobjectid_msdyn_agreementbookingproduct msdyn_agreementbookingproduct msdyn_agreementbookingproduct_ActivityPointers
regardingobjectid_msdyn_agreementbookingservice msdyn_agreementbookingservice msdyn_agreementbookingservice_ActivityPointers
regardingobjectid_msdyn_agreementbookingservicetask msdyn_agreementbookingservicetask msdyn_agreementbookingservicetask_ActivityPointers
regardingobjectid_msdyn_agreementbookingsetup msdyn_agreementbookingsetup msdyn_agreementbookingsetup_ActivityPointers
regardingobjectid_msdyn_agreementinvoicedate msdyn_agreementinvoicedate msdyn_agreementinvoicedate_ActivityPointers
regardingobjectid_msdyn_agreementinvoiceproduct msdyn_agreementinvoiceproduct msdyn_agreementinvoiceproduct_ActivityPointers
regardingobjectid_msdyn_agreementinvoicesetup msdyn_agreementinvoicesetup msdyn_agreementinvoicesetup_ActivityPointers
regardingobjectid_msdyn_bookingalertstatus msdyn_bookingalertstatus msdyn_bookingalertstatus_ActivityPointers
regardingobjectid_msdyn_bookingrule msdyn_bookingrule msdyn_bookingrule_ActivityPointers
regardingobjectid_msdyn_bookingtimestamp msdyn_bookingtimestamp msdyn_bookingtimestamp_ActivityPointers
regardingobjectid_msdyn_customerasset msdyn_customerasset msdyn_customerasset_ActivityPointers
regardingobjectid_msdyn_fieldservicesetting msdyn_fieldservicesetting msdyn_fieldservicesetting_ActivityPointers
regardingobjectid_msdyn_incidenttypecharacteristic msdyn_incidenttypecharacteristic msdyn_incidenttypecharacteristic_ActivityPointers
regardingobjectid_msdyn_incidenttypeproduct msdyn_incidenttypeproduct msdyn_incidenttypeproduct_ActivityPointers
regardingobjectid_msdyn_incidenttypeservice msdyn_incidenttypeservice msdyn_incidenttypeservice_ActivityPointers
regardingobjectid_msdyn_inventoryadjustment msdyn_inventoryadjustment msdyn_inventoryadjustment_ActivityPointers
regardingobjectid_msdyn_inventoryadjustmentproduct msdyn_inventoryadjustmentproduct msdyn_inventoryadjustmentproduct_ActivityPointers
regardingobjectid_msdyn_inventoryjournal msdyn_inventoryjournal msdyn_inventoryjournal_ActivityPointers
regardingobjectid_msdyn_inventorytransfer msdyn_inventorytransfer msdyn_inventorytransfer_ActivityPointers
regardingobjectid_msdyn_payment msdyn_payment msdyn_payment_ActivityPointers
regardingobjectid_msdyn_paymentdetail msdyn_paymentdetail msdyn_paymentdetail_ActivityPointers
regardingobjectid_msdyn_paymentmethod msdyn_paymentmethod msdyn_paymentmethod_ActivityPointers
regardingobjectid_msdyn_paymentterm msdyn_paymentterm msdyn_paymentterm_ActivityPointers
regardingobjectid_msdyn_postalbum msdyn_postalbum msdyn_postalbum_ActivityPointers
regardingobjectid_msdyn_postalcode msdyn_postalcode msdyn_postalcode_ActivityPointers
regardingobjectid_msdyn_processnotes msdyn_processnotes msdyn_processnotes_ActivityPointers
regardingobjectid_msdyn_productinventory msdyn_productinventory msdyn_productinventory_ActivityPointers
regardingobjectid_msdyn_projectteam msdyn_projectteam msdyn_projectteam_ActivityPointers
regardingobjectid_msdyn_purchaseorder msdyn_purchaseorder msdyn_purchaseorder_ActivityPointers
regardingobjectid_msdyn_purchaseorderbill msdyn_purchaseorderbill msdyn_purchaseorderbill_ActivityPointers
regardingobjectid_msdyn_purchaseorderproduct msdyn_purchaseorderproduct msdyn_purchaseorderproduct_ActivityPointers
regardingobjectid_msdyn_purchaseorderreceipt msdyn_purchaseorderreceipt msdyn_purchaseorderreceipt_ActivityPointers
regardingobjectid_msdyn_purchaseorderreceiptproduct msdyn_purchaseorderreceiptproduct msdyn_purchaseorderreceiptproduct_ActivityPointers
regardingobjectid_msdyn_purchaseordersubstatus msdyn_purchaseordersubstatus msdyn_purchaseordersubstatus_ActivityPointers
regardingobjectid_msdyn_quotebookingincident msdyn_quotebookingincident msdyn_quotebookingincident_ActivityPointers
regardingobjectid_msdyn_quotebookingproduct msdyn_quotebookingproduct msdyn_quotebookingproduct_ActivityPointers
regardingobjectid_msdyn_quotebookingservice msdyn_quotebookingservice msdyn_quotebookingservice_ActivityPointers
regardingobjectid_msdyn_quotebookingservicetask msdyn_quotebookingservicetask msdyn_quotebookingservicetask_ActivityPointers
regardingobjectid_msdyn_resourceterritory msdyn_resourceterritory msdyn_resourceterritory_ActivityPointers
regardingobjectid_msdyn_rma msdyn_rma msdyn_rma_ActivityPointers
regardingobjectid_msdyn_rmaproduct msdyn_rmaproduct msdyn_rmaproduct_ActivityPointers
regardingobjectid_msdyn_rmareceipt msdyn_rmareceipt msdyn_rmareceipt_ActivityPointers
regardingobjectid_msdyn_rmareceiptproduct msdyn_rmareceiptproduct msdyn_rmareceiptproduct_ActivityPointers
regardingobjectid_msdyn_rmasubstatus msdyn_rmasubstatus msdyn_rmasubstatus_ActivityPointers
regardingobjectid_msdyn_rtv msdyn_rtv msdyn_rtv_ActivityPointers
regardingobjectid_msdyn_rtvproduct msdyn_rtvproduct msdyn_rtvproduct_ActivityPointers
regardingobjectid_msdyn_rtvsubstatus msdyn_rtvsubstatus msdyn_rtvsubstatus_ActivityPointers
regardingobjectid_msdyn_shipvia msdyn_shipvia msdyn_shipvia_ActivityPointers
regardingobjectid_msdyn_systemuserschedulersetting msdyn_systemuserschedulersetting msdyn_systemuserschedulersetting_ActivityPointers
regardingobjectid_msdyn_timegroup msdyn_timegroup msdyn_timegroup_ActivityPointers
regardingobjectid_msdyn_timegroupdetail msdyn_timegroupdetail msdyn_timegroupdetail_ActivityPointers
regardingobjectid_msdyn_timeoffrequest msdyn_timeoffrequest msdyn_timeoffrequest_ActivityPointers
regardingobjectid_msdyn_warehouse msdyn_warehouse msdyn_warehouse_ActivityPointers
regardingobjectid_msdyn_workorder msdyn_workorder msdyn_workorder_ActivityPointers
regardingobjectid_msdyn_workordercharacteristic msdyn_workordercharacteristic msdyn_workordercharacteristic_ActivityPointers
regardingobjectid_msdyn_workorderincident msdyn_workorderincident msdyn_workorderincident_ActivityPointers
regardingobjectid_msdyn_workorderproduct msdyn_workorderproduct msdyn_workorderproduct_ActivityPointers
regardingobjectid_msdyn_workorderresourcerestriction msdyn_workorderresourcerestriction msdyn_workorderresourcerestriction_ActivityPointers
regardingobjectid_msdyn_workorderservice msdyn_workorderservice msdyn_workorderservice_ActivityPointers
regardingobjectid_msdyn_workorderservicetask msdyn_workorderservicetask msdyn_workorderservicetask_ActivityPointers
regardingobjectid_new_interactionforemail interactionforemail new_interactionforemail_ActivityPointers
regardingobjectid_new_interactionforemail_opportunityclose interactionforemail interactionforemail_OpportunityCloses
regardingobjectid_opportunity opportunity Opportunity_ActivityPointers
regardingobjectid_opportunity_opportunityclose opportunity opportunity_OpportunityCloses
regardingobjectid_quote quote Quote_ActivityPointers
regardingobjectid_salesorder salesorder SalesOrder_ActivityPointers
regardingobjectid_site site site_ActivityPointers
regardingobjectid_site_opportunityclose site site_OpportunityCloses
sendermailboxid mailbox activitypointer_sendermailboxid_mailbox
sendermailboxid_opportunityclose mailbox opportunityclose_mailbox_sendermailboxid
serviceid service service_activity_pointers
serviceid_opportunityclose service service_opportunityclose
sla_activitypointer_sla sla manualsla_activitypointer
sla_activitypointer_sla_opportunityclose sla opportunityclose_sla_slaid
slainvokedid_activitypointer_sla sla sla_activitypointer
slainvokedid_activitypointer_sla_opportunityclose sla opportunityclose_sla_slainvokedid
transactioncurrencyid transactioncurrency TransactionCurrency_ActivityPointer
transactioncurrencyid_opportunityclose transactioncurrency transactioncurrency_opportunityclose

Collection-valued navigation properties

Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.

Name Type Partner
activity_campaignresponse campaignresponse originatingactivityid_activitypointer
activity_pointer_activity_mime_attachment activitymimeattachment objectid_activitypointer
activity_pointer_appointment appointment activityid_activitypointer
activity_pointer_BulkOperation bulkoperation activityid_activitypointer
activity_pointer_BulkOperation_logs bulkoperationlog bulkoperationid_activitypointer
activity_pointer_campaignactivity campaignactivity activityid_activitypointer
activity_pointer_campaignresponse campaignresponse activityid_activitypointer
activity_pointer_email email activityid_activitypointer
activity_pointer_fax fax activityid_activitypointer
activity_pointer_incident_resolution incidentresolution activityid_activitypointer
activity_pointer_letter letter activityid_activitypointer
activity_pointer_msdyn_approval msdyn_approval activityid_msdyn_approval
activity_pointer_msdyn_bookingalert msdyn_bookingalert activityid_msdyn_bookingalert
activity_pointer_opportunity_close opportunityclose activityid_activitypointer
activity_pointer_order_close orderclose activityid_activitypointer
activity_pointer_phonecall phonecall activityid_activitypointer
activity_pointer_quote_close quoteclose activityid_activitypointer
activity_pointer_recurrencerule recurrencerule objectid
activity_pointer_recurringappointmentmaster recurringappointmentmaster activityid_activitypointer
activity_pointer_service_appointment serviceappointment activityid_activitypointer
activity_pointer_socialactivity socialactivity activityid_activitypointer
activity_pointer_task task activityid_activitypointer
activitypointer_activity_parties activityparty activityid_activitypointer
ActivityPointer_AsyncOperations asyncoperation regardingobjectid_activitypointer
ActivityPointer_BulkDeleteFailures bulkdeletefailure regardingobjectid_activitypointer
ActivityPointer_CampaignActivityItems campaignactivityitem campaignactivityid
activitypointer_connections1 connection record1id_activitypointer
activitypointer_connections2 connection record2id_activitypointer
ActivityPointer_QueueItem queueitem objectid_activitypointer
CampaignResponse_OpportunityCloses campaignresponse originatingactivityid_opportunityclose_campaignresponse
CreatedActivity_BulkOperationLogs bulkoperationlog createdobjectid_activitypointer
opportunityclose_activity_parties activityparty activityid_opportunityclose
OpportunityClose_Annotation annotation objectid_opportunityclose
OpportunityClose_AsyncOperations asyncoperation regardingobjectid_opportunityclose
OpportunityClose_BulkDeleteFailures bulkdeletefailure regardingobjectid_opportunityclose
opportunityclose_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_opportunityclose
opportunityclose_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_opportunityclose
OpportunityClose_SyncErrors syncerror regardingobjectid_opportunityclose_syncerror
slakpiinstance_activitypointer slakpiinstance regarding_activitypointer

Operations

The following operations can be used with the opportunityclose entity type.

Name Binding
GrantAccess Not Bound
ModifyAccess Not Bound
RetrievePrincipalAccess Not Bound
RetrieveSharedPrincipalsAndAccess Not Bound
RevokeAccess Not Bound

Solutions

The following solutions include the opportunityclose entity type.

Name Description
Sales Dynamics 365 workload for sales.
Sales Service For internal use only.

See also