PutThings for OfflineAccess

Folks trying to talk through raw xml layer with HealthVault have asked this a few times – so i thought I’ll put it up here, thanks to Rob for digging the XML.

The key to do a PutThings for an application in offline mode is the following snippet in the auth-session:


11111111-1111-1111-1111-111111111111

An application with OfflineAccess is ready to publish data in a users record once it successfully does the CreateAuthenticateSession call. Here is a sample PutThings call:



Ax4hxwu+7BAkrH62g8tUvjNzpEQ=

PutThings 1 22210250-3d35-4170-bffa-514e12e7f925 ASAAAEJsFrdImoBPhEuDFRUObCKOvcbsicri3tSAaYRo+dQIg1Rsl9/Au7pM2YYfTdN2z0VlRnz4G5iCaSjXIFQGiG98qmaKy8IMt63b1FMahGKC13JVjpBA7LOAvKgpOkv7GJm7xrUlEyQWwSL39dzMTcuiyLB12hugNYIBB9r8pYOJhlLcD/Y0lEDHMTH+XbqZXSdF0SAoq60OWEXkPhTeaKrN8fNq 11111111-1111-1111-1111-111111111111 en US 2008-08-13T00:24:58.126-07:00 60 0.0.0.1 v08Nd7MFCdO8aDwIOFJvU/0TpWw= 3d34d87e-7fc1-4153-800f-f56592cb0d17 2008813777777
Reblog this post [with Zemanta]

Related Article: Whats Under the hood of HealthVault SDK

2 comments ↓

#1 Lighting it up! — Reviving The Health Revolution on 03.25.09 at 4:40 pm

[...] Next time: How to do offline access and use PutThings [...]

#2 Working with HealthVault XML APIs — Reviving The Health Revolution on 03.25.09 at 4:58 pm

[...] Part 6: Doing offline access with HealthVault [...]

Leave a Comment