cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1199
Views
0
Helpful
5
Replies

Get UCS gear warranty information in programmatic way

bponnapalli
Level 1
Level 1

Hi all,

 

I'm trying to get UCS gear warranty information in programmatic way python/curl for automation project.Could you help me how to start off.

 

thanks

 

 

1 Accepted Solution
5 Replies 5

Kirk J
Cisco Employee
Cisco Employee

You can check https://cway.cisco.com/docs/SNChecker/1.6.0/coverage-checker-getting-started/coverage-checker-getting-started.htm, although I don't know if it lends itself to automation.

It does note that "You can enter a comma-delimited or space-delimited list of up to 20 serial numbers in the field provided. If you are a Customer and Partner, you can use the bulk input method to submit up to 1,000 device serial numbers."

Please keep in mind you can only check devices that are associated with your CCOID.

 

Thanks,

Kirk...

Cool !! Probably I have to try baby step approach here.

 

I have tried the link and struck at that point. Using python I'm was able to authenticate to https://cway.cisco.com/sncheck/ and there is no way to pass SN number .

 

Using Postman, I was able to get the warranty info json using Request URL & Authorization  which was from chrome inspect of the https://cway.cisco.com/sncheck/ page

 

If I had to get same information without postman is where I'm struck now ..

 

 

How do I get access to this site api .

 

https://api.cisco.com/sn2info/v2/coverage/status/serial_numbers/

Thanks Kirk. 

Review Cisco Networking for a $25 gift card

Review Cisco Networking for a $25 gift card