Extreme API with Python

Table Of Contents
Extreme API with Python
Page | 107
Part no.9036931-00 Rev AA February 2021
from time import sleep
idQuery = '''
{
workflows {
allWorkflows {
id
name
}
}
}
'''
exeMutation = '''
mutation {
workflows {
startWorkflow (input: { id: <id>
variables: {
MyVariable: "<state>"
}
} ) {
status
errorCode
executionId
message
}
}
}
'''
messageQuery = '''
{
workflows {
execution(executionId: <id>) {
variables
}
}
}