cancel
Showing results for 
Search instead for 
Did you mean: 

Date format for Activiti Rest Query

softcoder
Champ in-the-making
Champ in-the-making
What is the appropriate date format for query in activiti-rest calls?
I keep getting the error below, and i have tried, different date formats.
{"errorMessage":"The given value for query-parameter 'startedAfter' is not a valid date: 2013-04-03T23:45Z","statusCode":400}

Below are the date formats i have tried:
http://localhost:8088/activiti-rest/service/history/historic-process-instances?startedAfter=2013-04-...
http://localhost:8088/activiti-rest/service/history/historic-process-instances?startedAfter=2009-01-...
http://localhost:8088/activiti-rest/service/history/historic-process-instances?startedAfter=2009-01-...

Thanks.
Ahmed.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
This answer has been answered in the past already, don't know the answer from the top of my head. It's ISO 8601 compatible, and the unit test must have some examples too.