diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-30 19:11:07 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-30 19:11:07 +1300 |
commit | 963adbba43d2849c968da85e51112f834b550f8d (patch) | |
tree | b36ba80ff2c13b78110e90511160d6b50a1da03c /src/org/traccar/api/resource | |
parent | eb1373894ae52054403625ef1261f3399272f5a7 (diff) | |
parent | 49bca7c5a966d93b0366fc4b907a6a37fd8db1b6 (diff) | |
download | trackermap-server-963adbba43d2849c968da85e51112f834b550f8d.tar.gz trackermap-server-963adbba43d2849c968da85e51112f834b550f8d.tar.bz2 trackermap-server-963adbba43d2849c968da85e51112f834b550f8d.zip |
Merge pull request #2618 from Abyss777/get_single_position
Use "id" parameter instead of "positionId"
Diffstat (limited to 'src/org/traccar/api/resource')
-rw-r--r-- | src/org/traccar/api/resource/PositionResource.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/api/resource/PositionResource.java b/src/org/traccar/api/resource/PositionResource.java index 4db73cfd2..84f406bee 100644 --- a/src/org/traccar/api/resource/PositionResource.java +++ b/src/org/traccar/api/resource/PositionResource.java @@ -48,7 +48,7 @@ public class PositionResource extends BaseResource { @GET @Produces(MediaType.APPLICATION_JSON) public Collection<Position> getJson( - @QueryParam("deviceId") long deviceId, @QueryParam("positionId") List<Long> positionIds, + @QueryParam("deviceId") long deviceId, @QueryParam("id") List<Long> positionIds, @QueryParam("from") String from, @QueryParam("to") String to) throws SQLException { if (!positionIds.isEmpty()) { |