There are 2 API's what Upgrade Planner Controller provides
Let's explore these API's and see how we can fetch our desired result
getVrsProductsVersions
Inputs
Method: GET
URL: {{lcmurl}}/lcm/lcops/api/v2/getTargetVersions
Content Type: application/json
screenshot
showUpgradePath
Inputs
Method: POST
URL: {{lcmurl}}/lcm/lcops/api/v2/findUpgradePath
Content Type: application/json
upgradePathInputs:
[
{
"productId": "string",
"fromVersion": "string",
"toVersion": "string",
"required": true
}
]
screenshot
Sample Body
[
{
"productId": "vrslcm",
"fromVersion": "8.8.2",
"toVersion": "8.8.2",
"required": false
},
{
"productId": "vra",
"fromVersion": "8.8.1",
"toVersion": "8.8.2",
"required": true
},
{
"productId": "vrli",
"fromVersion": "8.6.2",
"toVersion": "8.8.2",
"required": true
},
{
"productId": "vrops",
"fromVersion": "8.6.2",
"toVersion": "8.6.3",
"required": true
},
{
"productId": "vrni",
"fromVersion": "6.6.0",
"toVersion": "6.7.0",
"required": true
},
{
"productId": "vidm",
"fromVersion": "3.3.6",
"toVersion": "3.3.6",
"required": true
}
]
Comments