04-25-2022 04:55 AM
Hi everyone
I have found an inconsistent behavior in the responses provided by the Software Suggestion API.
The same request would produce different responses, and only one of them seems to be correct and match the recommended versions shown (starred) in software download page.
For example, the following request:
https://api.cisco.com/software/suggestion/v2/suggestions/releases/productIds/ISR4321/K9
Sometimes produces 3 suggestions for "mdfId": "286006221" (see below) and sometimes produces 2 suggestions for "mdfId": "286006221" (see below). This lack of reliability and requirement for manual checking renders the API useless for automation purposes.
Have anybody faced an issue like this?
Who should I report this to?
Thanks!!
3 suggestions for "mdfId": "286006221" à Incorrect answer
[...]
{
"id": "3",
"product": {
"basePID": "ISR4321/K9",
"mdfId": "286006221",
"productName": "4321 Integrated Services Router",
"softwareType": "IOS XE Software"
},
"suggestions": [
{
"id": "1",
"isSuggested": "Y",
"releaseFormat1": "17.3.5",
"releaseFormat2": "17.3.5",
"releaseDate": "10-Feb-2022",
"majorRelease": "17",
"releaseTrain": "17.3",
"releaseLifeCycle": "MD",
"relDispName": "Amsterdam-17.3.5",
"trainDispName": "Amsterdam-17.3",
"errorDetailsResponse": null
},
{
"id": "2",
"isSuggested": "Y",
"releaseFormat1": "17.3.4a",
"releaseFormat2": "17.3.4a",
"releaseDate": "20-Jul-2021",
"majorRelease": "17",
"releaseTrain": "17.3",
"releaseLifeCycle": "MD",
"relDispName": "Amsterdam-17.3.4a",
"trainDispName": "Amsterdam-17.3",
"errorDetailsResponse": null
},
{
"id": "3",
"isSuggested": "Y",
"releaseFormat1": "16.12.5",
"releaseFormat2": "16.12.5",
"releaseDate": "31-Jan-2021",
"majorRelease": "16",
"releaseTrain": "16.12",
"releaseLifeCycle": "MD",
"relDispName": "Gibraltar-16.12.5",
"trainDispName": "Gibraltar-16.12",
"errorDetailsResponse": null
}
]
},
[...]
2 suggestions for "mdfId": "286006221" à Correct answer
[...]
{
"id": "1",
"product": {
"basePID": "ISR4321/K9",
"mdfId": "286006221",
"productName": "4321 Integrated Services Router",
"softwareType": "IOS XE Software"
},
"suggestions": [
{
"id": "1",
"isSuggested": "Y",
"releaseFormat1": "17.3.5",
"releaseFormat2": "17.3.5",
"releaseDate": "10-Feb-2022",
"majorRelease": "17",
"releaseTrain": "17.3",
"releaseLifeCycle": "MD",
"relDispName": "Amsterdam-17.3.5",
"trainDispName": "Amsterdam-17.3",
"errorDetailsResponse": null
},
{
"id": "2",
"isSuggested": "Y",
"releaseFormat1": "16.12.5",
"releaseFormat2": "16.12.5",
"releaseDate": "31-Jan-2021",
"majorRelease": "16",
"releaseTrain": "16.12",
"releaseLifeCycle": "MD",
"relDispName": "Gibraltar-16.12.5",
"trainDispName": "Gibraltar-16.12",
"errorDetailsResponse": null
}
]
},
[...]