mutation {
webhook {
createSubscriptionWebhook(
refreshToken: "YOUR_REFRESH_TOKEN"
label: "Sample handlerAdesChanged"
subscription: "subscription handlerAdesChangedTest($oAuthClientId: OAuthClientId!) { integration { flightSupport { flightHandlerAdesChanged(oAuthClientId: $oAuthClientId) { flightNid handlingAdes { ... on FlightSupportChecklistItemValue { value { comment provider { name email } status { abbreviation caption status color } } } ... on ErrorList { errorList { category message path } } } } } } }"
variables: "{\"oAuthClientId\": \"YOUR_OAUTH_CLIENT_ID\"}"
webhookUrl: "https://YOUR_WEBHOOK_URL"
includeAuthorizationHeader: true
) {
... on CreateSubscriptionWebhookViolationList {
error: value {
message
path
category
}
}
... on NonNullBooleanValue {
success: value
}
}
}
}