Loading [MathJax]/jax/output/CommonHTML/config.js
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >调用接口返回结果有问题?

调用接口返回结果有问题?

提问于 2018-03-01 03:10:48
回答 1关注 0查看 442

调用接口请求域名:cdn.api.qcloud.com

入参:

{'hosts.0': 'v11-tt.ixiguavideo.com', 'startDate': '2018-02-28', 'endDate': '2018-02-29', 'RequestClient': 'Python_Tools', 'Signature':xxxxx, 'Action': 'DescribeCdnHostInfo', 'Nonce': 7647310207356514128, 'Timestamp': 1519873169, 'SecretId': xxxxx, 'statType': 'bandwidth', 'projects.0': '0'}

出参:

{u'code': 0, u'retcode': 0, u'codeDesc': u'Success', u'message': u'', u'data': {u'start_datetime': u'2018-02-28 00:00:00', u'stat_type': u'bandwidth', u'end_datetime': u'2018-02-28 00:00:00', u'detail_data': [{u'host_id': u'v11-tt.ixiguavideo.com', u'host_type': u'cname', u'host_name': u'v11-tt.ixiguavideo.com', u'host_value': 0}], u'period': 5}, u'errmsg': u'ok'}

问题:

入参'endDate': '2018-02-29',出参 u'end_datetime': u'2018-02-28 00:00:00',字段u'host_value': 0,出参的end时间和入参的start时间相同

已邀请
等3人回答

回答 1

嗨喽你好

发布于 2018-03-02 06:53:11

startDate

String

查询开始日期(日),若设置为 2016-05-03 ,实际查询的起始时间为:2016-05-03 00:00:00

endDate

String

查询结束日期(日),若设置为 2016-05-04,实际查询的结束时间为:2016-05-04 23:55:00

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

调用接口返回[loadBalancerType]不能,这个问题怎么解决?

1266

调用短信接口返回错误?

11.1K

调用智能鉴黄接口接口返回11?

2510

托管模式调用接口成功,其他接口返回40003?

1888

同传接口调用返回错误?

0489
相关问答用户
到家集团 | 技术VP擅长5个领域
某公司 | 程序员擅长1个领域
新浪微博 | 高级总监擅长4个领域
添加站长 进交流群

领取专属 10元无门槛券

AI混元助手 在线答疑

扫码加入开发者社群
关注 腾讯云开发者公众号

洞察 腾讯核心技术

剖析业界实践案例

扫码关注腾讯云开发者公众号
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档