PriceRule noun is used to model a price rule.
Price rule is a business rule which defines how to calculate price under different business conditions.
BOD | Action Code / Access Profile | Action Expression | Service Provided | Sample XML Message | Client Library / Expression Builder |
---|---|---|---|---|---|
GetPriceRule | IBM_Admin_Summary | /PriceRule | Find all price rule in a store. The store id is retrieved from cotext. |
Request
Response |
PriceFacadeClient.getPriceRule(GetType) |
IBM_Admin_AssignablePriceRule | /PriceRule | Find all assignable price rule which should be independent in a store. The store id is retrieved from cotext. |
Request
Response |
PriceFacadeClient.getPriceRule(GetType) | |
IBM_Admin_Details | /PriceRule/PriceRuleIdentifier[(UniqueID=)] | Find price rule by id. |
Request
Response |
PriceFacadeClient.getPriceRule(GetType) | |
IBM_Admin_Details | /PriceRule[PriceRuleIdentifier[ExternalIdentifier[Name=]]] | Find price rule by name. |
Request
Response |
PriceFacadeClient.getPriceRule(GetType) | |
IBM_Admin_Details | /PriceRule[PriceRuleIdentifier[ExternalIdentifier[Name= and StoreIdentifier[UniqueID=]]]] | Find price rule by name and store. No need to input store UniqueID here, the backend DSL will use store path to retrieve price rule. |
Request
Response |
PriceFacadeClient.getPriceRule(GetType) | |
IBM_Admin_PriceRuleElementsDetails | /PriceRule/PriceRuleIdentifier[(UniqueID=)] | Find price rule as well as all elements under the price rule by id. |
Request
Response |
PriceFacadeClient.getPriceRule(GetType) | |
IBM_Admin_Summary | /PriceRule[search()] | Search price rule by name or description. |
Request
Response |
PriceFacadeClient.getPriceRule(GetType) | |
ChangePriceRule | Add | /PriceRule[i]/PriceRuleElement[i] | Add price rule element. |
Request
Response |
PriceFacadeClient.changePriceRule(ChangePriceRuleType) |
Change | /PriceRule[i] | Change price rule basic information (description,etc.). |
Request
Response |
PriceFacadeClient.changePriceRule(ChangePriceRuleType) | |
Change | /PriceRule[i]/PriceRuleElement[i] | Change price rule element. |
Request
Response |
PriceFacadeClient.changePriceRule(ChangePriceRuleType) | |
Delete | /PriceRule[i]/PriceRuleElement[i] | Delete price rule element. |
Request
Response |
PriceFacadeClient.changePriceRule(ChangePriceRuleType) | |
ProcessPriceRule | Create | /PriceRule[i] | Create a price rule. |
Request
Response |
PriceFacadeClient.processPriceRule(ProcessPriceRuleType) |
Delete | /PriceRule[i] | Delete a price rule. |
Request
Response |
PriceFacadeClient.processPriceRule(ProcessPriceRuleType) | |
Validate | /PriceRule[i] | Validate a price rule. |
Request
Response |
PriceFacadeClient.processPriceRule(ProcessPriceRuleType) |
Some sample XML request and response web service messages are provided for each noun. These sample messages might not include all properties or attributes. To view a sample message that includes other properties or attributes, enable logging and tracing for the appropriate component and then call the web service to set or change the properties or attributes. Review the corresponding log file to see the request or response information.
Access Profile | Data Returned |
---|---|
IBM_Admin_Summary | |
IBM_Admin_AssignablePriceRule | |
IBM_Admin_Details | |
IBM_Admin_PriceRuleElementsDetails |