Today I learned - Dell Server Warranty Lookups
In the past, Dell made it hard to access their API for warranty lookups. Even the signup process at https://developer.dell.com/ to get a key was dire - once, they said having 1000 servers wasn't enough to justify API access!
This gist has a working example if you have an API key - https://gist.github.com/teroka/0720274b87b77fe7171f (as well as takes of woe) dealing with the webiste
I also found out that this set of URLs is the one company and it sort of should have a paid option, but doesn't, so I don't understand how it works. I assume they have a Dell API key, or they screen scrpae:
- http://www.updatewarranty.com
- http://www.lookupwarranty.com
$ /usr/bin/curl -s --max-time 30 -H "Referer: http://www.lookupwarranty.com/" 'http://www.lookupwarranty.com/updatewarranty/server/lookup?serviceTag=STAGXXX&modelNumber=&mfg=&email=&platform=Website&key' | jq .
{
"serviceTag": "HT9K6R3",
"mfg": "Dell",
"expires": 1234567890,
"shipped": 1234567890,
"outOfWarranty": null,
"error": null,
"url": "http://www.dell.com/support/my-support/us/en/19/product-support/servicetag/STAGXXX"
}
No comments:
Post a Comment