InfotelGLPI / manufacturersimports

Plugin manufacturersimports for GLPI
http://blogglpi.infotel.com
GNU General Public License v2.0
30 stars 32 forks source link

Unable to import HP computer #137

Open fred-lix opened 3 months ago

fred-lix commented 3 months ago

Dear GLPi user.

BEFORE SUBMITTING YOUR ISSUE, please make sure to read and follow these steps :

The Plugin team.


Bonjour,

I am using the following settings : Url du fabricant : https://support.hp.com/fr-fr/check-warranty/ Adresse API du token d’accès : https://warranty.api.hp.com/oauth/v1/token Adresse API des garanties : https://warranty.api.hp.com/productwarranty/v2/jobs ( I also tried https://warranty.api.hp.com/productwarranty/v2/queries ) Fournisseur affecté par défaut : HP ID du client and Clé API secrète ; provide by Hp

Those settings are working with cURL Warranty API Sample Scripts

Thank you

Regards,

Frederic

fred-lix commented 3 months ago

sorry just found it is working after reset import before

falco2001 commented 3 months ago

Good morning, for me I don’t have a data import from HP: glpi 10.0.10 and plugin-in 3.0.8 I have: I am using the following settings : Url du fabricant : https://support.hp.com/fr-fr/check-warranty/ Adresse API du token d’accès : https://warranty.api.hp.com/oauth/v1/token Adresse API des garanties : https://warranty.api.hp.com/productwarranty/v2/jobs ( I also tried https://warranty.api.hp.com/productwarranty/v2/queries ) Vendor assigned by default: HP Client ID and Secret API key; provide by Hp Any idea? Thank you

When I click on import manufacturer for a given computer nothing happens. Moreover in import manufacturers I have only one computer that appears while I have several hundred

LRYDark commented 2 months ago

Bonjour à tous,

@falco2001 Je rencontre le même problème que vous, il ne se passe rien.

glpi 10.0.15 et plugin-in 3.0.8 Url du fabricant : https://support.hp.com/fr-fr/check-warranty/ Adresse API du token d’accès : https://warranty.api.hp.com/oauth/v1/token Adresse API des garanties : https://warranty.api.hp.com/productwarranty/v2/jobs Fournisseur attribué par défaut : ID client HP et clé API secrète ; fournir par Hp

Avez-vous une solution ?

Merci

fred-lix commented 2 months ago

Bonjour,

Do you try form "Imports fabricants" from the tool menu ?

You sould get a page where you need to select Computer / HP / non imported equipements (sorry my gui is in French)

falco2001 commented 2 months ago

Good morning,

This is the use via an import in a computer file.

In fact nothing works.

I did a curl test and via rest of firefox it works via a token then via a jobs then another url ...

Thank you May be version of glpi??? 10.0.10

falco2001 commented 2 months ago

Good morning, I just installed a dev platform in 10.0.15 ditto! nothing works . Thank you