Compartilhar via


AddProductToKitRequest Class

Definition

Deprecated. Use the ProductAssociation entity. Contains the data that is needed to add a product to a kit.

public ref class AddProductToKitRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class AddProductToKitRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type AddProductToKitRequest = class
    inherit OrganizationRequest
Public NotInheritable Class AddProductToKitRequest
Inherits OrganizationRequest
Inheritance
AddProductToKitRequest
Attributes

Remarks

This message requires Dynamics 365 Sales, and kits are deprecated in the current release in favor of bundles. Learn more about product catalog tables in Dynamics 365 Sales.

Usage

Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of the AddProductToKitResponse class.

Privileges and Access Rights

To perform this action, the caller must have privileges on the Product entity and access rights on the specified records in the KitId and ProductId properties.

Constructors

AddProductToKitRequest()

Initializes a new instance of the AddProductToKitRequest class.

Properties

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
KitId

Gets or sets the ID of the kit. Required.

Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
ProductId

Gets or sets the ID of the product. Required.

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)

Applies to

See also