RetrieveRecordChangeHistoryRequest RetrieveRecordChangeHistoryRequest RetrieveRecordChangeHistoryRequest RetrieveRecordChangeHistoryRequest Class


Contains the data that is needed to retrieve all attribute data changes for a specific entity.

public ref class RetrieveRecordChangeHistoryRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
public sealed class RetrieveRecordChangeHistoryRequest : Microsoft.Xrm.Sdk.OrganizationRequest
type RetrieveRecordChangeHistoryRequest = class
    inherit OrganizationRequest
Public NotInheritable Class RetrieveRecordChangeHistoryRequest
Inherits OrganizationRequest


// Retrieve the audit history for the account and display it.
    var changeRequest = new RetrieveRecordChangeHistoryRequest();
    changeRequest.Target = new EntityReference(Account.EntityLogicalName, _newAccountId);
 var changeResponse =(RetrieveRecordChangeHistoryResponse)svc.Execute(changeRequest);
  AuditDetailCollection details = changeResponse.AuditDetailCollection;




Message Availability

For this message to work, the caller must be connected to the server.


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

Privileges and Access Rights

For a list of the required privileges, see RetrieveRecordChangeHistory message privileges.


RetrieveRecordChangeHistoryRequest() RetrieveRecordChangeHistoryRequest() RetrieveRecordChangeHistoryRequest() RetrieveRecordChangeHistoryRequest()

Initializes a new instance of the RetrieveRecordChangeHistoryRequest class.


ExtensionData ExtensionData ExtensionData ExtensionData

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

(Inherited from OrganizationRequest)
Item[String] Item[String] Item[String] Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
PagingInfo PagingInfo PagingInfo PagingInfo

Gets or sets the paging information for the retrieved data. Required.

Parameters Parameters Parameters Parameters

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

(Inherited from OrganizationRequest)
RequestId RequestId RequestId RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName RequestName RequestName RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
Target Target Target Target

Gets or sets the target audit record. Required.

Applies to