cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
270
Views
0
Helpful
4
Replies
Highlighted
Cisco Employee

How to query API for recommended software release for a specific device?

Hi all,

 

We are trying to query the support API for recommended software for a specific device.

 

Being a bit new to this - I´m looking for all the assistance we can get.

 

We are in need of which API´s to query, and so far it seems we need to do :

  • Query sn2info API with the device serial number to get the PID
  • With correct PID from previous step, request the suggested software

And how do we get access to query the API ?

 

best regards

 

Tue

4 REPLIES 4
omz Rising star
Rising star

Re: How to query API for recommended software release for a specific device?

Hi 

Customers with Smart Net Total Care (SNTC) and Partners (PSS) can access the support API.

You are right with the approach, get PID with serial number and then get suggested software with the PID.

Get PID

Sample Response
{
    "pagination_response_record": {
        "title": "Product Info API - Get Product Information by Serial Number(s)",
        "page_index": 1,
        "last_index": 1,
        "total_records": 2
        "page_records": 2,
        "self_link": "https://api.cisco.com/product/v1/information/serial_numbers/SPE181700LN,REF_CSJ07306405?page_index=1",
    },
    "product_list": [{
        "id": "1",
        "sr_no": "SPE181700LN",
        "base_pid": "UBR10012",
        "orderable_pid": "UBR10012",
...

GET Compatible and Suggested Software Releases by Product ID

Sample Response
{
   "paginationResponseRecord": {
      "pageIndex": "1",
      "lastIndex": "1",
      "totalRecords": "1",
      "pageRecords": "1",
      "selfLink": "https://api.cisco.com/software/suggestion/v2/suggestions/compatible/productId/ASR1013",
      "title": "Software Suggestions"
   },
   "suggestions": [{
      "id": "1",
      "isSuggested": "N",
      "basePID": "ASR1013",
      "mdfId": "283795847",
      "productName": "ASR 1013 Router",
      "softwareType": "IOS XE Software",
      "releaseFormat1": "16.1.1",
      "releaseFormat2": "16.1.1",
      "releaseDate": "02 Feb 2014",
      "majorRelease": "16",
      "releaseTrain": "16.1",
      "releaseLifeCycle": "ED",
...

 

Cisco Employee

Re: How to query API for recommended software release for a specific device?

Hi  

Thanks a lot. :)

 

Can you elaborate on how partners get access ? (in the case it´s a gold partner)

 

I have not been able to see how they get access ?

 

best regards

 

Tue

omz Rising star
Rising star

Re: How to query API for recommended software release for a specific device?

Beginner

Re: How to query API for recommended software release for a specific device?

Hi all....

 

I've done everything thinkable, including sending the email from the link "Request access to PSS APIs and the API Console", AND got the reply, saying, that I should be able to access the Support API.

However, I'm unable to find the site, where I can attach the support API to my account, and then get the API key.

 

ANY help would be grately appreciated!

 

 

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.