How to get Blood Pressure details in android using Health Vault SDK

Feb 19, 2014 at 6:04 AM
Hi,

I could successfully run the sample app for weight provided in the Health Vault SDK. Now i wanted to get the Blood pressure details ,For that i wrote
 Record record = selectedRecord;


               SimpleRequestTemplate template = new SimpleRequestTemplate(
                        service.getConnection(),
                        record.getPersonId(),
                        record.getId());

                Log.e("My testing getPersonId ",""+ record.getPersonId());
                Log.e("My testing getId ",""+record.getId());

              /*  String info = "<info><group max=\"20\"><filter><type-id>" +
                    Weight.TYPE_PREG  +
                    "</type-id></filter><format><section>core</section>" +
                    "<xml/></format></group></info>";*/
                String info = "<info><group max=\"10\"><filter><type-id>" +
                        "ca3c57f4-f4c1-4e15-be67-0a3caf5414ed" +
                        "</type-id></filter><format><section>core</section>" +
                        "<xml/></format></group></info>";



                Request request = new Request();
                request.setMethodName("GetThings");
                request.setInfo(info);

                template.makeRequest(request, new RequestMarshaller() {

                    @Override
                    public Object marshal(InputStream istream) throws Exception {

                        Log.e("Testinggg",    getStringFromInputStream(istream));

                        return null;
                    }
                });

But when i convert the input stream to string i get
 <response><status><code>0</code></status><wc:info xmlns:wc="urn:com.microsoft.wc.methods.response.GetThings"><group><filtered>true</filtered></group></wc:info></response> 
But when i try it using the type-id 3d34d87e-7fc1-4153-800f-f56592cb0d17 (Id for weight measurement) im getting response. I edited the offlinerules and checked blood pressure 5mins ago using this link https://config.healthvault-ppe.co.uk/EditOfflineRules.aspx?appid=29fdd712-286b-493e-9763-6d0ceaa13e6b .What im i missing here?