skip to Main Content

eBay Finding API – Why are findItemsAdvanced JSON result elements all arrays? – Ebay API

When calling findItemsAdvanced with RESPONSE-DATA-FORMAT=XML, the results are as expected, e.g: <findItemsAdvancedResponse xmlns="http://www.ebay.com/marketplace/search/v1/services"> <ack>Success</ack> <version>1.13.0</version> <timestamp>2014-11-16T20:59:57.588Z</timestamp> <searchResult count="0"/> <paginationOutput> <pageNumber>0</pageNumber> <entriesPerPage>100</entriesPerPage> <totalPages>0</totalPages> <totalEntries>0</totalEntries> </paginationOutput> <itemSearchURL>http://www.ebay.co.uk/sch/i.html?_nkw=mytest1</itemSearchURL> </findItemsAdvancedResponse> But calling the same with RESPONSE-DATA-FORMAT=JSON, individual elements are all wrapped in []: {"findItemsAdvancedResponse":[…

VIEW QUESTION

eBay API: how to use outputSelector in HTTP get request

I'm using URLs like this in my application http://svcs.ebay.com/services/search/FindingService/v1 ?OPERATION-NAME=findItemsAdvanced &SERVICE-VERSION=1.0.0 &SECURITY-APPNAME=MYAPPID &RESPONSE-DATA-FORMAT=XML &REST-PAYLOAD&GLOBAL-ID=EBAY-IT &categoryId=CATEGORYID &descriptionSearch=true &keywords=KEYWORDS I get the XML response, but I need more fields using outputSelector. But I don't understand how to use it in my request.…

VIEW QUESTION
Back To Top
Search