Share via


IService.BusinessRulesGet(BusinessRulesGetRequest) Method

Definition

Retrieve business rules.

public:
 Microsoft::MasterDataServices::Services::MessageContracts::BusinessRulesGetResponse ^ BusinessRulesGet(Microsoft::MasterDataServices::Services::MessageContracts::BusinessRulesGetRequest ^ request);
[System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))]
[System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))]
[System.ServiceModel.OperationContract]
public Microsoft.MasterDataServices.Services.MessageContracts.BusinessRulesGetResponse BusinessRulesGet (Microsoft.MasterDataServices.Services.MessageContracts.BusinessRulesGetRequest request);
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))>]
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))>]
[<System.ServiceModel.OperationContract>]
abstract member BusinessRulesGet : Microsoft.MasterDataServices.Services.MessageContracts.BusinessRulesGetRequest -> Microsoft.MasterDataServices.Services.MessageContracts.BusinessRulesGetResponse
Public Function BusinessRulesGet (request As BusinessRulesGetRequest) As BusinessRulesGetResponse

Parameters

Returns

Attributes

Remarks

The BusinessRulesGet(BusinessRulesGetRequest) operation queries the existing business rules from an MDS repository. The operation returns a representative data model of the business rule structure and content.

The BRGetCriteria complex type specifies the desired filters. Each parameter is optional, and those that are specified are combined with AND logic.

The BRResultOptions complex type specifies the details that are desired in the output model. ResultType defaults to "none" in each case. The returned BusinessRuleSet type may contain collection of business rules, condition tree nodes, conditions, and/or actions. Each property of the resulting BusinessRules type is populated or not, according to the corresponding ResultType. A request that does not specify at least one BRResultOptions other than "none" results in an error, as this does not provide any data.

Applies to