GutoVeronezi commented on issue #143: URL: https://github.com/apache/cloudstack-cloudmonkey/issues/143#issuecomment-1860204629
@rajujith, if you set the debug mode, you can see the way CMK is generating the URL and observe that the hour is being ignored (at least on 6.1, I did not check the newest version): ``` 🐱 > list usagerecords type=27 startdate=2023-12-08 05:00:00 enddate=2023-12-08 05:59:59 [debug] ExecLine line:list usagerecords type=27 startdate=2023-12-08 05:00:00 enddate=2023-12-08 05:59:59 [debug] ExecCmd args: list, usagerecords, type=27, startdate=2023-12-08, 05:00:00, enddate=2023-12-08, 05:59:59 [debug] NewAPIRequest API request URL:[...]command=listUsageRecords&enddate=2023-12-08&response=json&startdate=2023-12-08&type=27[...] ``` Could you try putting the value between quotes? e.g: ``` 🐱 > list usagerecords type=27 startdate="2023-12-08 05:00:00" enddate="2023-12-08 05:59:59" [debug] ExecLine line:list usagerecords type=27 startdate="2023-12-08 05:00:00" enddate="2023-12-08 05:59:59" [debug] ExecCmd args: list, usagerecords, type=27, startdate=2023-12-08 05:00:00, enddate=2023-12-08 05:59:59 [debug] NewAPIRequest API request URL:[...]command=listUsageRecords&enddate=2023-12-08+05%3A59%3A59&response=json&startdate=2023-12-08+05%3A00%3A00&type=27[...] ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org