The function 'Simulate Prices' is used to get from VSS, prices for vehicles and items that have been included in a Sales Offer.
The "Get DMS Prices" API is enabled or disabled based on the value of this set-up key : EnableVehicleOfferPriceSimulation (setup key must be set to true to enable this function).
When the Offer edit is completed, then the user can select the "Get DMS Prices" to trigger the API.
When the pricing simulation is completed the prices of the items in the offer will be updated based on the prices received from the DMS (VSS).
Automatic Discounts
In case there is a setup in DMS (VSS) for the particular Customer (Business Partner-Contact Person) to get Automatic Discount, after selecting the Get DMS Prices the Automatic Discount lines will be added automatically in the Offer and the offer will be displayed as below:
Endpoints:
API SwaggerHub ODIL to DMS for Pricing Simulation: https://app.swaggerhub.com/apis/ThinkRIT/dms-std-api/1.2.0#/Documents/SendValidatePrice
API SwaggerHub ODIL to DMS: https://app.swaggerhub.com/apis/ThinkRIT/dms-std-api/1.2.0#/Documents/SendSalesOrder
Example from Interfacing Request Logs for a successful price simulation:
Example of json file can be found here: RetailSalesOfferPricingSimulation_success.json / also in txt file: RetailSalesOfferPricingSimulationJson_success.txt
Example from Interfacing Request Logs for a successful retail sales offer:
Example of json file can be found here: RetailSalesOffer_success.json / also in txt file: RetailSalesOfferJson_success.txt
Add Comment