Hi, I am trying to update an item using google case API:
The XML i am posting is as follows: <?xml version='1.0' encoding='UTF-8'?> <feed xmlns='http://www.w3.org/2005/Atom' xmlns:g='http://base.google.com/ns/1.0' xmlns:batch='http://schemas.google.com/gdata/batch'> <entry> <batch:operation type='update'/> <id>http://www.google.com/base/feeds/items/1721143395274712</id> <link rel='alternate' type='text/html' href='http://www.example.com/ products/p_WG-9943?item=Giant_Widget_with_variant_explosion'/> <updated>2008-07-02T16:20:21.601Z</updated> <category scheme="http://base.google.com/categories/itemtypes" term="Products"/> <title type="text">Giant Widget with variant explosion</title> <description>The Veracruz Oval Table and accompanying Patio chairs are cast from aluminum, welded and constructed with longevity in mind. During the finishing process, each piece is sanded, brushed, and painted by hand.</description> <content type="xhtml">This giant widget is mobile. It will seat one person safely. The wheels will never rust or break. Quite a unique item.</content> <g:item_language type="text">en</g:item_language> <g:item_type>Products</g:item_type> <g:price>440.00000000000</g:price> <g:currency>USD</g:currency> <g:target_country>US</g:target_country> <g:condition>New</g:condition> <g:payment_notes>Google Checkout</g:payment_notes> <g:product_type>books</g:product_type> <g:image_link>http://www.example.com/images/products/large/ WG-9943.jpg</g:image_link> </entry> </feed> I am getting the error: <batch:status code='400' reason='Invalid item' content- type='application/xml'><errors> <error type="data" field="id" reason="The item is missing a required attribute." /> </errors></batch:status> I am not sure what is missing, please help. Rohit --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Base Data 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-Base-data-API?hl=en -~----------~----~----~----~------~----~------~--~---
