When posting data via the register feed, the entry id returned is attached to the notice and not the CCR data sent with the notice. For the register feed, there will only be one entry, one id returned, even if multiple CCR data elements were passed in. Therefore, the id returned from the register feed will not be present in the entries returned from the profile feed.
If you want the id of a CCR data element entered into Health via the register feed, you'll likely want to query the profile feed using a category query. http://code.google.com/apis/health/docs/2.0/developers_guide_protocol.html#retrieving_with_query http://code.google.com/apis/health/docs/2.0/reference.html#Parameters Using the "updated-min" and "updated-max" parameters should allow you to retrieve the exact entry you sent in the notice. Paul On Nov 9, 4:46 pm, CTISTeam <[email protected]> wrote: > Hi, Paul, > > As mentioned in Google Health Documents we are using <ID> tag value to > synchronize data between Google H9 and our application. > > But we are facing some strange problem with ID of an episode. We are > posting an episode entry using OAuth to Google H9. Once we post data > successfully, in response we are getting back a complete episode. In > that episode we are getting ID and all other details which we have > posted. And after some time if we again request complete CCR and > search for the same episode in a CCR, we are getting completely > different ID for same episode. So <ID> tag seems to be changed... and > we are not sure why it was changed !! > > We hope we are able to explain the problem. Let us know in case if you > need more details. Appreciate any kind of help on the same. > > Thanks, > CTIS Team -- You received this message because you are subscribed to the Google Groups "Google Health Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/googlehealthdevelopers?hl=en.
