Thanks Julian,
One another question is that while retrieving the contacts using query
parameters I found in the Contacts API reference guide like this:

GET 
http://www.google.com/m8/feeds/contacts/liz%40gmail.com/full?updated-min=2007-03-16T00:00:00


So in the URL we will pass the updated-min parameter to get the last updated
contacts as per the date time.Similarly what is the procedure for getting
the
last updated events using batch operation especially using <batch:operation
type='query' />   through POST method?
What will be the URL given? How will be the Request and related Response ?

Regards,
Test.

On Mon, May 18, 2009 at 9:21 PM, Julian (Google) <[email protected]> wrote:

>
> Hi,
>
> Usually there are not big changes on the feeds, but changes like this
> one could eventually happen. We'll try to post about changes in
> advance.
>
> Thanks,
> Julian.
>
> On May 15, 4:18 pm, Test SCF <[email protected]> wrote:
> > Hi
> >    Yes sure. Here I have shown the Response getting below that is missing
> > the links.
> >     I have highlighted the missing link
> >
> >
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> > <?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:gContact='http://schemas.google.com/contact/2008'xmlns:batch='http://schemas.google.com/gdata/batch'xmlns:gd='http://schemas.google.com/g/2005
> '>
> > <atom:id>
> http://www.google.com/m8/feeds/contacts/test.gcontacts%40gmail.com/full
> > </atom:id>
> > <atom:updated>2009-05-15T08:09:11.074Z</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.gcontacts%40gmail.com/fu...>
> >
> > <!-- here <atom:link rel=http://schemas.google.com/g/2005#post> is
> missing.
> > -->
> >
> > <atom:link rel='http://schemas.google.com/g/2005#batch'
> > type='application/atom+xml' href='
> http://www.google.com/m8/feeds/contacts/test.gcontacts%40gmail.com/fu...
> >
> > <atom:entry>
> > <atom:id>
> http://www.google.com/m8/feeds/contacts/test.gcontacts%40gmail.com/ba...
> > </atom:id>
> > <atom:updated>2009-05-15T08:09:11.062Z</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.gcontacts%40gmail.co...
> >
> > <atom:link rel='self' type='application/atom+xml' href='
> http://www.google.com/m8/feeds/contacts/test.gcontacts%40gmail.com/fu...
> >
> > <atom:link rel='edit' type='application/atom+xml' href='
> http://www.google.com/m8/feeds/contacts/test.gcontacts%40gmail.com/fu...
> >
> > <batch:status code='201' reason='Created'/>
> > <batch:operation type='insert'/>
> > </atom:entry>
> > </atom:feed>
> >
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> >
> > On Fri, May 15, 2009 at 8:35 PM, Julian (Google) <[email protected]>
> wrote:
> >
> > > Hi,
> >
> > > I am not able to reproduce exactly the error you describe, please if
> > > possible post also the other Response that is missing the links
> > > relations.
> >
> > > Thanks,
> > > Julian.
> >
> > > On May 15, 9:51 am, Test <[email protected]> wrote:
> > > > 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/181.....
> > > ."/>
> > > >     <atom:link rel="edit" type="application/atom+xml" href="
> > >
> http://www.google.com/m8/feeds/contacts/test.scf%40gmail.com/full/181.....
> > > ."/>
> > > >     <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