Closed kenspirit closed 8 years ago
Hi, could u elaborate? If you are using the REST API, you can define any value to replace the variable. u can put the timestamp or anything for sure.
How can I obtain the current system timestamp? Function like SYSDATE or SYSTIMESTAMP in SQL. And possibly format the time to specific format like YYYYMMDD
On Fri, Mar 14, 2014 at 12:42 PM, Yuanteng (Jeff) Pei < notifications@github.com> wrote:
Hi, could u elaborate? If you are using the REST API, you can define any value to replace the variable. u can put the timestamp or anything for sure.
Reply to this email directly or view it on GitHubhttps://github.com/eBay/restcommander/issues/8#issuecomment-37616336 .
Ken Chen
if you are using rest client or rest API, you can generate that timestamp string and put it in your rest call.
Here is a python rest client: http://www.restcommander.com/monitoring-sample.html
we also have a java rest client to be published too
http://www.restcommander.com/usecase.html#usecase-different-servers
"map":{ "APIVARREPLACE_TIME_STAMP":"20140310" }
closed as for now. can be reopened if there are further discussions
It's better if variable can be defined as current timestamp with specific format. It would be great if support derived datetime from the current timestamp.