Del via


PublishProductHierarchyRequest Class

Definition

Contain the data that is needed to publish a product family record and all its child records.

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

Remarks

This message requires Dynamics 365 Sales.

For the Web API use the PublishProductHierarchy action.

Usage

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

Privileges and Access Rights

To perform this action, the caller must have privileges on the Product entity and access rights on the product family record specified in the Target property.

Notes to Callers

This message will publish the entire hierarchy of child product family, product, and bundle records under the specified product family record.

Constructors

PublishProductHierarchyRequest()

Initializes a new instance of the PublishProductHierarchyRequest 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)
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)
Target

Gets or sets the target product family record that you want to publish along with its child records.

Applies to