I made a method in Kumulos to check login details. It is supposed to return the (Entry)ID of account logged in but when I run that API from Kumulos website I get this.
0: object (click to toggle)
accountName->MYNAME
password->YUPMYPASS
credentialID->9
timeCreated->2016-11-28 07:09:13
timeUpdated->2016-11-28 07:11:11
So how do I use this in my code? It returns an Object on calling a method from the android studio. I don't know anything about that object's type. How do I extract credentialID from that object?
This is the Syntax to call my API i used.
params.put(username, password);
Kumulos.call("login", params, new ResponseHandler() {
@Override
public void didCompleteWithResult(Object result) {
//this is the Object returned
}
});