立即与支持人员聊天
与支持团队交流

KACE Systems Management Appliance 13.0 Common Documents - API Reference Guide

Update a location example

Update a location example

Syntax:

{

"Assets" : [ {

“name” : “{Location name}"

} ]

}

Fetch locations example

Fetch locations example

Syntax:

Create an inventory example

Create an inventory example

Syntax:

{

"Machines": [

{

"Name":"{system name}",

"Ip":"{ip address}",

"Os_number":"{os number}",

"User":"{user}",

"Cdrom_devices":"{cd rom device}",

"Os_name":"{os name}",

"Ram Total":"{ram total}",

"Ram_used":"{ram used}",

"Pagefile_max_size":"{pagefile max size}",

"Ram_max":"{ram max}",

"Bios_identification_code":"{bios id code}",

"Monitor":"{monitor}",

"Sound_devices":"{sound device}",

"Video_controllers":"{video controller}",

"Pagefile_size":"{pagefile size}"

}

]

}

Example:

URL: k1000/api/inventory/machines

{

"Machines": [

{

"Name":" Workstation 123",

"Ip":"192.168.101.110",

"Os_number":"10.0.14393",

"User":"user1",

"Cdrom_devices":"NECVMWar VMware SATA CD01",

"Os_name":"Microsoft Windows 10 Pro x64",

"Ram Total":"2048 Bytes",

"Ram_used":"1324.1",

"Pagefile_max_size":"385",

"Ram_max":"33792",

"Bios_identification_code":"",

"Monitor":"Generic Non-PnP Monitor",

"Sound_devices":"High Definition Audio Device",

"Video_controllers":"VMware SVGA 3D:1024 MB",

"Pagefile_size":"385"

}

]

}

Query examples

Query examples

For reference, here is an example of a query that uses most of the parameters described in this section.

To retrieve tickets, along with their submitter and owner details (if available):

To retrieve ticket changes and comments, including attachment IDs, and author comments:

To retrieve an attachment associated with a ticket change:

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级