developer:soap-1.3:methods:adjustinventory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developer:soap-1.3:methods:adjustinventory [2010/06/01 17:52]
tem created
developer:soap-1.3:methods:adjustinventory [2010/10/12 15:51]
irina
Line 70: Line 70:
  
 <code vb> <code vb>
 +Dim refNum As String
 +        refNum = "​9001169812"​
 +
 +        Dim inventory(0 To 1) As usaepay.ProductInventory
 +        inventory(0) = New usaepay.ProductInventory()
 +
 +        inventory(0).QtyOnHand = "​+100"​
 +        inventory(0).DateAvailable = "​2010-08-12"​
 +
 +        Dim response() As usaepay.ProductInventory
 +        response = client.adjustInventory(token,​ refNum, inventory)
 +        MsgBox(response.Length)
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string RefNum = "​900116989";​
 +
 +            usaepay.ProductInventory[] inventory = new usaepay.ProductInventory[1];​
 +            inventory[0] = new usaepay.ProductInventory();​
 +
 +            inventory[0].QtyOnHand = "​+100";​
 +            inventory[0].DateAvailable = "​2010-08-12";​
 +
 +            try
 +            {
 +                usaepay.ProductInventory[] response = client.adjustInventory(token,​ RefNum, inventory);
 +                MessageBox.Show(string.Concat(response.Length));​
 +            }
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 </​code>​ </​code>​
  
developer/soap-1.3/methods/adjustinventory.txt ยท Last modified: 2010/10/12 15:51 by irina

Page Tools