如何从HealthVault获取增量数据 [英] How to get incremental data from HealthVault

查看:60
本文介绍了如何从HealthVault获取增量数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有办法获取增量健康数据? 第一次当我拉数据时,我将使用类型进行查询id,它返回该类型id的所有条目。  继续我只想添加新条目或
更新,因为它会减少获取数据和解析数据的重载
重复

I would like to know if there is a way to get incremental health data? The very first time when i pull data i will query using type id and it returns me all entries for that type id.  Going onwards i would only like to get new entries added or updates as it will reduce the overload of getting data and parsing it repeatedly.

有可能吗?

谢谢

 

 

推荐答案

是的,虽然它并不像我们希望的那样简单。

Yes, though it's not as simple as we'd like it to be.

要求审计部分的数据(View.Sections包括审计) ,它将为您提供所有项目的更新日期。计算出它的最大值,然后存储它。

Ask for audit section of the data (View.Sections includes Audit), which will give you the updated date for all the items. Figure out the maximum value for that, and store it.

下次询问时,将Filter.UpdatedDateMin属性设置为该值。然后,这将只返回自该日期以来被修改的项目。

Next time you ask, set the Filter.UpdatedDateMin property to that value. That will then return only items that were modified since that date.


这篇关于如何从HealthVault获取增量数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆