5 messages in com.googlegroups.google-base-data-apiRe: Multi Account Usage Through Java API| From | Sent On | Attachments |
|---|---|---|
| Pete Lavetsky | 20 Nov 2007 04:59 | |
| Pete Lavetsky | 20 Nov 2007 04:59 | |
| Ian | 20 Nov 2007 07:34 | |
| Pete Lavetsky | 21 Nov 2007 06:18 | |
| Ian | 21 Nov 2007 22:54 |
| Subject: | Re: Multi Account Usage Through Java API![]() |
|---|---|
| From: | Ian (mu.l...@gmail.com) |
| Date: | 11/21/2007 10:54:16 PM |
| List: | com.googlegroups.google-base-data-api |
Hi Pete, sorry I'm not familiar with the Java API. I would assume though,
somewhere it sets the line something like POST => ' http://www.google.com/base/feeds/items/batch' which would be changed to POST => 'http://www.google.com/base/feeds/items/<User_ID>batch'
Whether the Java API has this feature easily built in to be amended I don't know, but I assume you will be able to manipulate that somewhere, even if its with a small amount of coding to takea user_id parameter and insert in there.
Hopefully someone else who knows the Java one will be able to help more.
Ian
On 11/21/07, Pete Lavetsky <pete...@gmail.com> wrote:
Ian,
I'm not sure. I don't currently set the URL for any of my items. This is how I insert each entry using the Java API:
GoogleBaseEntry asInserted = service.insert( FeedURLFactory.getDefault().getItemsFeedURL(), entry );
Should I bet taking that FeedUrlFatory.getDefault().getItemFeedURL() and manipulating it, then updating the entry?
Still a bit confused.
Thanks Pete
On Nov 20, 10:34 am, Ian <mu.l...@gmail.com> wrote:
Hi, wouldnt you just use the different URL, as in ..
http://code.google.com/apis/base/starting-out.html#aggregate
and changing the customer id for each
sub-accounthttp://www.google.com/base/feeds/*customer_ID*/items(sorry if I've
misunderstood as not used that feature before).
Ian
On 11/20/07, Pete Lavetsky <pete...@gmail.com> wrote:
Hi All,
Does anyone have any experience using the Java Google Base API to work with items with a multi-account account? Google Base support keeps sending me to the same irrelevant snippet of code and state:
"If you have additional questions about using the API, you will need to consult the resources outlined below, as we the Google Base team doesn't provide additional support for the API:"
I'm just trying to figure out the proper way to specify a specific sub- account ID when inserting an item ... I'd assume it's a specific GoogleBaseAttribute?
Any help would be appreciated.
Thanks Pete




