Related queries and mutations in Notifications. Each has its own section.
Queries
getWebexIntegrations (query)
getWebexIntegrations 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.
Get the configured Webex integrations
Arguments
| Argument | Type | Description |
|---|---|---|
integrationId | UUID | Filter by integration ID |
Returns
Example
query GetWebexIntegrations {
getWebexIntegrations {
integrationId
integrationName
createdTime
updatedTime
}
}Related types
testWebexCredentials (query)
testWebexCredentials 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.
Test the Webex connection credentials
Arguments
| Argument | Type | Description |
|---|---|---|
botToken | String! | The Webex bot token for basic authentication |
Returns
WebexTestCredentialsOutput
Example
query TestWebexCredentials($botToken: String!) {
testWebexCredentials(botToken: $botToken) {
validCredentials
}
}Types used only by testWebexCredentials
testWebexCredentialsWebexTestCredentialsOutput
WebexTestCredentialsOutputObject type. A Webex test credentials result
| Field | Type | Description |
|---|---|---|
validCredentials | Boolean! | Returns if the credentials are valid |
Mutations
createWebexIntegration (mutation)
createWebexIntegration 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.
Create a Webex integration
Arguments
| Argument | Type | Description |
|---|---|---|
botToken | String | The bot token for authentication; if not provided, the previous value will be used |
integrationName | String! | A short name to identify the integration |
Returns
CreateWebexIntegration
Example
mutation CreateWebexIntegration($integrationName: String!) {
createWebexIntegration(integrationName: $integrationName) {
webexIntegration {
integrationId
integrationName
createdTime
updatedTime
}
}
}Types used only by createWebexIntegration
createWebexIntegrationCreateWebexIntegration
CreateWebexIntegrationObject type. Create a Webex integration
| Field | Type | Description |
|---|---|---|
webexIntegration | WebexIntegrationOutput | The integration that was created |
Related types
deleteWebexIntegration (mutation)
deleteWebexIntegration 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.
Delete a Webex integration
Arguments
| Argument | Type | Description |
|---|---|---|
integrationId | UUID! | The integration ID |
Returns
DeleteWebexIntegration
Example
mutation DeleteWebexIntegration($integrationId: UUID!) {
deleteWebexIntegration(integrationId: $integrationId) {
deleted
}
}Types used only by deleteWebexIntegration
deleteWebexIntegrationDeleteWebexIntegration
DeleteWebexIntegrationObject type. Delete a Webex integration
| Field | Type | Description |
|---|---|---|
deleted | Boolean |
Related types
updateWebexIntegration (mutation)
updateWebexIntegration 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.
Update a Webex integration
Arguments
| Argument | Type | Description |
|---|---|---|
botToken | String | The bot token for authentication; if not provided, the previous value will be used |
integrationId | UUID! | The integration ID |
integrationName | String! | A short name to identify the integration |
Returns
UpdateWebexIntegration
Example
mutation UpdateWebexIntegration($integrationId: UUID!, $integrationName: String!) {
updateWebexIntegration(integrationId: $integrationId, integrationName: $integrationName) {
webexIntegration {
integrationId
integrationName
createdTime
updatedTime
}
}
}Types used only by updateWebexIntegration
updateWebexIntegrationUpdateWebexIntegration
UpdateWebexIntegrationObject type. Update a Webex integration
| Field | Type | Description |
|---|---|---|
webexIntegration | WebexIntegrationOutput | The integration that was updated |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
