GetAllUsers() API returning unexpected results

0 votes

The GetAllUsers API is not returning what I'm expecting to see.  In the code below, shouldn't it be returning all users that are like 'ABC*'?

public UserResponse callBack = new UserResponse ();
string userString = "ABC";

Dictionary<String, String> otherMetaHeaders = new Dictionary<String, String>();
otherMetaHeaders.Add("like", userString);
App42API.Initialize(Constant.app42AppKey,Constant.app42SecretKey);
userService = App42API.BuildUserService ();
userService.SetOtherMetaHeaders(otherMetaHeaders);  
userService.GetAllUsers(callBack);

 

 

closed with the note: Fixed problem
asked Feb 18, 2017 in Unity by dev (10 points)
closed Feb 23, 2017 by dev

1 Answer

0 votes
Hi Dev,

 

 

Apologies for getting late back to you.

 

Could you please share the response which you are getting after calling the API? Also, if it is possible then please share the internal logs of GetAllUsers methd. It will help us to provide better support to you.

To print internal logs, use below line of code just after the key initialization:

 

App42Log.SetDebug(true);

Please share the output logs at support@shephertz.com.
 

Regards,

Himanshu Sharma
answered Feb 21, 2017 by hs00105 (2,005 points)
Fixed it.  Sorry about that, not your problem!  The dumb programmer was overwriting the results :)  Thanks for your response.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...