CrmServiceClientCreateNewActivityEntry Method
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Creates a new activity against the target entity type
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Parameters
- activityEntityTypeName
-
Type:
Type of Activity you would like to create
- regardingEntityTypeName
-
Type:
Entity type of the Entity you want to associate with.
- subject
-
Type:
Subject Line of the Activity
- description
-
Type:
Description Text of the Activity
- regardingId
-
Type:
ID of the Entity to associate the Activity too
- creatingUserId
-
Type:
User ID that Created the Activity *Calling user must have necessary permissions to assign to another user
- fieldList
-
Type:
Additional fields to add as part of the activity creation
- batchId
-
Type:
Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately
Return Value
Type:Guid of Activity ID or Guid.empty
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright