Skip to main content
Published: March 30 2011, 5:22:00 PMUpdated: November 28 2020, 9:19:59 PM

How can I retireve item specifics for US Motors Parts and Accessories categories at once

To retrieve item specifics for US Motors Parts & Accessories catgories at once make a call to GetCategorySpecifics as below. Make sure you specify the SiteID as 100.

 <?xml version="1.0" encoding="utf-8"?>
<GetCategorySpecificsRequest xmlns="urn:ebay:apis:eBLBaseComponents">

The response includes FileReferenceID and TaskReferenceID. These IDs identify a particular file that contains recommendations for the specified site. See sample response below -

<?xml version="1.0" encoding="utf-8"?>
<GetCategorySpecificsResponse xmlns="urn:ebay:apis:eBLBaseComponents">

Pass these two IDs as input to the downloadFile call in the File Transfer API. downloadFile returns a standard "Success" response, plus a .zip file.
Extract the GetCategorySpecifics response from the .zip file. The XML file will contain all available recommendations for all categories on the site.
Once every day or two, call GetCategorySpecifics again to see if the FileReferenceID and TaskReferenceID have changed. If they have changed, use the new IDs to download the latest version of the file.

How well did this answer your question?
Answers others found helpful