How to search with where clause with retrof

I’m currently using retrofit and I’m trying to get Data Object from DB.
Here is my code:

Call<User> getUserByLogin(@Query(value = "login", encoded = true) String login);


public void testApiGetUsernameByLogin() throws Exception {
Retrofit backendlessRetrofit = new Retrofit.Builder()
BackendlessAPI backendlessAPI = backendlessRetrofit.create(BackendlessAPI.class);

POJO which I’m trying to retrieve

public class User {
private String login;
private String vkId;
private String name;
private String objectId;
public User() {
public User(String login, String vkId, String name, String objectId) {
this.login = login;
this.vkId = vkId; = name;
this.objectId = objectId;
public String getLogin() {
return login;
public void setLogin(String login) {
this.login = login;
public String getVkId() {
return vkId;
public void setVkId(String vkId) {
this.vkId = vkId;
public String getName() {
return name;
public void setName(String name) { = name;
public String getObjectId() {
return objectId;
public void setObjectId(String objectId) {
this.objectId = objectId;

Info from console:

Process finished with exit code 0

I tried this using getUserByLogin method without “?where=”, I tried with @Path annotation and nothing changed


we can’t provide support for problems related to using Backendless with third-part libraries.