API CRUD Ops
Trying to Create, Update with the REST API on a K1000. Can't seem to find any examples for these 2 pieces that are documented to be available.
I want to be able to create assets/inventory.
Update assets/inventory.
1 Comment
[ + ] Show comment
-
The documentation is very poor at this point. There are some other folks using the API based on discussion in the #KACE channel on macadmins.slack.com. You could try asking there, or just start experimenting. - chucksteel 7 years ago
Answers (2)
Please log in to answer
Posted by:
isudothings
5 years ago
Both should easily be doable with this Powershell module I have written for interacting with the SMA
https://github.com/artvandelay440/KaceSMA
Specifically:
Create Assets:
https://github.com/artvandelay440/KaceSMA/blob/master/public/asset/New-Asset.ps1
Update Inventory:
https://github.com/artvandelay440/KaceSMA/blob/master/public/inventory/Set-MachineInventory.ps1