Hi,
Can i send directly an xml string instead of a dict data?
I tried to pass an xml for an AddFixedPriceItem but a have an error...
The xml:
<AddFixedPriceItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Item xmlns="urn:ebay:apis:eBLBaseComponents">
<Country>IT</Country>
<Currency>EUR</Currency>
<ListingDuration>GTC</ListingDuration>
...
but i got this error:
AddFixedPriceItem: Class: RequestError, Severity: Error, Code: 10009, No <Item.Currency> exists or <Item.Currency> is specified as an empty tag. No <Item.Currency> exists or <Item.Currency> is specified as an empty tag in the request., Class: RequestError, Severity: Error, Code: 10009, No <Item.Country> exists or <Item.Country> is specified as an empty tag. No <Item.Country> exists or <Item.Country> is specified as an empty tag in the request., Class: RequestError, Severity: Error, Code: 10009, No <Item.ListingDuration> exists or <Item.ListingDuration> is specified as an empty tag. No <Item.ListingDuration> exists or <Item.ListingDuration> is specified as an empty tag in the request.
Is it possible to send plain xml?
Or i must convert it to dict?
Thanks!
Massimo
Hi,
Can i send directly an xml string instead of a dict data?
I tried to pass an xml for an AddFixedPriceItem but a have an error...
The xml:
but i got this error:
Is it possible to send plain xml?
Or i must convert it to dict?
Thanks!
Massimo