Does HealthVaullt support SubscribeToEvent for AppSpecificInfo?

Answered Does HealthVaullt support SubscribeToEvent for AppSpecificInfo?

  • Tuesday, December 11, 2012 12:08 PM
     
     

    Hi,

    I am developing an off line HealthVault application in python (Django).

    I communicate with HealthVault via the raw xml interfaces.

    I would like to define AppSpecificInfo such as:


    <app-specific>
      <format-appid>my-app-id</format-appid>
      <format-tag>my-alert</format-tag>
      <when>
        <date>
          <y>2007</y>
          <m>8</m>
          <d>7</d>
        </date>
        <time>
          <h>0</h>
          <m>0</m>
          <s>0</s>
          <f>0</f>
        </time>
      </when>
      <summary />

    <my-alert><name>xxxxx</name><value>55.55</value></my-alert>

    </app-specific>

    I would like to be able to subscribe to changes in such AppSpecificInfo - using SubscribeToEvent. Is that possible? if so what should be the info xml

All Replies

  • Tuesday, December 11, 2012 7:33 PM
     
     Answered
    Hi Eytan,

    You can find documentation and the schema for the application-specific thing type here. Let me know if this helps.

    Thanks
    Santhosh
  • Tuesday, December 11, 2012 9:37 PM
     
     

    Hi Santhosh,

    Thank, I think it helps. I will continue working on it and let you know soon.

    Thanks,

    Eytan

  • Sunday, December 16, 2012 7:40 AM
     
     

    Hi Santhosh,

    If I had reconfigured my app (on PPE) to be able to access ApplicationSpecificInfo, do I need to re-authorize it by the HV account owner?

    I am asking because I get "access denied" status on my request to "put" new ApplicationSpecificInfo.

    Thanks,

    Eytan Ben Meir

  • Monday, December 17, 2012 7:46 PM
     
     
    Hi Eytan,

    Can you share the AppID so I can take a look?

    Thanks
    Santhosh
  • Monday, December 17, 2012 9:27 PM
     
     

    Hi Santhosh,

    It is:2ecad30f-d7aa-4be1-bb3e-b00b27828631

    Regards,

    Eytan

  • Monday, December 17, 2012 9:39 PM
     
     

    Hi Eyran,

    If nothing has changed, then you do not have to re-authorize. In your case, does it work if you re-authorize? By the way, your ActionURL gives me 502 error. Is there a reason why you *have to* use App Specific Info? Any data that you add in a HealthVault record of type "Application Specific type" will not be visible to other applications in the HealthVault ecosystem. You should not be using App Specific type to store data that has value in being shared among other apps.

    Thanks
    Santhosh

  • Monday, December 17, 2012 10:03 PM
     
     

    Hi Santhosh,

    I have not re-authorized yet. What changed is that I added App specific info to the app configuration (for off line access).

    The reason I am using app specific for is to store special alerts info that are specific to my app. But I would like to have other apps share this info. So what would be the correct line of action?

    Thanks,

    Eytan

  • Monday, December 17, 2012 10:04 PM
     
     
    The reason my app url is giving 502 is that it is down for maintenance. If you need me to I will bring it back up.
  • Monday, December 17, 2012 10:12 PM
     
     
    If you change anything in the configuration, the app needs to be re-authorized. You may want to look at all the available Thing Types and see if any of the built-in ones can substitute your app specific type.

    No, I do not want to you to bring up your ActionURL. I just mentioned it while I saw it giving me 502.

    Thanks