Date format for Activiti Rest Query

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2015 07:23 AM
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.
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.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2015 02:53 PM
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.
