11-15-2018 03:31 PM
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
Solved! Go to Solution.
11-18-2018 06:03 AM
11-15-2018 05:30 PM
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...
11-15-2018 05:47 PM
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 ..
11-16-2018 03:03 PM
How do I get access to this site api .
https://api.cisco.com/sn2info/v2/coverage/status/serial_numbers/
11-18-2018 06:03 AM
Please take a look at: https://developer.cisco.com/docs/support-apis/#getting-started-with-cisco-support-apis-for-sntc/getting-started-with-cisco-support-apis-for-sntc
Thanks,
Kirk...
11-20-2018 04:37 PM
Thanks Kirk.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide