For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

How to not retrieve the description with GetItemCall

  • Answer ID 251
  • Published 03/08/2005 10:28 AM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=251
Product
The Documentation for GetItemCall states that by default descriptions are not returned. Defaulting the DetailLevel does in fact return the Description. How do I prevent the Description from being returned?

The default DetailLevel for all ApiCalls is DetailLevel.ReturnAll. GetItemCall does not modify this.

Setting the detail level to null will ensure that minimal Item information is returned by the call:

GetItemCall getItemCall = new GetItemCall(apiContext);
getItemCall.setDetailLevel(null);
ItemType item = getItemCall.getItem(itemID);

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter