@QueryParam("pgNum") Integer pgNum,
@QueryParam("pgSze") Integer pgSze) {
PagingRequest pr = buildPagingRequest(pgIdx, pgNum, pgSze);
PositionHistoryRequest request = new PositionHistoryRequest(data().getPosition().getUniqueId());
request.setPagingRequest(pr);
PositionHistoryResult result = data().getPositionMaster().history(request);
FlexiBean out = createRootData();
out.put("versionsResult", result);
out.put("versions", result.getPositions());
out.put("paging", new WebPaging(result.getPaging(), data().getUriInfo()));
String json = getFreemarker().build(JSON_DIR + "positionversions.ftl", out);
return Response.ok(json).build();
}