ODBC Driver for TSheets

Build 22.0.8462

Groups

This table contains a list of all groups associated with your company.

Table Specific Information

Select

Query the Groups table. The driver will use the TSheets API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the driver.

  • Id and Name fields support the '=' and IN operators.
  • ActiveStatus filter supports the '=' operator.
  • LastModified field supports the <=,<,>=,>,= operators.

For example, the following queries are processed server side:

SELECT * FROM Groups WHERE Name IN ('Group 1', 'Group 2') AND LastModified > '2019-01-01 15:30'

SELECT * FROM Groups WHERE ActiveStatus = 'both'

Insert

Insert can be executed by specifying the Name column. The columns that are not required can be inserted optionally. Following is an example of how to insert into this table

INSERT INTO Groups (Name) VALUES ('Group 1')
INSERT INTO Groups (Name, ManagerIds) VALUES ('Group 1','300,316')

Update

Update can be executed by specifying the Id in the WHERE Clause. The columns that are not read-only can be Updated. For example:

UPDATE Groups SET Name = 'Group 1a', Active = 'false'  WHERE Id = '10055' 

Columns

Name Type ReadOnly Description
Id [KEY] String True

ID of this group.

Active Boolean False

If false, this group is considered archived.

Name String False

Name associated with this group

LastModified Datetime True

Date/time when this group was last modified

Created Datetime True

Date/time when this group was created

ManagerIds String True

Filter column for whether to fetch only active records, only archived records, or both. By default, only active records are fetched. Possible values are: yes, no, both

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462