RemoveItemCampaignActivityRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the data that is needed to remove an item from a campaign activity.
This message is available as a Web API action when the environment was configured to enable Dynamics 365 apps at the time it was created.
public ref class RemoveItemCampaignActivityRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class RemoveItemCampaignActivityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type RemoveItemCampaignActivityRequest = class
inherit OrganizationRequest
Public NotInheritable Class RemoveItemCampaignActivityRequest
Inherits OrganizationRequest
- Inheritance
- Attributes
Remarks
Usage
Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of RemoveItemCampaignActivityResponse.
Privileges and Access Rights
To perform this action, the caller must have privileges on the CampaignActivity entity and access rights on the records specified in the CampaignActivityId property and the ItemId property.
For a complete list of the required privileges, see RemoveItemCampaignActivity message privileges.
Constructors
| Name | Description |
|---|---|
| RemoveItemCampaignActivityRequest() |
Initializes a new instance of the RemoveItemCampaignActivityRequest class. |
Properties
| Name | Description |
|---|---|
| CampaignActivityId |
Gets or sets the ID of the campaign activity. Required. |
| ExtensionData |
Gets or sets the structure that contains extra data. Optional. (Inherited from OrganizationRequest) |
| Item[String] |
Gets or sets the indexer for the |
| ItemId |
Gets or sets the ID of the item to be removed from the campaign activity. Required. |
| Parameters |
Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes. (Inherited from OrganizationRequest) |
| RequestId |
Gets or sets the ID of the request. Optional. (Inherited from OrganizationRequest) |
| RequestName |
Gets or sets the name of the request. Required, but is supplied by derived classes. (Inherited from OrganizationRequest) |