Query from json to java api

Your example helped me a lot! Thank you very much!

P.S i did not find anything in the logs about the exception