/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


Using the K1000 API To Generate A List of All Devices and the Labels Attached To Each Device?

04/21/2020 175 views

Is this possible? The K1000 API doesn't seem very robust for supplying asset information, besides the basics (time created, etc.) Is there a way I can extract each device's attached labels by calling the K1000 API? I'm using Powershell to make my API calls.

0 Comments   [ + ] Show comments

Comments


All Answers

0

To get the list of devices and label id's.

..../api/inventory/machines/?shaping=label all


Once you have a label id you can get the label name. In this example my label id is 61.
..../api/inventory/machines/?filtering=label.id eq 61&shaping=label limited

Answered 04/22/2020 by: KevinG
4th Degree Black Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ