question

ryukote5 avatar image
0 Likes"
ryukote5 asked ·

Finding API query call

Is there a way to find items just by querying in url? Also how can I parse my API credentials and other needed headers in C#? It's not that I don't know how to use headers in C# but I can't find anything in documentations that I can use for example. All I need is searching for items by keywords. I have been going trough documentation and can't find anything. So to sum all I need: 1) example of url for parsing keywords as query with url 2) all headers I need And last thing. Can I get result in JSON instead of XML? Thank you.
apifinding-apic#
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

helios825 avatar image
1 Like"
helios825 answered ·
Yes, with the Finding API (such as findItemsAdvanced call), you can build your API request in a REST/GET URL, no headers needed. And yes, you can get XML or JSON returned as the response. Sorry, I'm not familiar with C# nomenclature. Here're the docs for fIA: http://developer.ebay.com/DevZone/finding/CallRef/findItemsAdvanced.html If you scroll down into it a bunch, you'll see "URL format" for building requests in that way. If you want to stick with POSTing your request in XML, you can do so, and you'll need to send headers. In addition to the docs page above, here's info on making a basic Finding API call. You'll see header details in there. http://developer.ebay.com/DevZone/finding/Concepts/MakingACall.html
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ryukote5 avatar image
0 Likes"
ryukote5 answered ·
Ok, if I am going just by url query: > http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=MyAppIDGoesHere&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&keywords=harry%20potter%20phoenix&paginationInput.entriesPerPage=2 I am getting next error: > 11002 Security Error System Authentication failed : Missing required credential for authn method. Authn Policy Methods: appname, Credentials in the AuthN request: ipaddress/..., Authentication Missing required credential for authn method. Authn Policy Methods: appname, Credentials in the AuthN request: ipaddress/..., and I am using AppID that I can see when I login to developers portal of eBay. What am I doing wrong?
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.