Update 2014-04-04: In a moment of brilliance, Dell has published documentation for both their warranty and case management APIs! Mind blown. Thanks, Dell. Thell.
For any URL access, you need to supply a 16-character
apikey URL parameter. Until there’s some sort of registration service available, valid API keys at the moment are:
1adecee8a60444738f280aad1cd87d0e d676cf6e1e0ceb8fd14e8cb69acd812d 849e027f476027a394edd656eaef4842
The URL resources (the last part of the URL path) can generally be accessed three ways:
resource Returns XML resource.xml Returns XML resource.json Returns JSON (poorly disguised XML)
There are two interesting URLs. First, the warranty lookup:
Apart from the
apikey, you must supply a
svctags parameter consisting of a list of 1 to 100 (max) service tags, separated by
| (pipe symbol). Here’s an example.
The second interesting URL provides a mapping of codes to descriptions:
ctype=type1 Country code to country name or region ctype=type2 Warranty type code to description
type2 descriptions are already present in the warranty info, so it’s not really necessary to fetch it. Plus, some warranty codes are not listed in the
type2 list anyway (for example BZ for “Bronze Software Support”).
Dell have clearly thought of more uses for their api, such as case reporting. While it would be interesting to figure out how it works, it’ll have to wait for now.
I think this api is a very nice step in the right direction, although I wish Dell would open up more to free and independent use (especially of read-only operations such as warranty lookup) instead of the fairly closed approach they’ve taken so far: There’s nearly nearly zero published information about past and current apis — only sporadic forum posts and the occational WDSL — and lots of focus on pushing their management software as the sole consumer of the api. And let’s be honest, Dell does hardware a billion times better than they do software, which is why I prefer the option of handling the software on my own.