Has anyone gotten a batch query to work with Google Health? According to <http://code.google.com/apis/health/docs/2.0/ developers_guide_protocol.html#Batch> batch processing is available for the Google Health API
Example: I can GET this just fine: <https://www.google.com/health/ feeds/profile/ui/ABC123> But I cannot POST the following to <https://www.google.com/health/ feeds/profile/ui/ABC123/batch> <?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:batch="http://schemas.google.com/gdata/batch"> <title type="text">XXX</title> <entry> <id>https://www.google.com/health/feeds/profile/ui/ABC123</id> <batch:operation type="query"/> </entry> </feed> I get this error feed back: <?xml version='1.0' encoding='utf-8'?> <atom:feed xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:ccr='urn:astm-org:CCR' xmlns:batch='http://schemas.google.com/ gdata/batch' xmlns:h9m='http://schemas.google.com/health/metadata'> <atom:id>https://www.google.com/health/feeds/profile/ui/ABC123</ atom:id> <atom:updated>2010-01-09T01:55:50.066Z</atom:updated> <atom:category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/health/kinds#profile' /> <atom:title type='text'>XXX</atom:title> <atom:link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://www.google.com/health/feeds/ profile/ui/ABC123' /> <atom:link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='https://www.google.com/health/feeds/ profile/ui/ABC123/batch' /> <atom:entry> <atom:id>https://www.google.com/health/feeds/profile/ui/ABC123</ atom:id> <atom:updated>2010-01-09T01:55:50.066Z</atom:updated> <atom:title type='text'>Error</atom:title> <atom:content type='text'>Invalid entry Id/Uri</atom:content> <batch:status code='400' reason='Invalid entry Id/Uri' /> <batch:operation type='query' /> </atom:entry> </atom:feed> Any ideas?
-- 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.
