0
我使用散装卖发送XML文件,我已经开始处理文件成功,但作业状态时失败:如何检查为什么我不能使用eBay API发送xml文件?
Failed The Bulk Data Exchange job has not completed successfully, due to incorrect data format, request errors, or Bulk Data Exchange API errors.
我检查了我的XML代码不是隐藏字符在ANSI等也许我需要增加更多的requaried文件。或者,也许有人知道一些工具来检查易趣XML格式
<?xml version="1.0" encoding="UTF-8"?>
<BulkDataExchangeRequests xmlns="urn:ebay:apis:eBLBaseComponents">
<Header>
<Version>1019</Version>
<SiteID>UK</SiteID>
</Header>
<AddFixedPriceItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<ErrorLanguage>en_GB</ErrorLanguage>
<WarningLevel>High</WarningLevel>
<Version>1019</Version>
<Item>
<Title>My ebay title</Title>
<Description>Test description</Description>
<PrimaryCategory>
<CategoryID>42899</CategoryID>
</PrimaryCategory>
<StartPrice>96.00</StartPrice>
<CategoryMappingAllowed>true</CategoryMappingAllowed>
<ConditionID>1000</ConditionID>
<Country>GB</Country>
<Currency>GBP</Currency>
<DispatchTimeMax>2</DispatchTimeMax>
<ListingDuration>Days_7</ListingDuration>
<ListingType>FixedPriceItem</ListingType>
<PaymentMethods>PayPal</PaymentMethods>
<PayPalEmailAddress>[email protected]</PayPalEmailAddress>
<PictureDetails>
<GalleryType>Gallery</GalleryType>
<PictureURL>link to pictures</PictureURL>
</PictureDetails>
<PostalCode>abc def</PostalCode>
<ProductListingDetails>
<BrandMPN>
<Brand>New brand</Brand>
<MPN>ASM/KKD</MPN>
</BrandMPN>
</ProductListingDetails>
<Quantity>1</Quantity>
<ReturnPolicy>
<ReturnsAcceptedOption>ReturnsAccepted</ReturnsAcceptedOption>
<ReturnsWithinOption>Days_14</ReturnsWithinOption>
<ShippingCostPaidByOption>Buyer</ShippingCostPaidByOption>
</ReturnPolicy>
<Site>UK</Site>
</Item>
</AddFixedPriceItemRequest>
</BulkDataExchangeRequests>
如何在此XML标头中设置此格式?我无法在eBay api文档中找到这个 – Wraith