cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Search response model documentation?

Hi all,

 

I'm wanting to create a response model to deserialize the json object, but I'm having trouble finding a full response object in eBay's documentation.  I can obviously make one from executing a search and using what it returns, but I'm not entirely sure if that's a complete response object or not (in particular each entry under 'itemSummaries').

 

1) Is this fully-documented anywhere?

2) If not, Is the response complete or are there additional fields that need to be discovered?

Message 1 of 3
latest reply
1 BEST ANSWER

Accepted Solutions

Search response model documentation?

First of all, I've not used that particular call. If you are looking at the response payload on this page, it looks like it covers everything.

https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search

 

My experience with similar calls is that the response example is complete and will also show where iterative data could appear. Also, some data may be missing entirely from a response if the data was not found, so a model must also anticipate missing fields.

 

Response payloads can get a little tricky when filters that dramatically modify the nature of the response are added to a call.  But in those calls, the examples usually show snips of the filter details.

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.

View Best Answer in original post

Message 2 of 3
latest reply
2 REPLIES 2

Search response model documentation?

First of all, I've not used that particular call. If you are looking at the response payload on this page, it looks like it covers everything.

https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search

 

My experience with similar calls is that the response example is complete and will also show where iterative data could appear. Also, some data may be missing entirely from a response if the data was not found, so a model must also anticipate missing fields.

 

Response payloads can get a little tricky when filters that dramatically modify the nature of the response are added to a call.  But in those calls, the examples usually show snips of the filter details.

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 2 of 3
latest reply

Search response model documentation?

Geez, I have that page open in my tabs too.  Not sure how I missed the response section, thanks!

Message 3 of 3
latest reply