【问题标题】:How to download full report in Voximplant?如何在 Voximplant 中下载完整报告?
【发布时间】:2022-10-19 22:41:38
【问题描述】:

我通过 downloadStatReport api 获得了报告数据,但是出现了问题。广告系列(33771)有 244 页数据,但我只有 60 行数据,为什么? 报告 ID 为 877036

API exportStatReport 的参数为:

String campaignId = ""33771"";  
String from = ""2022-04-28 08:00:00"";  
String to = ""2022-04-28 16:20:00"";  

请求:

curl -X GET https://kitapi-eu.voximplant.com/api/v3/attempt/downloadStatReport?report_id=877036&domain=tannyleung&access_token=xxxx

【问题讨论】:

    标签: voximplant


    【解决方案1】:

    您的时区是 +8 小时。 使用 api 请求,时间应该是 UTC,也就是说,如果您从请求中减去 8 小时,您将收到正确的报告。 例子:

    curl -X POST -H 'Content-Type:application/x-www-form-urlencoded' --data "datetime_start=2022-04-28%2000%3A00%3A00&datetime_end=2022-04-28%2008%3A20%3A00&call_direction=all&campaign_ids=[33771]&format=xlsx&domain=tannyleung&access_token=token" 
    "https://kitapi-eu.voximplant.com/api/v3/history/exportCallsHistoryReport"
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-07-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多