TDV Adapter for Microsoft Teams

Build 22.0.8462

SchedulingGroups

SchedulingGroups table for MSTeams data provider.

Table Specific Information

Select

Query the SchedulingGroups table by retrieving everything from teams or by specifying TeamId with = and IN operators. By default only the scheduling groups for teams of the groups you are a member of will be returned. To retreive scheduling groups for teams of all groups in your organization, set IncludeAllGroups property to true. The adapter will use the Microsoft Teams API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the adapter.

  • TeamId supports the '=' and IN operators.
  • Id supports the '=' operator.

For example, the following query is processed server side:

SELECT * FROM SchedulingGroups WHERE TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511' AND Id = 'TAG_357350ce-2fa2-498d-9967-494296509c32'

Insert

To insert a scheduling group for a team, you need to specify TeamId and at least one another field among DisplayName, IsActive, iconType.

INSERT INTO SchedulingGroups (TeamId, DisplayName, IsActive) VALUES ('da838338-4e77-4c05-82a6-79d9f0274511', 'Cashiers', 'true')

Update

To update a scheduling group Id and TeamId are required in WHERE clause. You can update DisplayName and IsActive fields.

UPDATE SchedulingGroups SET DisplayName = 'Supervisors' WHERE Id = 'TAG_357350ce-2fa2-498d-9967-494296509c32' AND TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511'

Delete

To delete a scheduling group Id and TeamId are required in WHERE clause.

DELETE FROM SchedulingGroups WHERE TeamId = 'acabe397-8370-4c31-aeb7-2d7ae6b8cda1' AND Id = 'TAG_101f11df-e7c0-49f2-8d5c-a9ad085c97aa'

Columns

Name Type ReadOnly Description
Id [KEY] String False

ID of the schedulingGroup.

TeamId String False

The Team Id.

CreatedDateTime Datetime False

The time stamp in which this schedulingGroup was first created.

LastModifiedBy_application_displayName String False

The display name of the application that last modified.

LastModifiedBy_application_id String False

The id of the application that last modified.

LastModifiedDateTime Datetime False

The time stamp in which this schedulingGroup was last updated.

DisplayName String False

The display name for the schedulingGroup.

IsActive Bool False

Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones.

UserIds String False

The list of user IDs that are a member of the schedulingGroup.

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