Insight Remote Support
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a Warranty API for HPE servers, switches and storage devices?

 
Highlighted
Occasional Visitor

Is there a Warranty API for HPE servers, switches and storage devices?

Hello,

I am searching for an API to gather warranty and support entitlement information for HP devices. Many other vendors such as HP Inc or Dell have there kind of APIs where you provide the serial number and in return, you get the list of support entitlement entries for a specific device.

We are using your WEB page https://support.hpe.com/hpsc/wc/public/home in order to programmatically get the support entitlement information in a batch process. However, the web page creates a captcha if we query too many devices in a short period of time.

An API would be a much better approach to gather this data for our customers in batch mode.

Is there an API and if yes, how can we enroll for it?

3 REPLIES 3
Highlighted
HPE Pro

Re: Is there a Warranty API for HPE servers, switches and storage devices?

Unfortunately, there is not an API for this - just the web validation page you referenced in your question.


I work for HPEAccept or Kudo
Highlighted
Regular Visitor

Re: Is there a Warranty API for HPE servers, switches and storage devices?

Hello,

My TS consulting person (Peter M.) reminded me that the Global Dashboard 1.5 has reports for Warranty information. 

Would that help?

OneView QuickSpecs:

What is New with HPE Global Dashboard 1.5

Increased security in the data center with FIPS support 
Improved access security with 2 Factor Authentication
Scheduled automated reports
New contract and warranty report
New report for easy tracking of HPE OneView licenses

Enterprise Architect
Highlighted
Advisor

Re: Is there a Warranty API for HPE servers, switches and storage devices?

I made a script that uses powershell, chrome, and Selenium

I had to do something like this for all my servers, we didn't have infosight so I had to do this using GUI. yea... not going to happen for our 1k+ plus servers.

you need to install the PowerShell selenium module, please google how to install and use those modules.

https://www.powershellgallery.com/packages/Selenium/3.0.0-beta1

XXXXXXXXXXXX START OF CODE XXXXXXXXXXXX

$env:PATH += "C:\Program Files\WindowsPowerShell\Modules\Selenium\2.0.0\assemblies\"
Add-Type -Path "C:\Program Files\WindowsPowerShell\Modules\Selenium\2.0.0\assemblies\WebDriver.dll"
$ChromeDriver = New-Object OpenQA.Selenium.Chrome.ChromeDriver


HPe Warrenty lookup
$ChromeDriver.Navigate().GoToURL("https://support.hpe.com/hpsc/wc/public/home")
start-sleep -Seconds 5
$ChromeDriver.FindElementById("serialNumber0").SendKeys("$sn")
start-sleep -Seconds 1
$ChromeDriver.FindElementByName("submitButton").click()
start-sleep -Seconds 6
$warrantytext = ($ChromeDriver.FindElementByClassName("hpui-standard-table")).text
$warrantytemp = ($warrantytext -split("`n") | Select-String -Pattern "HPE HW Maintenance").ToString()
$warrantytemp1 = ((($warrantytemp -Split("Onsite Support "))[1]).Trim(" ")) -split(" ")
$warranty = $warrantytemp1[3] + " " + $warrantytemp1[4] + " " + $warrantytemp1[5]
$warranty

XXXXXXXXXXXX END OF CODE XXXXXXXXXXXX


#WARNING HPE website has some type a limit where if you request too much, it will recaptcha you so limit your request so I limit my code to 1 per 1 minute.

 

I am not a HPe Employee