https://developers.hp.com/css/api/product-warranty-api#!/queries/post_queries
Hi!
is this released yet?
Trying your example with powershell, but it don't work with computers
The endDate is not correct
Powershell
$json = @" [{"sn":"CND3210W9M","pn":"D5H49AV"}] "@ $headers = @{} $uri = "https://test.css.api.hp.com/productWarranty/queries?apikey=jVA1nQmdGot1U7el0LRdEg9mXsuMpF9z" $ContentType = "application/json" $Result = Invoke-WebRequest -Method Post -Body $json -Uri $uri -ContentType $ContentType -Headers $headers
StatusCode : 200 StatusDescription : OK
Response: [{"sn":"CND3210W9M","pn":"D5H49AV","product":null,"serviceType":null,"type":"Base Warranty","status":"Expired","startDate":"2013-05-27T00:00:00Z","endDate":"2013-05-27T00:00:00Z","serviceLevel":null}]
Best regards
Patric Sten
Hi,
I'm also very interested in gaining access to the Warranty API.
Cheers,
Hi jwarne@vigilant.it,
You may request access to the warranty API by submitting the following form: https://developers.hp.com/css-enroll.
Best regards,
HP Developer Program
I know this doesnt appear to be the correct site for this, but I cannot seem to find any info on the Enterprise Entitlement lookup API anywhere. I have been using powershell to invoke a soap request and some other magic, to request server warranty and up until just a couple of weeks ago, this worked perfectly. Has something changed on the HPE side that makes the HPE lookup fail now? ANY INFO would be great!!
Thank you
Glen
Hi Glen,
Hewlett-Packard Enterprise (HPE) and HP, Inc. (HPI) are now two separate companies as you may know. As such, we (HPI) do not have definitive information regarding their enterprise server warranty lookup tools, though last I checked they had a web page utility and no known API.
The API offered here is relevant to HPI personal systems and printing products and is not inclusive of HPE server products.
Best regards,
HP Developer Program
Hi Owen, Just for my info, you said above "The API offered here is relevant to HPI personal systems and printing products...", does this mean this API will return warranty results for HP Inc. printers too?
Hi garthmj,
Yes, it should.
Best regards,
Owen Wright
I'm able to get the access token, however, when I tried to use that token in the Authorization header of the product query I receive a 401 error: Invalid Access token.
Any tips?
Hi
Could I please be granted access to this api here also? https://developers.hp.com/css/api/product-warranty-api-0
Thanks
Hi,
Please submit the form at https://developers.hp.com/css-enroll to request access.
Best regards,
HP Developer Program
Does anyone have a simple c# example on this?
Since the change in the normal checkwarrenty, i am now requesting access to the API.
This is to ensure that we have the warrenty data corrent in our assets for all the machines we purshaces from HP.
PLease expedite this request, since i already have setup a new integration type for 5 countries to use punch-out to make purchaes.
With more to come.
Kind regards
Martin
Please use the form at http://hp.io/css-enroll to request access.
Thanks,
HP Developer Program
hi,
I can get results with curl:
curl -X POST "https://css.api.hp.com/productWarranty/v1/queries" -H "accept: application/json" -H "Authorization: Bearer xxxxx" -H "Content-Type: application/json" -d "[ { \"sn\": \"CZJ73513KJ\", \"pn\": \"D5H49AV\" }]"
anyway, i can't get it with python, where are is my error?
api_url = 'https://css.api.hp.com/productWarranty/v1/queries/'
headers = { "Accept": "application/json", "content-Type": "application/x-www-form-urlencoded", "Authorization": "Bearer QgPltcn6yUBxrriASHHN6kPhgXAW" }
data = {"sn":"CZJ73513KR","pn":"D9R53AV"}
headers = json.dumps (headers)
data_json = json.dumps (data)
warranty = requests.post (api_url, headers=headers, data=data_json ,verify=False, timeout=4.0)
Hello Team,
Could you please help me on, how to use product warrenty api to fetch the warrenty dates. if you could share Step by step process or code is highly appriciated.
Thanks
Umesh
Hello Team ,
We are planning to get warranty details in bulk so please help with api for the same.
Please do let me know in case you neeed more details.
Regards
Umesh
Hi Umesh,
See the documentation here and for submitting many products for bulk processing you'll want to use the /jobs method.
Best,
Owen
This example is based on a couple of custom attribute in AD, those with name staring on "kS". It gets a list with all computers in AD with product number and serial in their attribute (populated through logon script) and WarrantyStatus is not "Expired". It then gets warranty status of those computers and writes that info in the AD.
Thanks for the example! Very helpful. Cheers!
Hello, is it possible for me to please get access to https://developers.hp.com/css/api/product-warranty-api ?
• You need to first create an app for the Warranty API product. To do that, you first have to enroll as a developer in the Customer Service and Support group. (Here is the enrollment form: https://developers.hp.com/css-enrol.) • Then you'll be able to view the documentation at https://developers.hp.com/css/api/product-warranty-api-0 • Then you'll be able to create your app at https://developers.hp.com/user/me/my-apps.
Good afternoon,
I'd like to know the delay for the approval. Because now I still can't access to the documentation "https://developers.hp.com/css/api/product-warranty-api-0". If you could give any answer, because we need that kind of API for our fleet.
Thank you for your work and time.
Sstrn_admin
Good morning/bonjour from Oregon USA, where the HP Developer Program is based.
I have approved your application for enrollment in the Warranty API. I am an early riser, but given the time difference from France to Oregon, I was still asleep when you sent your request. Now you are "good to go." Watch for my email explaining how to use the Warranty API. We offer several different scripts that you can choose from, based on your environment.
Hi I've been trying to register for the API using the follwing link but I'm getting "page not found" https://developers.hp.com/css-enrol
Are you able to register me or provide an alternative link ?
Thanks
Martin
Hi Martin,
The correct link is https://developers.hp.com/css-enroll (enroll with 2 'Ls').
Best regards,
Owen Wright
HP Developers
Could you please allow my account to access the https://developers.hp.com/css/api/product-warranty-api-0
To get access to the HP Product Warranty API, please use the "CSS Enroll" form on this page: https://developers.hp.com/css-enroll
Once you submit the form, I can grant you access. The Editor
Hi I still have no access to the documentation, anyway I got it to work with single entries.
Can you please let me know how json should be constructed for batches?
According to Damon, our staff developer, the JSON should be constructed as an array of objects with the fields “sn” for Serial Numbers and “pn” for the optional Part Numbers in each object.
Here's an example:
[
{
"sn": "[SERIAL NUMBER 1]",
"pn": "[PART NUMBER 1]"
},
{
"sn": "[SERIAL NUMBER 2]",
"pn": "[PART NUMBER 2]"
},
...
]
Remember, the part number is optional.
I requested access thru the link that was provided how long does it take to gain access?
My response time depends on your location. Warranty requests come in from around the world, and I sit in Oregon, USA, so requests from the western hemisphere are usually approved the same day. If you are in Europe or Asia, approvals can be the next workday (no approvals on Saturday or Sunday). jjordan, my email record shows that your request on 8/16 was approved the next day, and that I sent you our Welcome Letter, explaining how to use the Warranty API in the app you write. Have you been successfully accessing the API?
I requested access thru the link that was provided how long does it take to gain access?
I requested access thru the link that was provided. Please grant access.
I approved your request. You should have received my Welcome letter at 1:39 p.m. (PDT).
Anyone having the issue with your HP device such that installation Accelerometer in Windows 10 and other versions of Windows OS And other Operating System to get the solution to follow HP Accelerometer. I was following it for my Computer when there is an error message is occurred 'this app can't be worked on this'.
Anyone having the issue with your HP device such that installation Accelerometer in Windows 10 and other versions of Windows OS And other Operating System to get the solution to follow HP Accelerometer. I was following it for my Computer when there is an error message is occurred 'this app can't be worked on this'.
Hi everyone,
I'm new here and it's been a while since i look on the Internet to find my API Key and my secret API Key.
I need this two things for my GLPI Project.
If anyone can help me, it would be great :)
Thanks !
To access your application's API key and secret, go to the top of this page and click on your account name, then select My Apps from the dropdown menu. You will see a list of all of your apps, and can access your API keys and secrets there.
Regards,
Damon Kaswell
HP Developers Portal
Product Warranty API
Hi HP Developer Program,
I deploy an open source solution (Glpi), and i am also interested in a warranty API. I would like an effecient way to track their warranty status.
I 've an API key and API secret, but i don't know how track warranty status (Url, parameters, ..).
In other case, is it possible to have access through https://developers.hp.com/css-enroll
Thanks
Regards
Jack
I have approved your request for access to the HP Product Warranty API. You should now be able to use the API in your Warranty App.
Hello, Requested access thru the links, kindly grant access asap. Tqvm
I approved your access to the HP Inc. Product Warranty API, but you mentioned servers in your Business Need. Since HP split with Hewlett Packard Enterprise in 2015, we do not make servers. Unfortunately Hewlett Packard Enterprise does NOT yet have a Warranty API, just a web form that accepts 20 serial numbers at a time. If you ever learn of an HPE Server Warrany API, please let us know. We will help them alert the world.
Looking for access to API thanks. Sent in a request
You have been approved. Look for the Welcome Letter in your email. It offers guidance on making the best use of the Warranty API.
You have been approved. Look for the Welcome Letter in your email. It offers guidance on making the best use of the Warranty API.
I have sent the warranty check API acess request form and it's still pending. Can you please approve it.
I approved your request at about 11 a.m. Thursday, 1/10/2019. I sent you a Welcome Letter explaining the HP Warranty API. Let me know if you did not receive 1) notice of approval and 2) our Welcome Letter.
I followed the provided link.
My CMDB will take a huge benefit of the warranties update.
Thanks a lot
Hello,
I quickly received a mail saying that my request is approved.
But My Apps page is empty. Where can I find the Key and Secret for the API?
Thanks a lot
Please try again to create a Warranty App. I can see HP Product Warranty in your My Apps page. (I sent you an email with screen captures.) You can use our script templates (Powershell, Python, Node.js) to help you write your app. When you click on your Warranty App, it will call our Warranty API and provide you with the key and secret.
Hello,
I just tried and there is NO Warranry App to select when creating apps. Only MASHUP. Could someone help me how to properly register, please.
I tried to register Meshup app, but this is indeed not working. I can get token but I cannot use this for productwarranty query.
Thank you in advance.
Regards, Pavel