Is there any way to get the recommendation details from API using actual cost?
search cancel

Is there any way to get the recommendation details from API using actual cost?

book

Article ID: 376231

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

Vm instance shows no recommendations when selecting Cost Type = “Actual Cost”
However it shows recommendations when selecting Cost Type = “List Price”
When fetching the details using API we can see the recommendations matches with Cost Type = “List Price”.

Resolution

Additional recommendations may be seen in list price page as we have recently decoupled cost and price based recommendation, so if cost is not available but price is available we show the recommendation on list price page.

To get similar recommendation for actual cost  you can send reconcileOnCost as true in the processingFlagsMap under variables :

"processingFlagsMap": [
  {
    "key": "reconcileOnCost",
    "value": "true"
  }
]


The  processingFlagsMap removes the options and best fit from API response if no recommendations  based on actual cost are present