The best way to analyze a swipe in automation is to enable "Show touches" and "pointer location" options in your developer option.
The correct code for the swipe parameters is this -
swipeObject.put("startX", 198.00);
swipeObject.put("startY", 685.00);
swipeObject.put("endX", 198.00);
swipeObject.put("endY", 550.00);
swipeObject.put("duration", 1.0);
Hope this helps.
Or even a better way is to use something like using fractions -
swipeObject.put("startX", 0.50);
swipeObject.put("startY", 0.50);
swipeObject.put("endX", 0.50);
swipeObject.put("endY", 0.35);
swipeObject.put("duration", 1.0);