REST API: Is there a way to get the Server DateTime?

Wednesday, May 1, 2019
Avatar

Is there a way to get the SpiraTest's current server Time? 

The main use case is for a running syncing process.  It can be used for looking for new incidents from previous sync time for  the following API query.  

https://api.inflectra.com/Spira/Services/v5_0/RestService.svc/projects/{project_id}/incidents/recent?start_row={start_row}&number_rows={number_rows}&creation_date={creation_date}

Thanks.

1 Replies
Wednesday, May 8, 2019
Avatar
re: david.villarama Wednesday, May 1, 2019

Hi David

The API calls generally expect UTC (GMT) rather than the server time so there is not currently an API function to get the server date/time.

Regards

Jim

Statistics
  • Started: Wednesday, May 1, 2019
  • Last Reply: Wednesday, May 8, 2019
  • Replies: 1
  • Views: 162