Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Kiwi CatTools > Kiwi CatTools 3.11 Administrator Guide > API > CatTools API Classes > CatTools Devices class

CatTools Devices class

Table of contents
No headers
Created by Caroline Juszczak, last modified by Caroline Juszczak on Jun 28, 2016

Views: 32 Votes: 0 Revisions: 1

The Devices class is used to enumerate CatTools Device objects and to enact changes to a Device. ie add, edit and delete.

 

The following Methods and Properties are available :

 

Properties

 

Count

Returns the number of devices in your database.

 

Methods

 

AddNew

Returns a Device. This Device can then have its settings modified before being saved to the database.

Takes as a property the name of the device-type that you would like to create.

 

DeleteByDevice

Deletes a device from the database. Takes a device object as a parameter.

 

DeleteByName

Deletes a device from the database using the devices name as an identifier.

 

GetByName

Returns a Device object. Takes the devices name as a parameter.

 

Items

The collection of Device objects.

 

Refresh

Resyncronise with the database.

 

SaveDevice

Saves a Device object to the database. Takes the Device to be saved as a parameter.

 

Last modified
07:23, 28 Jun 2016

Tags

Classifications

Public