IService.BusinessRulesUpdate(BusinessRulesUpdateRequest) Method
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.
Updates existing business rules.
public:
Microsoft::MasterDataServices::Services::MessageContracts::MessageResponse ^ BusinessRulesUpdate(Microsoft::MasterDataServices::Services::MessageContracts::BusinessRulesUpdateRequest ^ 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.MessageResponse BusinessRulesUpdate (Microsoft.MasterDataServices.Services.MessageContracts.BusinessRulesUpdateRequest request);
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))>]
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))>]
[<System.ServiceModel.OperationContract>]
abstract member BusinessRulesUpdate : Microsoft.MasterDataServices.Services.MessageContracts.BusinessRulesUpdateRequest -> Microsoft.MasterDataServices.Services.MessageContracts.MessageResponse
Public Function BusinessRulesUpdate (request As BusinessRulesUpdateRequest) As MessageResponse
Parameters
- request
- BusinessRulesUpdateRequest
Returns
- Attributes
Remarks
The BusinessRulesUpdate(BusinessRulesUpdateRequest) operation updates existing business rules, conditions, or actions within the MDS repository.
Business rule items in the request are matched to existing repository items by GUID only. Existing GUIDs MUST be specified for items to be updated. Each GUID that is not found is returned as a separate error.
Each item's update is attempted and committed as an individual transaction regardless of the failure of other items. The operation does not complete a business rule name change that results in a duplicate name within the same context.
A model of business rules or components for update is created by using the BusinessRuleSet that contains one or more BusinessRule data types. The BusinessRuleSet data type includes placeholders for all information about a business rule, including its descriptive and state information and its component conditions and actions.
A version MUST be specified and is used to validate specified domain-based attribute values in arguments of conditions or actions. Attribute values that are not found result in errors.
This operation returns a standard MessageResponse message.