我通过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发布于 2022-10-19 14:41:38
你的时区是+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"https://stackoverflow.com/questions/73624858
复制相似问题