We setup an integration that uses the BIZAPI called “GET_CUSTOMER_PRICE”:
We are looking to replace that exact customer price with a REST API through Apps10 Aurena, but we have been unable to find an equivalent. The best we could find in the PriceQueryHandling API Documentation where a Price Query ID is required. Are there any examples of replacements for a Customer Specific Price REST API?
Page 1 / 1
Hi @pkrispin ,
As per my knowledge “GET_CUSTOMER_PRICE” is in ORDSRV module which is for this kind of Biz API related functionality to provide information to external parties. “Ordsrv_Part_Util_API.Get_Customer_Price_Info” procedure is called to provide data in that.
There’s no aurena related or rest api related files are there in this component.
What are the parameters you passed with this to get Price information when using “GET_CUSTOMER_PRICE” ?
Price query is a a good option for this in App10 Rest API and I doubt why you can’t use that in your scenario. It is true that there is a need of having data in the page. You may use this after adding data to this.
You can use filter option to get data by giving only customer_no as the parameter. as well if you do not know the price query id. Furthermore you may use the key words given in params as per your requirement.
Dumeesha,
Thank you much for your thoughtful response. The issue we have with this approach is that we would prefer to not need to submit a price query each time we are looking for a customer price, as would be required here. These prices change often and would not be cached on the web client. Incidentally, with a global footprint, the transaction load would be far too high to be an acceptable rate. To populate the price query ID prior to the API calls, we would need to create a separate price query ID for each of the customers we have (tens of thousands) and for each part they have access to (tens of thousands). This would require an upfront creation of ~350,000,000 Price Query IDs before even being able to pull data from the table.
This is an operation load we cannot afford. Is there any way (i.e. the customer order lines) to retrieve pricing based on customer number and quantity?