*Please read over the documentation before posting.*

The Protocol guide answers your questions:
http://code.google.com/apis/health/docs/2.0/developers_guide_protocol.html#CreatingPosts

Posting a medication to a user's profile, using ClientLogin:
POST /health/feeds/register/ui/PROFILE_ID HTTP/1.1
Content-Type: application/atom+xml
Authorization: GoogleLogin auth=YOUR_AUTH_TOKEN

<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom";>
  <title type="text">THE NOTICE SUBJECT LINE</title>
  <content type="text">THE NOTICE MESSAGE BODY</content>

  <ContinuityOfCareRecord xmlns="urn:astm-org:CCR">
    ... optional CCR data ...
  </ContinuityOfCareRecord>
</entry>

See the CCR reference and the example XML snippet for
what the CCR document should contain for Medications:
http://code.google.com/apis/health/ccrg_reference.html#MedicationsMapping
http://code.google.com/p/googlehealthsamples/source/browse/trunk/CCR_samples/postMedication.xml

Eric

On Mar 2, 9:06 pm, "[email protected]" <[email protected]>
wrote:
> Hi,
>
> How cal i add medication to google health from my iPhone application
> in objective c.
> &  what is my url to add medication & what are the parameter. Please
> help me.
>
> Thanks
> Dipen
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to