Bonjour Eric,
Après quelques tests voici la bonne syntaxe à utiliser :
https://admin:MYPASSWORD@srvwapt.mydomain.lan/api/v1/hosts?filter=computer_n...
Ici mon pc se nomme inf5543.
Cordialement, *Jérôme DUPUIS* /TSH Informatique/ *Centre Hospitalier d'Abbeville* 43 Rue de l'Isle, 80142 ABBEVILLE ✆*03 22 25 57 65 / 03 22 25 52 40* ✉dupuis.jerome@ch-abbeville.fr mailto:dupuis.jerome@ch-abbeville.fr
Le 30/04/2021 à 11:46, Eric Duret a écrit :
Bonjour, Je cherche à lister les caractéristiques d'un poste avec l'API de Wapt en utilisant un filtre basé sur le nom de machine. En regardant la doc (https://www.wapt.fr/en/doc/wapt-api.html) je tente de passer un paramètre "filter" mais sans succès. Avez vous un exemple qui fonctionne chez vous ? Merci de vos retours.
-- *Eric Duret* Chargé du socle technique et de l'environnement numérique Rectorat de Nantes - DSI Tél. : 02 40 37 37 26
*www.ac-nantes.fr https://www.ac-nantes.fr/* https://www.ac-nantes.fr
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt