Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
New contact via request Http
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
siriemy  
View profile  
 More options Apr 11 2012, 5:09 am
From: siriemy <andrea.angel...@gmail.com>
Date: Wed, 11 Apr 2012 02:09:34 -0700 (PDT)
Local: Wed, Apr 11 2012 5:09 am
Subject: New contact via request Http

Hello,
I'm trying to create a new gmail contact by request Httppost.
I create this body request:

 <atom:entry xmlns:atom='http://www.w3.org/2005/Atom' xmlns:gd='
http://schemas.google.com/g/2005'>
   <atom:category scheme='http://schemas.google.com/g/2005#kind' term='
http://schemas.google.com/contact/2008#contact'/>
   <gd:name>
      <gd:givenName>aaa</gd:givenName>
      <gd:familyName>ccc</gd:familyName>
      <gd:fullName>ccc</gd:fullName>
   </gd:name>
   <atom:content type='text'>Notes</atom:content>
   <gd:email rel='http://schemas.google.com/g/2005#work' primary='true'
address='...@gmail.com' displayName='E. Bennet'/>
   <gd:email rel='http://schemas.google.com/g/2005#home'
address='a...@example.org'/>
   <gd:phoneNumber rel='http://schemas.google.com/g/2005#work'
primary='true'>1111</gd:phoneNumber>
   <gd:phoneNumber rel='http://schemas.google.com/g/2005#home
'>2222</gd:phoneNumber>
   <gd:im address='...@gmail.com' protocol='
http://schemas.google.com/g/2005#GOOGLE_TALK' primary='true' rel='
http://schemas.google.com/g/2005#home'/>
 </atom:entry>

The response is "Http/1.1 201 Created". If I go on gmail I see the new
contact but the names are empty (givenName,familyName and fullname).
Is there something of wrong in my request ?
I have get this request xml from
https://developers.google.com/google-apps/contacts/v3/

Thanks
Andrea


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »