Hi all,

   My question is that while doing the batch operation in Google as
XML request and response, whether the response will change after some
days?
   I have done a batch operation for insert.Below is the request and
the corresponding response I was getting till yesterday.

REQUEST
----------------------------------------------------
<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns='http://www.w3.org/2005/Atom'
      xmlns:gContact='http://schemas.google.com/contact/2008'
      xmlns:gd='http://schemas.google.com/g/2005'
      xmlns:batch='http://schemas.google.com/gdata/batch'>
  <category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/g/2008#contact' />
 <entry>
                <batch:operation type='insert' />
                <category scheme='http://schemas.google.com/g/2005#kind'
                        term='http://schemas.google.com/g/2008#contact' />
                <title type='text'>TEST</title>
        </entry>
</feed>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

RESPONSE
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<atom:feed xmlns:batch="http://schemas.google.com/gdata/batch";
xmlns:gContact="http://schemas.google.com/contact/2008";
xmlns:atom="http://www.w3.org/2005/Atom"; xmlns:gd="http://
schemas.google.com/g/2005" xmlns:openSearch="http://a9.com/-/spec/
opensearchrss/1.0/">
  <atom:id></atom:id>
  <atom:updated></atom:updated>
  <atom:title type="text">Batch Feed</atom:title>
  <atom:link rel="http://schemas.google.com/g/2005#feed";
type="application/atom+xml" href="http://www.google.com/m8/feeds/
contacts/test.scf%40gmail.com/full"/>
<atom:link rel='http://schemas.google.com/g/2005#post'
type='application/atom+xml' href='http://www.google.com/m8/feeds/
contacts/test.scf%40gmail.com/full'/>
  <atom:link rel="http://schemas.google.com/g/2005#batch";
type="application/atom+xml" href="http://www.google.com/m8/feeds/
contacts/test.scf%40gmail.com/full/batch"/>
  <atom:entry>
    <atom:id></atom:id>
    <atom:updated></atom:updated>
    <atom:category scheme="http://schemas.google.com/g/2005#kind";
term="http://schemas.google.com/contact/2008#contact"/>
    <atom:title type="text">TEST</atom:title>
    <atom:link rel="http://schemas.google.com/contacts/2008/rel#edit-
photo" type="image/*" href="http://www.google.com/m8/feeds/photos/
media/test.scf%40gmail.com/18117d8c89228896/1B2M2Y8AsgTpgAmY7PhCfg"/>
    <atom:link rel="self" type="application/atom+xml" href="http://
www.google.com/m8/feeds/contacts/test.scf%40gmail.com/full/18117d8c89228896"/>
    <atom:link rel="edit" type="application/atom+xml" href="http://
www.google.com/m8/feeds/contacts/test.scf%40gmail.com/full/18117d8c89228896/1242376285953000"/>
    <batch:status reason="Created" code="201"/>
    <batch:operation type="insert"/>
  </atom:entry>
</atom:feed>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

You will be seeing 3 <atom:link> tags for #feed,#post,#batch after
<atom:title type="text">Batch Feed</atom:title> tags here.

But Today I am not getting the entire line containing the <atom:link
rel='http://schemas.google.com/g/2005#post> in my response though the
contact is getting inserted into google..It would be a tough task if
the response is getting changed from time to time for the same
request.
 Can anybody check on this issue?

Thanks,
Test
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Contacts API" 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/google-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to