Hi amishera, The full text query (q= parameter) is only supported by the register feed: http://code.google.com/apis/health/reference.html#Parameters
Also, the feed URI should be: https://www.google.com/health/feeds/profile/default and for /h9: https://www.google.com/h9/feeds/profile/default Eric On Sep 22, 1:34 pm, amishera <[EMAIL PROTECTED]> wrote: > Hi, > I have been trying to do full text search with category. But I could > not quite get what the feedUrl is: > > Query q = new Query(new URL(feedUrl)); > q.setFullTextQuery("Abdominal"); > System.out.println(q.getFeedUrl()); > > /*Category myCategory = new Category("Procedures"); > CategoryFilter myCategoryFilter = new CategoryFilter(myCategory); > q.addCategoryFilter(myCategoryFilter);*/ > Feed myCategoryResultsFeed = service.query(q, Feed.class); > > if (myCategoryResultsFeed.getEntries().size() > 0) { > Entry firstMatchEntry = > myCategoryResultsFeed.getEntries().get(0); > String myEntryTitle = > firstMatchEntry.getTitle().getPlainText(); > System.out.println(myEntryTitle); > } > > I have been trying the following values for feedUrl: > > http://www.google.com/health/feeds/http://www.google.com/health/feeds/profilehttp://www.google.com/health/feeds/profile/ > > nothing working. And I get the any of the following exception: > > com.google.gdata.util.InvalidEntryException: Bad Request > Badly formatted URI > > Forbidden > > I dont understand why they dont mention explicity in the document what > they require? > > I would appreciate any help here. > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Health Developers" group. To post to this group, send email to googlehealthdevelopers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/googlehealthdevelopers?hl=en -~----------~----~----~----~------~----~------~--~---