Related queries and mutations in Notifications. Each has its own section.
Queries
getMsTeamsChannels (query)
getMsTeamsChannels is a query in the Monte Carlo GraphQL API, in Notifications. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Arguments
| Argument | Type | Description |
|---|---|---|
teamId | String | |
nameContains | String | |
limit | Int | Default: 100. |
offset | Int | Default: 0. |
Returns
MsTeamsChannelList
Example
query GetMsTeamsChannels {
getMsTeamsChannels {
channels {
id
teamId
name
}
}
}Types used only by getMsTeamsChannels
getMsTeamsChannelsMsTeamsChannel
MsTeamsChannelObject type.
| Field | Type | Description |
|---|---|---|
id | String! | Channel ID (MS-specific) |
teamId | String! | ID of the team the channel belongs to |
name | String | Human readable channel name |
MsTeamsChannelList
MsTeamsChannelListObject type.
| Field | Type | Description |
|---|---|---|
channels | [MsTeamsChannel] |
getMsTeamsIntegrations (query)
getMsTeamsIntegrations is a query in the Monte Carlo GraphQL API, in Notifications. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Returns
MsTeamsInstallationList
Example
query GetMsTeamsIntegrations {
getMsTeamsIntegrations {
installLink
}
}Types used only by getMsTeamsIntegrations
getMsTeamsIntegrationsMsTeamsInstallation
MsTeamsInstallationObject type.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | |
name | String! | Name of the installation |
teamLink | String | |
teamId | String | |
lastErrorMessage | String | Last error message received when sending a notification to this MS Teams integration, if any |
MsTeamsInstallationList
MsTeamsInstallationListObject type.
| Field | Type | Description |
|---|---|---|
installLink | String! | |
installations | [MsTeamsInstallation]! |
Related types
Mutations
linkMsTeamsInstallation (mutation)
linkMsTeamsInstallation is a mutation in the Monte Carlo GraphQL API, in Notifications. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Arguments
| Argument | Type | Description |
|---|---|---|
code | String! | Security code passed from MS Teams |
installationId | String! | MS Teams App installation id |
Returns
LinkMsTeamsInstallation
Example
mutation LinkMsTeamsInstallation($code: String!, $installationId: String!) {
linkMsTeamsInstallation(code: $code, installationId: $installationId) {
success
}
}Types used only by linkMsTeamsInstallation
linkMsTeamsInstallationLinkMsTeamsInstallation
LinkMsTeamsInstallationObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean | True if linking the installation was successful |
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
