API/positions error

RyD 5 years ago

Hello

I am making this call directly from the URL

http://ipserver:port/api/positions?deviceId=11&from=2018-11-28%2015:00:00&to=2018-11-28%2015:01:13

I get this response:

Text '2018-11-28 15:00:00' could not be parsed at index 10 - DateTimeParseException (... < DateUtil:62 < PositionResource:67 < ...)

Could you please point out the mistake on url

Thank you

Anton Tananaev5 years ago

You have to use ISO format:

https://en.wikipedia.org/wiki/ISO_8601

RyD 5 years ago