-
Notifications
You must be signed in to change notification settings - Fork 2
GetActiveStockItemList
PatrickLane edited this page Oct 30, 2014
·
1 revision
The GetActiveStockItemList
function retrieves a list of all active StockItem
from an entity.
public WSResult2OfArrayOfStockItem GetActiveStockItemList(string token)
Public Function GetActiveStockItemList(ByVal token As String) As WSResult2OfArrayOfStockItem
Parameter | Type | Description |
---|---|---|
token | String | The session token retrieved during authentication. |
Integration ws = new Integration();
String auth = ws.Login(entityID, partnerKey, userKey);
if (auth != null)
{
WSResult2OfArrayOfStockItem r = ws.GetActiveStockItemList(auth);
Assert.IsTrue(r.Result != null);
// Do something with each item
}
Dim ws As New Integration
Dim auth As String = ws.Login(entityID, partnerKey, userKey)
If (Not auth Is Nothing) Then
Dim r As WSResult2OfArrayOfStockItem = ws.GetActiveStockItemList(auth)
Assert.IsTrue((Not r.Result Is Nothing))
' Do something with each item
End If