有人为Five9 API使用了python包装器吗?
我试图通过API运行我们的一个自定义报告,但不确定如何通过时间标准。
如果报告已经建立:
有没有一种不通过标准就运行它的方法?
这似乎已经足够了(因为报告已经构建好了):
client.configuration.runReport(folderName='Shared Reports', reportName='Test report')但它并没有像预期的那样起作用。
我能做些什么来解决这个问题?
发布于 2019-08-30 18:39:37
这对我有用。如果报告已经完成,您可能会更喜欢while循环检查,但这并不是时间敏感的。
from five9 import Five9
import time
client = Five9('username','password')
start = '2019-08-01T00:00:00.000'
end = '2019-08-29T00:00:00.000'
criteria = {'time':{'end':end, 'start':start}}
identifier = client.configuration.runReport(folderName='SharedReports',reportName='reportname',criteria=criteria)
time.sleep(15)
get_results = client.configuration.getReportResult(identifier)https://stackoverflow.com/questions/51106982
复制相似问题