Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the driver beyond simple SELECT/INSERT/UPDATE/DELETE operations with Microsoft Teams.
Stored procedures accept a list of parameters, perform their intended function, and then return, if applicable, any relevant response data from Microsoft Teams, along with an indication of whether the procedure succeeded or failed.
CData JDBC Driver for Microsoft Teams Stored Procedures
Name | Description |
ArchiveTeam | Archive the specified team. In order to archive team, the team and group must have an owner. Once archived the team information becomes readonly. |
GetAdminConsentURL | Gets the admin consent URL that must be opened separately by an admin of a given domain to grant access to your application. Only needed when using custom OAuth credentials. |
GetOAuthAccessToken | Gets an authentication token from MSTeams. |
GetOAuthAuthorizationURL | Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the auth token from this URL. |
GetUserActivityCount | Get the number of Microsoft Teams licensed users by activity type. The activity types are number of teams chat messages, private chat messages, calls, and meetings. |
RefreshOAuthAccessToken | Refreshes the OAuth access token used for authentication with various MSTeams services. |
SendChatMessage | Send Message in the specified Chat. |
SendMessage | Send Message in the specified channel. |
ShareSchedule | Share a schedule time range with schedule members. Make the collections of draft shift and draft timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers. When a schedule is shared, for each shift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. |
UnArchiveTeam | Restore an archived team. |