Home
Find the answer to your question
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);