developer:soap-1.3:methods:searchproductscustom

Differences

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

Link to this comparison view

Last revision Both sides next revision
developer:soap-1.3:methods:searchproductscustom [2010/06/01 16:36]
tem created
developer:soap-1.3:methods:searchproductscustom [2010/09/01 16:43]
irina
Line 162: Line 162:
 </​code>​ </​code>​
  
 +==== .NET C# ====
 +<code c>
 +usaepay.SearchParam[] search = new usaepay.SearchParam[1];​
 +            search[0] = new usaepay.SearchParam();​
  
 +            search[0].Field = "​Created";​
 +            search[0].Type = "​Contains";​
 +            search[0].Value = "​2010-09-01";​
 +
 +            Boolean matchAll = true;
 +            string start = "​0";​
 +            string limit = "​10";​
 +
 +            string[] FieldList = new string[3];
 +            FieldList[0] = "​ProductRefNum";​
 +            FieldList[1] = "​Name";​
 +            FieldList[2] = "​Price";​
 +
 +            string format = "​csv";​
 +            string sort = "​created";​
 +
 +            string result;
 +
 +            try
 +            {
 +                result = client.searchProductsCustom(token,​ search, matchAll, start, limit, FieldList, format, sort);
 +                Byte[] binaryData = new Byte[3];
 +                binaryData = Convert.FromBase64String(result);​
 +
 +                MessageBox.Show(Encoding.UTF8.GetString(binaryData));​
 +
 +            }
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
  
 ==== Coldfusion ==== ==== Coldfusion ====
developer/soap-1.3/methods/searchproductscustom.txt ยท Last modified: 2010/10/12 16:51 by irina

Page Tools