REST API - calculated value
11-15-22
Operating system: Windows
Hello,

We are currently working on integrating a customer website with StandardERP using Rest API.

In StandardERP, there is a price list and a discount matrix.
Their web developer asked for a list with Customer+Item+Discount.

With RestAPI, is there way to get a calculated value from Standard ERP?

For instance, send CustomerCode and ItemCode as parameteres and get the discount percent?

Flaviana
Gatis Jansons
11-18-22
Hello, with REST API you can get data from StandardERP database.

So there are 2 options for getting a "calculated" value:
1 - Either read all pricing info and make the calculation logic on the integrated app/system side;
2 - Or create a support register with HAL on the server side that stores the value for the needed combination and use API to find the specific record from that register.

Gatis
11-18-22
Thanks, Gatis!

Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
David Delač
Hi Aldevinas, Please post your customisations so I can help you....
11:40 20 Feb 2025
Piotr Wycichowski
The register for Order Classes is common for Sales orders and Service orders. When I set an Order Class to create an Activity - it works for Sales Order, while for Service Orders - not. Is any setting...
09:30 18 Feb 2025