question

tra5086.uduw1pr avatar image
0 Likes"
tra5086.uduw1pr asked

StartTime is different between FindingAPI and ShoppingAPI/getSingleItem

Hello everyone, I need your help. I call the API FindingAPI / findItemsByCategory and ShoppingAPI / getSingleItem I see that the StartTime responses in two APIs are different. So which one is correct ? Whey are they different ? Thanks
findingapishoppingapi
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
0 Likes"
helios825 answered
I'm having trouble replicating the problem. I ran a fIBC call, took a couple random itemIDs in the response and looked them up in GSI, and the start time nodes were identical. (They are listed in opposite orders between the calls, so be sure you are comparing the proper nodes.) Can you provide an itemID for which you are seeing the problem? Even better, please provide sample code (with your AppID masked). Here's what I used: http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByCategory&SERVICE-NAME=FindingService&SERVICE-VERSION=1.12.0&SECURITY-APPNAME=_____&RESPONSE-DATA-FORMAT=XML&GLOBAL-ID=EBAY-US&REST-PAYLOAD&categoryId=212 http://open.api.ebay.com/shopping?appid=_____&version=873&callname=GetSingleItem&responseencoding=XML&IncludeSelector=Details&ItemID=331417382588
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.

tra5086.uduw1pr avatar image
0 Likes"
tra5086.uduw1pr answered
Hi, This is what I used http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsAdvanced&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=AppName&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&paginationInput.entriesPerPage=3&keywords=Dell+PowerEdge+R710+Server+Dual+Xeon+X5690+%20Six+Core&categoryId=11211&sortOrder=StartTimeNewest I used https://developer.ebay.com/DevZone/build-test/test-tool/default.aspx to get data from calling the API getSingleItem with the item number 171607238436 , I see that the startTime responding by two APIs are different. I checked other item numbers, most of them are the same, but some are different.
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.

clickimusprime avatar image
0 Likes"
clickimusprime answered
This is per the docs Finding API says: Time stamp that eBay recorded as the moment the listing was made available. ... **Note that it is possible for startTime to be different from the value returned by GetSingleItem.** Shopping says: Time stamp (in GMT) that eBay recorded as the moment that the listing was made available. **The start time returned by a search call may vary from the value returned by GetSingleItem.** There is no explanation why. but this may also be related to the future listings that are not buyable that sometimes appear in the Finding API. I suspect it has something to do with scheduled listings. If you need the real start time after the fact, you could back out the end time by full days to get a match on the standard listing durations of 1,3,5,7,10,30 days.
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.