Ms Health Vault API with PHP - GEtThings Method Problem

Hi,
I am using ms health vault api with  php to get the person personal and health records.

I am able to get the person personal record object successfully using GetPersonInfo method.
But when i am going to use GetThings method to get the health data of that person then it retrieve a blank object.
I am passing below xml for GetThings method with person-id and record-id get by above GetPersonInfo method.

Method : GetThings
App-id : 750fd0da-69e3-426d-a0aa-fe3a3b1d18d6
Person-id : 580e6793-c6b9-4c36-be7e-8d7eb7806d55
Record-id : cd662189-1fea-4710-bc41-bc2d48466616

XML are as below :

<header>
<method>GetThings</method>
<method-version>3</method-version>
<record-id>cd662189-1fea-4710-bc41-bc2d48466616</record-id>
<auth-session>
<auth-token>ASAAAAc0l5GS909AhtAG6llej2Xs9JS6jv+HleawUseTSwGbNOfVz01meBRSuK7Hkr5vXy92Xeu9xqltkofM0ehCUQutJ4t1UouRK5/sYvzCYhOkgT9+MkIY2ZieEoiEH3+cFJBCInyxuH+Jl2YyT9Z4hTwks7XPYym6I/7I0QECDwJELwgssEwEjxSpmV4Aqz5wzc/ZSaoMDeLy5rfAp5NOeJFzXEb7kfKTEFhxeoDPei6OecNf17oCxHnAsCWy5zDhXrxiQr/UzB7YO5S82uKFw1/zpaC+mwcQH2hZe3zJG7hZsOqW6QIJYTnAgqgTLfMzPA==</auth-token>
<offline-person-info>
<offline-person-id>580e6793-c6b9-4c36-be7e-8d7eb7806d55</offline-person-id>
</offline-person-info>
</auth-session>
<language>en</language>
<country>US</country>
<msg-time>2011-04-11T18:22:24.648Z</msg-time>
<msg-ttl>1800</msg-ttl>
<version>1.1.1.1</version>
<info-hash>
<hash-data algName="SHA256">sRg29ByjZwZyUuqU/yf5eCfpWsBqMnVrw9QrseMIES4=</hash-data>
</info-hash>
</header>

Info xml :

<header>
<method>GetThings</method>
<method-version>3</method-version>
<record-id>eb1deb81-96e6-48b7-9e4b-d0401d27a487</record-id>
<auth-session>
<auth-token>ASAAAAc0l5GS909AhtAG6llej2Xs9JS6jv+HleawUseTSwGbNOfVz01meBRSuK7Hkr5vXy92Xeu9xqltkofM0ehCUQutJ4t1UouRK5/sYvzCYhOkgT9+MkIY2ZieEoiEH3+cFJBCInyxuH+Jl2YyT9Z4hTwks7XPYym6I/7I0QECDwJELwgssEwEjxSpmV4Aqz5wzc/ZSaoMDeLy5rfAp5NOeJFzXEb7kfKTEFhxeoDPei6OecNf17oCxHnAsCWy5zDhXrxiQr/UzB7YO5S82uKFw1/zpaC+mwcQH2hZe3zJG7hZsOqW6QIJYTnAgqgTLfMzPA==</auth-token>
<offline-person-info>
<offline-person-id>1978e318-20e5-4a60-bd35-e8ac4394ec87</offline-person-id>
</offline-person-info>
</auth-session>
<language>en</language>
<country>US</country>
<msg-time>2011-04-11T18:22:24.648Z</msg-time>
<msg-ttl>1800</msg-ttl>
<version>1.1.1.1</version>
<info-hash>
<hash-data algName="SHA256">sRg29ByjZwZyUuqU/yf5eCfpWsBqMnVrw9QrseMIES4=</hash-data>
</info-hash>
</header>

My response object : (Null)
object(GetThingsResponseObject)#21 (1) { ["thingResponseGroups":protected]=>  array(1) { [0]=>  object(ThingResponseGroup)#25 (4) { ["things":protected]=>  array(0) { } ["unprocessedThingKeyInfos":protected]=>  array(0) { } ["filtered":protected]=>  bool(false) ["name":protected]=>  string(0) "" } } }

Please provide your help ASAP...

Thanks & Regards,
V2SolutionsAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Ray PaseurConnect With a Mentor Commented:
I doubt if PHP is the issue here; it looks more like the issue is about the format and content of the XML and the response from the API.

Assuming that you are talking about this:
http://msdn.microsoft.com/en-us/healthvault/bb688183

The have a support page:
http://msdn.microsoft.com/en-us/healthvault/bb870258

This search turned up some potentially interesting looking links:
http://social.msdn.microsoft.com/Search/en-us/?query=HealthVault+PHP

HTH, ~Ray
0
 
V2SolutionsAuthor Commented:
aCCEPTED
0
 
Ray PaseurCommented:
You posted this question in May, saying Please provide your help ASAP... and then you left it without comment until August, then gave a bad grade.  What should I have done to earn an "A" here?  Why didn't you provide and comment or feedback?
0
All Courses

From novice to tech pro — start learning today.