developer:soap-1.1:methods:searchbatches

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.1:methods:searchbatches [2009/06/24 13:44]
charlie created
developer:soap-1.1:methods:searchbatches [2010/09/30 11:27]
irina
Line 84: Line 84:
 </​code>​ </​code>​
  
 +==== .NET C# ====
 +<code c>
 +Boolean matchAll;
 +            matchAll = true;
 +            string start = "​0";​
 +            string limit = "​10";​
 +            ​
 +            string[] fields = new string[3];
 +            usaepay.SearchParam[] search = new usaepay.SearchParam[2];​
 +            search[0] = new usaepay.SearchParam();​
 +
 +            search[0].Field = "​Closed";​
 +            search[0].Type = "​gt";​
 +            search[0].Value = "​2010-08-05";​
 +
 +            usaepay.BatchSearchResult result = new usaepay.BatchSearchResult();​
 +
 +            try
 +            {
 +                result = client.searchBatches(token,​ search, matchAll, start, limit);
 +
 +                MessageBox.Show(string.Concat(result.BatchesMatched));​
 +
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
  
 ==== XML ==== ==== XML ====
developer/soap-1.1/methods/searchbatches.txt ยท Last modified: 2010/10/21 15:02 by irina

Page Tools