Hi Daniel,

Your XML looks good to me.  I was able to cut/paste
the XML in the Developer's guide and POST
it successfully.
http://code.google.com/apis/documents/docs/2.0/developers_guide_protocol.html#ACLBatch

Have you tried other types of documents?

Eric

On Mar 30, 1:47 pm, Daniel Marashlian <[email protected]> wrote:
> hi Eric,
>
> do you have any idea what I'm doing wrong here?
>
> thanks,
> Daniel
>
> On Mar 26, 10:16 pm, Daniel Marashlian <[email protected]> wrote:
>
> > here is the XML string I'm passing in:
>
> > "<feed xmlns='http://www.w3.org/2005/Atom'xmlns:gAcl='http://
> > schemas.google.com/acl/2007' xmlns:batch='http://schemas.google.com/
> > gdata/batch'>
> >                 <category scheme='http://schemas.google.com/g/
> > 2005#kind' term='http://schemas.google.com/acl/2007#accessRule'/
>
> >                 <entry>
> >                     <batch:id>1</batch:id>
> >                     <batch:operation type='insert'/
>
> >                     <gAcl:role value='writer'/>
> >                     <gAcl:scope type='user'
> > value='[email protected]'/>
> >                 </entry>
> >                 <entry>
> >                     <batch:id>2</batch:id>
> >                     <batch:operation type='insert'/
>
> >                     <gAcl:role value='writer'/>
> >                     <gAcl:scope type='user'
> > value='[email protected]'/>
> >                 </entry>
> >                 </feed>"
>
> > this is what I'm POSTING to (where df2qg349_2042dw8s8cg is the ID of
> > my test 
> > document):http://docs.google.com/feeds/acl/private/full/document%3Adf2qg349_204...
> > HTTP/1.1
>
> > though the code is giving me a, "The remote server returned an error:
> > (400) Bad Request." error.
>
> > Any ideas?
>
> > thanks!
> > Daniel
>
> > On Mar 25, 3:10 pm, Daniel Marashlian <[email protected]> wrote:
>
> > > thanks Eric!!!!
>
> > > I'm gonna start the testing right now :)
>
> > > On Mar 25, 2:46 pm, "Eric (Google)" <[email protected]> wrote:
>
> > > > Batching ACL 
> > > > requests:http://code.google.com/apis/documents/docs/2.0/developers_guide_proto...
>
> > > > On Mar 25, 9:59 am, Daniel Marashlian <[email protected]> wrote:
>
> > > > > Hi Eric and GDocs users,
>
> > > > > I'm going to start a new discussion here since my last post wasn't
> > > > > really relevant to it's topic.
>
> > > > > Would someone mind constructing an example for Batch Processing to
> > > > > modify the ACL of a document?
>
> > > > > I can't figure it out following this 
> > > > > doucment:http://code.google.com/apis/gdata/batch.html
>
> > > > > thanks!
> > > > > Daniel
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" 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-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to