diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-30 11:04:52 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-30 11:04:52 +0500 |
commit | 49bca7c5a966d93b0366fc4b907a6a37fd8db1b6 (patch) | |
tree | 9af265d6886a0427fec1bd27792a78972ded36b5 /src/org | |
parent | d5ec75ecd3697e37782c9dd53998c889d5b9ef4d (diff) | |
download | trackermap-server-49bca7c5a966d93b0366fc4b907a6a37fd8db1b6.tar.gz trackermap-server-49bca7c5a966d93b0366fc4b907a6a37fd8db1b6.tar.bz2 trackermap-server-49bca7c5a966d93b0366fc4b907a6a37fd8db1b6.zip |
Use "id" parameter instead of "positionId"
Diffstat (limited to 'src/org')
-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()) { |